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
  •  


Samsung 2.5

Samsung 2.5" 850 EVO 250GB SATA III 6Gbps SSD MZ-75E250

$24.99



ON SALE TURBOLINK EVO  4TB V-HAND SSD 2.5 SATA III Internal Solid State Drive picture

ON SALE TURBOLINK EVO 4TB V-HAND SSD 2.5 SATA III Internal Solid State Drive

$199.99



Toshiba THNSN81Q92CSE 1920GB SATA 2.5 Solid State Drive picture

Toshiba THNSN81Q92CSE 1920GB SATA 2.5 Solid State Drive

$199.00



Western Digital Blue 3D NAND 250GB 2.5

Western Digital Blue 3D NAND 250GB 2.5" SATA III Internal SSD - WDS250G2B0A

$29.99



Samsung 256 GB Internal SATA SSD Fully Tested 80-99% Health picture

Samsung 256 GB Internal SATA SSD Fully Tested 80-99% Health

$28.00



SAMSUNG SSD 512GB 500GB 480GB 256GB 250GB 240GB SSD 2.5 Solide State Drive 6Gbps picture

SAMSUNG SSD 512GB 500GB 480GB 256GB 250GB 240GB SSD 2.5 Solide State Drive 6Gbps

$40.99



256GB mSATA SSD DRIVE  MIXED BRAND TESTED WORKING picture

256GB mSATA SSD DRIVE MIXED BRAND TESTED WORKING

$23.50



Crucial MX500 CT250MX500SSD1 250 GB SATA III 2.5 in Solid State Drive picture

Crucial MX500 CT250MX500SSD1 250 GB SATA III 2.5 in Solid State Drive

$24.99



Fikwot 512GB SATA SSD 2.5'' SSD SATA III 6Gb/s Internal Solid State Drive 560MBs picture

Fikwot 512GB SATA SSD 2.5'' SSD SATA III 6Gb/s Internal Solid State Drive 560MBs

$66.00



Netac 120GB 256GB 1TB 2TB Internal SSD 2.5'' SATAIII 6Gb/s Solid State Drive lot picture

Netac 120GB 256GB 1TB 2TB Internal SSD 2.5'' SATAIII 6Gb/s Solid State Drive lot

$119.99