LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 03-28-2011, 10:12 AM   #1
Changes
Member
 
Registered: Oct 2008
Posts: 190

Rep: Reputation: 16
Updates = continuous size bloat?


I have an EeePC 701 4G running Ubuntu Netbook (10.04). I installed the system on its 4GB SSD for speed reasons - fast SD cards are expensive. I keep all user data on a fairly slow SD card.
Problem is, after a few updates, I have less and less free space on the SSD.
Since updating replaces old packages with newer ones, shouldn't the size remain more or less the same? I'm almost out of space and will probably have to stop updating the system soon... and yes, I do perform apt-get clean after every update. It helps, but the size is still steadily creeping upwards.

Last edited by Changes; 03-28-2011 at 10:14 AM.
 
Old 03-28-2011, 11:32 AM   #2
snowday
Senior Member
 
Registered: Feb 2009
Posts: 4,667

Rep: Reputation: 1411Reputation: 1411Reputation: 1411Reputation: 1411Reputation: 1411Reputation: 1411Reputation: 1411Reputation: 1411Reputation: 1411Reputation: 1411
Try:

Code:
sudo apt-get clean
sudo apt-get autoremove
Unfortunately, I don't know of an operating system that doesn't creep upward in size over time. I have observed the same behavior with Windows and Mac systems, too. 4gb is really too small for Ubuntu in my opinion and you might be better served with a lighter-weight distro.
 
Old 03-28-2011, 11:43 AM   #3
business_kid
LQ Guru
 
Registered: Jan 2006
Location: Ireland
Distribution: Slackware, Slarm64 & Android
Posts: 16,252

Rep: Reputation: 2321Reputation: 2321Reputation: 2321Reputation: 2321Reputation: 2321Reputation: 2321Reputation: 2321Reputation: 2321Reputation: 2321Reputation: 2321Reputation: 2321
It might be a good idea to try uninstalling original packages. You can also do the following

in /tmp: rm -rf *.tmp *.part ssh* (not if you are in an ssh session) and any old copies of other directories multiplying away in /tmp.
dhcpcd makes files with weird names and they can go - careful with the one with today's date!
Do not do rm -rf /tmp/* You have been warned.
/usr/share/doc & /usr/doc can be cleaned out of READMEs, INSTALLs, and 500 copies of the GPL, and everyone's docs in latex, html ps & pdf or foreign languages
Directories in $MANPATH can be cleared of languages you don't read
With the exception of your X driver, You can uninstall xf86-video-*
/var/log/whatever you don't need. If you don't need logs, you can go
> /var/log/messages (etc) which doesn't delete them, but zeroes them - they become 0 bytes.

You'll have a bit of space then. Don't make mistakes at this stuff. There's no way back.
 
Old 04-04-2011, 05:50 AM   #4
Changes
Member
 
Registered: Oct 2008
Posts: 190

Original Poster
Rep: Reputation: 16
Quote:
Originally Posted by snowpine View Post
4gb is really too small for Ubuntu in my opinion and you might be better served with a lighter-weight distro.
Problem is, I've found Ubuntu Netbook to be the perfect match for the 701, as the Fisher-Price "My First Interface" look works great on the tiny 7" screen. It used to have Debian installed before that, and its standard desktop was painful on such a small screen. I also gave a go to Puppeee (software selection too limited) and Lucid Puppy, but while they're decent distros, and plenty fast as they run entirely from RAM, I can't stand the way in which they handle the desktop. Package maintenance also becomes really messy if you deviate from what's natively available in Lucid Puppy and use Ubuntu packages.

Were the computer still somewhat current I'd expand it with a larger SSD or fast SD card or... something. However, as it stands any upgrade would cost a significant fraction of the value of the whole computer, so it strikes me as economically unsound. If worse comes to worst I'll just resign to an unupgraded system.

Quote:
Originally Posted by business_kid View Post
It might be a good idea to try uninstalling original packages. You can also do the following
(cut)
You'll have a bit of space then. Don't make mistakes at this stuff. There's no way back.
Thanks. I'll do a full dd backup of the partition before I do that so I can rescue it if I screw up.
 
Old 04-05-2011, 03:33 AM   #5
business_kid
LQ Guru
 
Registered: Jan 2006
Location: Ireland
Distribution: Slackware, Slarm64 & Android
Posts: 16,252

Rep: Reputation: 2321Reputation: 2321Reputation: 2321Reputation: 2321Reputation: 2321Reputation: 2321Reputation: 2321Reputation: 2321Reputation: 2321Reputation: 2321Reputation: 2321
As you seem to have a real machine in the background,

I have done linuxfromscratchhttp://www.linuxfromscratch.org The base system is ~1 gig with X installed. I would recommend the CLFS variant, and compile on the bigger box for the smaller one. Then add what you want.

I also imagine if you simply uninstalled what you don't use, you could survive nicely. About 15 years back I had a stripped 32 bit system with X & kde in 250 megs on a laptop. No bloat; If I didn't know what it was, it was deleted. I didn't run out of disk.

Given your disk size, all compilers, debuggers, locale settings for klingon and the 4 corners of this world, everything in /usr/include (= header files - No compilers, remember), Howtos, vi or emacs, countless competing window managers, and every piece of software you don't use are lying there taking up space and not earning their keep. Handiest place to start in with your package manager. Libs come with one or two files in /usr/lib and a package telling programmers how to use them. Keep the lib, dump the docs.

This box has everything but the jacks installed and stuff I clearly will never use, and it's at 4.8 Gigs on /. I could probably halve that, and get it under 2 gigs by the sort of economy I have recommended to you. Go to it.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
LVM doesent updates pvsize if pv is iscsi disk and size is increased on target side devkpict Linux - Software 3 07-06-2009 11:01 AM
Number/Size Updates For Mandriva One 2008 RHTopics Mandriva 3 01-24-2008 02:47 PM
Feisty - bloat city syg00 Ubuntu 15 09-20-2007 05:10 PM
Bloat in Linux? f0rk Linux - Distributions 5 12-10-2004 02:21 PM
Bloat free Debian isaidfreak Debian 17 09-15-2004 01:20 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 11:48 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration