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
  •  


Seagate Exos X20 16TB 7.2K 256MB 3.5

Seagate Exos X20 16TB 7.2K 256MB 3.5" SATA 6Gb/s Enterprise HDD - ST16000NM000D

$139.99



Seagate Exos X16 ST14000NM001G 14TB 512E SATA 6Gb/s 3.5

Seagate Exos X16 ST14000NM001G 14TB 512E SATA 6Gb/s 3.5" Enterprise Hard Drive

$157.99



WD 16TB Elements Desktop, Certified Refurbished Hard Drive - RWDBWLG0160HBK-NESN picture

WD 16TB Elements Desktop, Certified Refurbished Hard Drive - RWDBWLG0160HBK-NESN

$174.99



WD 2TB Certified Refurbished Elements, External Hard Drive - RWDBU6Y0020BBK-WESN picture

WD 2TB Certified Refurbished Elements, External Hard Drive - RWDBU6Y0020BBK-WESN

$49.99



HGST Ultrastar DC HC520 12TB SATA 6Gb 256MB 3.5

HGST Ultrastar DC HC520 12TB SATA 6Gb 256MB 3.5" Enterprise HDD- HUH721212ALE601

$89.99



Seagate Exos 7E10 ST2000NM000B 2TB 7200RPM SATA 6.0Gb/s 3.5

Seagate Exos 7E10 ST2000NM000B 2TB 7200RPM SATA 6.0Gb/s 3.5" Internal Hard Drive

$29.99



HGST Ultrastar HE10 HUH721010ALE600 10TB SATA 6Gb/s 7200RPM 3.5

HGST Ultrastar HE10 HUH721010ALE600 10TB SATA 6Gb/s 7200RPM 3.5" Enterprise HDD

$74.99



2 PACK  Seagate ST1000LM035 Mobile HDD 1TB 2.5

2 PACK Seagate ST1000LM035 Mobile HDD 1TB 2.5" SATA III Laptop Hard Drive

$27.49



Seagate Barracuda ST3000DM001 3TB 7200 RPM 64MB 6.0Gbs SATA 3.5

Seagate Barracuda ST3000DM001 3TB 7200 RPM 64MB 6.0Gbs SATA 3.5" Internal HDD

$25.89



WD 4TB Certified Refurbished Elements, External Hard Drive - RWDBU6Y0040BBK-WESN picture

WD 4TB Certified Refurbished Elements, External Hard Drive - RWDBU6Y0040BBK-WESN

$69.99