Tom's Hardware > Forum > Linux/Free BSD > Linux/Free BSD General Discussion > insufficient Root Space for Updates Installations!!

insufficient Root Space for Updates Installations!!

Forum Linux/Free BSD : Linux/Free BSD General Discussion - insufficient Root Space for Updates Installations!!

Tom's Hardware: Over 1.4 million members in 6 different countries available to answer all your high-tech questions. Sign up now! Its free!
Word :    Username :           
 


Hi Folks,

I have a question for which I did not find the relative posts....so posting here......


what if that Root runs of space while installing updates? does it crash or extends into the /Home for further installations?

can I change the default area where the Updates should get installed i.e like /Home

I am just left with 266MB of root space which I guess is not sufficient for the Updates to get installed......
and have enough space in /Home.

how can I overcome this problem?

Thanks folks!!!

Sponsored Links
Register or log in to remove.
- 0 +

It kinda depends which distribution you are using, but in general Linux is pretty well behaved, I'd be surprised if it crashed.

Have you looked for old packages? Some distro's have a habit of collecting old package files which are no longer required.

Reply to MrLinux
- 0 +



I have Fedora Core 7 on my Machine......

how would I identify the old packages and get rid of them which are no longer required?

Quote :

Have you looked for old packages? Some distro's have a habit of collecting old package files which are no longer required.



but ironically when it says updates, it shall try to install the recent new packages!! :)


Thanks!!

Reply to compbug
- 0 +

Haven't used Fedora much, I'm more of a Debian/Ubuntu/BSD (and for a short time Paldo (I'm better now!)) person.

Some package managers will store the down-loaded package file (*.rpm, *.deb etc) just in case you need to re-install at a later date, unfortunately over time you can easily collect gigabytes of the *kin things.

Reply to MrLinux
- 0 +

yum clean all

------------------------------ $GNU_Linux=$Linus_Torvalds=AWESOME();

Need Linux help? PM me
Reply to linux_0
- 0 +

@Linux_0


that sounds good....

I checked out on the Command.......

I guess with this command alone, I can keep cleaning up the packages which are no longer needed and get the latest packages Installed, without even running out of Root space!

I try this out and get back to you in case of any problems!!! :)

well, is there a way to know the Area where all the Softwares get installed? is the Area common to all the Packages or changes from packages to packages?

can I choose the Area where I would like to Install the packages?

Thanks!!


Message edited by compbug on 09-16-2008 at 04:38:10 PM
Reply to compbug
- 0 +

"yum clean all" removes any old RPMs left in /var/cache/yum/ from software updates

/var/cache/yum/ may contain 200MB to 2GB of RPMs on some systems

If you've never downloaded your updates using yum then "yum clean all" will not help you


You can remove some software you don't need by going to Applications => Add/Remove Software or using "yum remove pkg"

Your system logs in /var/log can be deleted if you don't need them

The du and df commands can be used to find out which directories and mount points are using all the space.

Quote :


can I choose the Area where I would like to Install the packages?




Sometimes "rpm [options] [--relocate OLDPATH=NEWPATH]" will install an RPM and relocate it from the default path ( OLDPATH ) to another path ( NEWPATH )

You cannot relocate already installed packages and some packages cannot be relocated at all!

This is a complicated manual process and is not a good idea for most users

GL :)


Message edited by linux_0 on 09-17-2008 at 12:38:24 AM
------------------------------ $GNU_Linux=$Linus_Torvalds=AWESOME();

Need Linux help? PM me
Reply to linux_0

If you want to change where yum - the updates - are stored then edit /etc/yum.conf and change the cachedir= line to point to where you want it stored. If you don't need to save the RPMs after they are installed you can also change the line keepcache= to 0 < that is a zero so that they are automatically deleted after being installed. With Fedora 11 you can also add the line skip_broken=1 so that it doesn't get hung up on updates with missing dependencies.

Reply to profTheory

compbug wrote :

what if that Root runs of space while installing updates? does it crash or extends into the /Home for further installations?



As someone who once mistakenly did this with a recursive tar command it does tend to bring things to a halt. Live CD and DU and all was good again.

Reply to audiovoodoo
Tom's Hardware > Forum > Linux/Free BSD > Linux/Free BSD General Discussion > insufficient Root Space for Updates Installations!!
Go to:

There are 522 identified and unidentified users. To see the list of identified users, Click here.

Sponsored links
  • Ask the community now
  • Publish
Ad
They won a badge
Join us in greeting them