Results 1 to 9 of 9

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

  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 PowerEdge FX2s + 8x FC430 Blades 16x E5-2630v4 160 Cores Rails No PSU/RAM picture

Dell PowerEdge FX2s + 8x FC430 Blades 16x E5-2630v4 160 Cores Rails No PSU/RAM

$699.00



AS IS READ DESCRIP. Supermicro SuperServer 6026TT-HIBQRF 12-Bay 4x X8DTT-HIBQF picture

AS IS READ DESCRIP. Supermicro SuperServer 6026TT-HIBQRF 12-Bay 4x X8DTT-HIBQF

$215.00



NETAPP HCI NAF-1701 SuperMicro Server 4X BLADE H410C 8X GOLD 5120 - 4X S25G NICs picture

NETAPP HCI NAF-1701 SuperMicro Server 4X BLADE H410C 8X GOLD 5120 - 4X S25G NICs

$1999.97



Dell PowerEdge M630 Blade Server 2x Xeon E5-2680 v4, 2F3MP , 4GDP5 ,R10KJ ,JVFVR picture

Dell PowerEdge M630 Blade Server 2x Xeon E5-2680 v4, 2F3MP , 4GDP5 ,R10KJ ,JVFVR

$96.60



Dell R740XD VxRail P570 24x 2.5” 2U CTO Server– 2x Gold 6240, H740p, 2x 1600W picture

Dell R740XD VxRail P570 24x 2.5” 2U CTO Server– 2x Gold 6240, H740p, 2x 1600W

$699.00



Dell PowerEdge FX2 FX2s Server 10GbE CMC Blade Enclosure Chassis picture

Dell PowerEdge FX2 FX2s Server 10GbE CMC Blade Enclosure Chassis

$274.99



Dell PowerEdge VRTX Rackmount Chassis w/4x PSUs 2x CMC Modules picture

Dell PowerEdge VRTX Rackmount Chassis w/4x PSUs 2x CMC Modules

$399.98



Dell PowerEdge M620 Blade Server 2x Xeon E5-2680v2 2.8ghz 20-Cores | 128GB picture

Dell PowerEdge M620 Blade Server 2x Xeon E5-2680v2 2.8ghz 20-Cores | 128GB

$149.99



Dell PowerEdge FC430 Blade Server 2x Xeon E5-2630v4 20 Cores FX2 FX2s No RAM/HDD picture

Dell PowerEdge FC430 Blade Server 2x Xeon E5-2630v4 20 Cores FX2 FX2s No RAM/HDD

$119.99



Dell Poweredge VRTX 25Bay 2.5

Dell Poweredge VRTX 25Bay 2.5" 2x PERC 8, 2xCMC, I/O 1GB Pass Through, 4x PS

$578.08