Results 1 to 9 of 9

Thread: Does apt-get update clog up hard drive?

Hybrid View

  1. #1
    Member registered user
    Join Date
    Oct 2004
    Location
    Virginia, USA
    Posts
    65

    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?

  2. #2
    Senior Member
    Join Date
    Nov 2003
    Posts
    1,323
    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.

  3. #3
    Member registered user
    Join Date
    Oct 2004
    Location
    Virginia, USA
    Posts
    65
    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?

  4. #4
    Senior Member
    Join Date
    Nov 2003
    Posts
    1,323
    Quote 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.

  5. #5
    Administrator Site Admin-
    Join Date
    Apr 2003
    Location
    USA
    Posts
    5,441
    Quote Originally Posted by Markus
    If you want an easier to upgrade install, try kanotix.
    How does one do a hard drive install in Kanotix?

  6. #6
    Senior Member
    Join Date
    Nov 2003
    Posts
    1,323
    Quote 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

  7. #7
    Senior Member registered user
    Join Date
    Jul 2004
    Location
    Wisconsin, USA
    Posts
    536
    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.

  8. #8
    Senior Member registered user
    Join Date
    May 2003
    Posts
    981
    Quote 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.

  9. #9
    Senior Member
    Join Date
    Nov 2003
    Posts
    1,323
    Quote 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

  1. Copy file from hard drive to usb flash drive
    By PaulKraemer in forum General Support
    Replies: 1
    Last Post: 05-08-2006, 04:49 PM
  2. Copying hard drive to hard drive new to linux
    By husalah5150 in forum General Support
    Replies: 3
    Last Post: 11-22-2005, 05:06 PM
  3. Hard drive / data recovery / force show drive
    By Lintu in forum Hdd Install / Debian / Apt
    Replies: 1
    Last Post: 10-20-2005, 06:13 PM
  4. Nessus-Update-Plugins Troubleshooting (Hard Disk Install)
    By velvet in forum Hdd Install / Debian / Apt
    Replies: 2
    Last Post: 02-16-2005, 05:07 PM
  5. Hard Drive Salvage from corrupted Windows XP NTFS drive
    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
  •  


Dell Pro Max NVIDIA GB10 Blackwell 128GB LPDDR5X 2TB M.2 SSD DGX OS7 picture

Dell Pro Max NVIDIA GB10 Blackwell 128GB LPDDR5X 2TB M.2 SSD DGX OS7

$4350.00



Dell Latitude 14

Dell Latitude 14" Laptop Computer Intel i7 Up To 32GB RAM 1TB SSD Windows 11 Pro

$539.04



Dell Latitude 14

Dell Latitude 14" Laptop Computer Intel i5 Up To 32GB RAM 1TB SSD Windows 11 Pro

$375.05



2026 NEW SGIN 15.6

2026 NEW SGIN 15.6" Laptop Win11 Intel i3 16GB RAM 1TB SSD Wi-Fi 6 RJ45 USB-C

$333.99



Acer Aspire 16 16

Acer Aspire 16 16" Laptop Core Ultra 5 226V S2 16GB RAM 1TB SSD Arc Refurbished

$533.51



Netac 2TB 1TB 500GB Internal SSD M.2 NVMe PCIe3.0 Solid State Drive lot picture

Netac 2TB 1TB 500GB Internal SSD M.2 NVMe PCIe3.0 Solid State Drive lot

$129.99



1TB Kingston DataTraveler Max DTMAX/1TB USB Type-C Flash Drive picture

1TB Kingston DataTraveler Max DTMAX/1TB USB Type-C Flash Drive

$86.95



Netac 1TB M.2 2280 Internal SSD PCIe Gen3.0x4 NVMe Solid State Drive PC Laptop picture

Netac 1TB M.2 2280 Internal SSD PCIe Gen3.0x4 NVMe Solid State Drive PC Laptop

$139.99



Acer Aspire Desktop i5-14400 14th Gen 16GBRAM(8GB*2) 1TB SSD UHD 730 Refurb picture

Acer Aspire Desktop i5-14400 14th Gen 16GBRAM(8GB*2) 1TB SSD UHD 730 Refurb

$463.14



Western Digital 1TB 3.5

Western Digital 1TB 3.5" SATA III 7200RPM Desktop Hard Drive

$29.99