-
Does apt-get update clog up hard drive?
I was getting out of disk space messages, but I had had tons of space before I installed Knoppix just a few weeks ago. It's a 40g drive which while just running Windows was only using about a fourth of available space. I checked with qtparted and it does appear I am way low on unused space. Makes me wonder if doing "apt-get updates" adds a lot of files to my hard drive. Strangely, even my Windows NTFS partition showed it was low on unused space. Has anyone experienced this sort of problem?
-
Apt-get saves all downloaded packages in /var/cache/apt/archives which you can clean up with sudo apt-get clean but it certainly shouldn't eat up disk space to that extent.
du -a|sort -n|tail tells you the largest directories/files from the working directory down.
dpkg-query -W --showformat='${Installed-Size} ${Package}\n' | sort -n tells you the largest packages installed.
apt-get install filelight is a nice GUI for browsing disk usage by directories/packages
BTW, it isn't apt-get update that eats disk space, but rather apt-get upgrade.
-
BTW, it isn't apt-get update that eats disk space, but rather apt-get upgrade.
Thanks for the info - and am I right in understanding apt-get upgrade is something I really do NOT want to do?
-

Originally Posted by
jMon54
BTW, it isn't apt-get update that eats disk space, but rather apt-get upgrade.
Thanks for the info - and am I right in understanding apt-get upgrade is something I really do NOT want to do?
I've done it with knoppix but be prepared to force and fix some packages. So I suppose it's something you shouldn't do if you don't want to bork something up. Everything can be fixed of course, but another question is, is it worth it. If you want an easier to upgrade install, try kanotix.
-
Administrator
Site Admin-

Originally Posted by
Markus
If you want an easier to upgrade install, try kanotix.
How does one do a hard drive install in Kanotix?
-

Originally Posted by
Harry Kuhman
How does one do a hard drive install in Kanotix?
Try the kanotix forum. A couple of stickies in the install section:
http://kanotix.mipooh.net/viewtopic.php?t=31
http://kanotix.mipooh.net/viewtopic.php?t=180
Basically the same as knoppix just the name of the script differs: sudo kanotix-installer
or you can check for an update on it with: kanotix-installer-latest-web
-
Senior Member
registered user
knoppix-installer also works. For me I had to do it from a knosole and not do the ctrl alt f1 part. When I do it from there (ctrl alt f1) it go to the password part then gives errors and will not continue, so I tried a konsole and it went through fine.
-
Senior Member
registered user

Originally Posted by
rrfish72
knoppix-installer also works. For me I had to do it from a knosole and not do the ctrl alt f1 part. When I do it from there (ctrl alt f1) it go to the password part then gives errors and will not continue, so I tried a konsole and it went through fine.
Supposedly this bug has been fixed.
for jMon54: the command 'df' (disk free) will reveal how much disk space is used. Any time you apt-get install a package it keeps the package archive in var/cache/apt/archives until you use apt-get clean to clear them out.
-

Originally Posted by
CrashedAgain
the command 'df' (disk free) will reveal how much disk space is used..
And if you want the output in Megs and Gigs: df -h for humanly readable.
Similar Threads
-
By PaulKraemer in forum General Support
Replies: 1
Last Post: 05-08-2006, 04:49 PM
-
By husalah5150 in forum General Support
Replies: 3
Last Post: 11-22-2005, 05:06 PM
-
By Lintu in forum Hdd Install / Debian / Apt
Replies: 1
Last Post: 10-20-2005, 06:13 PM
-
By velvet in forum Hdd Install / Debian / Apt
Replies: 2
Last Post: 02-16-2005, 05:07 PM
-
By kidsatacrux in forum MS Windows & New to Linux
Replies: 19
Last Post: 08-03-2004, 07:41 AM
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules

(New) AMD Ryzen 7 5700X 8 Core 16 Thread AM4 Unlocked 3.4 GHz CPU OEM Tray
$169.99

Apple MacBook Air 13.6” M2 8GB 256GB SSD 2022 MLY33LL/A 8‑Core CPU 8‑Core GPU
$529.95

Lenovo ThinkCentre M920S Sff Intel Core i5 8600 8GB 256GB SSD Windows 11 Pro
$94.99

8-core 10-core GPU baseboard 8654 to PCIE 5.0x16 GPU expansion baseboard
$377.77

Intel SRG13 Core i7-9700 3.00GHz Socket 1151 8 Core CPU Processor LGA1151
$77.99

AMD Ryzen 7 9800X3D 8-Core AM5 CPU 4.7GHz 96MB L3 8MB L2 100MHz
$389.99

MacBook Air 13 2020 M1 8-Core CPU 7-Core GPU 8GB RAM 256GB Storage Gold
$399.00

Lenovo LOQ 15 15.6" FHD 144Hz 8-Core i5-12450HX 16GB 512GB SSD GeForce RTX 4050
$760.00

RYZEN 7 9800X3D 8-Core, 16-Thread Desktop Processor
$440.00

CHUWI 15.6'' Laptop Computer Intel Core 8GB RAM 512GB SSD WiFi Windows 11
$269.99