LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
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 04-10-2005, 11:37 AM   #1
satimis
Senior Member
 
Registered: Apr 2003
Posts: 3,695

Rep: Reputation: 56
Problem on running update


Hi folks,

FedoraCore2

On running
# yum update
Code:
.......
......
Running test transaction:
Errors reported doing trial run
installing package kernel-sourcecode-2.6.10-1.771_FC2 needs 189MB on the / filesystem
installing package openoffice.org-i18n-1.1.3-9.4.0.fc2 needs 98MB on the / filesystem
installing package dump-0.4b39-1.FC2 needs 56MB on the / filesystem
installing package xorg-x11-100dpi-fonts-6.7.0-14 needs 56MB on the / filesystem
installing package xorg-x11-75dpi-fonts-6.7.0-14 needs 56MB on the / filesystem
installing package mozilla-mail-1.7.6-1.2.5 needs 61MB on the / filesystem
installing package mozilla-1.7.6-1.2.5 needs 82MB on the / filesystem
installing package emacs-leim-21.3-21.FC2 needs 54MB on the / filesystem
installing package libexif-0.5.12-2.2 needs 54MB on the / filesystem
installing package krb5-libs-1.3.6-4 needs 54MB on the / filesystem
I suspect the partition space being insufficient

$ df -h
Filesystem Size Used Avail Use% Mounted on
/dev/hde2 5.6G 5.1G 241M 96% /
/dev/hde1 105M 8.9M 91M 9% /boot
none 189M 0 189M 0% /dev/shm
/dev/hde5 3.2G 520M 2.6G 17% /home

Is there any solution?

TIA

B.R.
satimis
 
Old 04-10-2005, 11:42 AM   #2
abisko00
Senior Member
 
Registered: Mar 2004
Location: Munich
Distribution: Ubuntu
Posts: 3,517

Rep: Reputation: 58
I guess you could free some space (cleaning-up /tmp, old logs in /var/log), or you need to resize your root partition (which may require some more effort).

In KDE I like to use the tool 'kdirstat', which gives you a nice graphical overview about files and their used space.
 
Old 04-10-2005, 11:44 AM   #3
abisko00
Senior Member
 
Registered: Mar 2004
Location: Munich
Distribution: Ubuntu
Posts: 3,517

Rep: Reputation: 58
A possible resize could be to create a new partition (e.g. by shrinking /home) and mount e.g. /usr or /var to it.

Sorry, actually I planned to edit the previous post, must have ticked the wrong button.

Last edited by abisko00; 04-10-2005 at 11:45 AM.
 
Old 04-10-2005, 11:54 AM   #4
satimis
Senior Member
 
Registered: Apr 2003
Posts: 3,695

Original Poster
Rep: Reputation: 56
Hi abisko00,

Tks for your advice.

Quote:
I guess you could free some space (cleaning-up /tmp, old logs in /var/log)....
I could remove /tmp on "konqueror". But how to check which of them being used not to remove it?

Quote:
In KDE I like to use the tool 'kdirstat', which gives you a nice graphical overview about files and their used space.
$ kdirstat
bash: kdirstat: command not found
$ su -
Password:
# kdirstat
-bash: kdirstat: command not found

# which kdirstat
/usr/bin/which: no kdirstat in (/usr/kerberos/sbin:/usr/kerberos/bin:/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/X11R6/bin:/root/bin)

Please advice which package I need to install

TIA

B.R.
satimis
 
Old 04-10-2005, 12:08 PM   #5
abisko00
Senior Member
 
Registered: Mar 2004
Location: Munich
Distribution: Ubuntu
Posts: 3,517

Rep: Reputation: 58
Quote:
I could remove /tmp on "konqueror". But how to check which of them being used not to remove it?
Don't remove /tmp! In a first attempt, I would delete only files that are available to the user account. I guess there is a little handwork required. Maybe you can exclude file with todays date, so only old data will be deleted.

Quote:
Please advice which package I need to install
Sorry, but I know only the SUSE package, which is named kdirstat. Don't know the name on FC2.
 
Old 04-10-2005, 08:24 PM   #6
satimis
Senior Member
 
Registered: Apr 2003
Posts: 3,695

Original Poster
Rep: Reputation: 56
Hi abisko00,

Tks for your advice.

I removed some old tmp files and old log but still not much space gained

New;
Code:
$ df -h
Filesystem            Size  Used Avail Use% Mounted on
/dev/hde2             5.6G  5.1G  259M  96% /
/dev/hde1             105M  8.9M   91M   9% /boot
none                  189M     0  189M   0% /dev/shm
/dev/hde5             3.2G  422M  2.7G  14% /home
Previous;
Filesystem Size Used Avail Use% Mounted on
/dev/hde2 5.6G 5.1G 241M 96% /

# rpm -qa | grep kernel
Code:
kernel-2.6.9-1.6_FC2
kernel-sourcecode-2.6.10-1.8_FC2
kernel-2.6.10-1.8_FC2
kernel-utils-2.4-9.1.131
# uname -a
Linux localhost.localdomain 2.6.10-1.8_FC2 #1 Mon Jan 10 14:46:18 EST 2005 i686 i686 i386 GNU/Linux

Could I remove
kernel-2.6.9-1.6_FC2
kernel-sourcecode-2.6.10-1.8_FC2
also "kernel-utils-2.4-9.1.131" to get more room. I won't recompile kernel on this Workstation

If still not sufficient room, I think I have to repartion the HD giving more room to
/dev/hde2

I never experienced "repartitioning' HD before. Maybe this is an opportunity to learn.

Google search on 'repartition linux hard drive' brought me many links/sugguestions

Could you recommend me a more reliable link/article. TIA

B.R.
satimis
 
Old 04-11-2005, 02:55 AM   #7
abisko00
Senior Member
 
Registered: Mar 2004
Location: Munich
Distribution: Ubuntu
Posts: 3,517

Rep: Reputation: 58
Quote:
Could I remove
kernel-2.6.9-1.6_FC2
kernel-sourcecode-2.6.10-1.8_FC2
also "kernel-utils-2.4-9.1.131" to get more room. I won't recompile kernel on this Workstation
Sure! But you cannot remove the kernel package, only kernel-source. And I am not sure what is contained in kernel-utils. Maybe could get rid of some development tools and/or devel packages that might be installed on your system.

Quote:
Could you recommend me a more reliable link/article. TIA
Unfortunately not. When I did a re-partitioning, I only used the man-pages as information source. Not the safest way, but it worked. Be sure you backup your data before. I did the partitioning from a KNOPPIX CD.
 
  


Reply



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
Linux fails to run after Running Yast Online Update zidane2010 Linux - Distributions 6 10-16-2007 04:33 AM
I have problem to update with the update function under fedora core 2 babyboss Fedora 4 08-10-2005 07:34 AM
Running Update Patch for UT2004 trickle Linux - Games 3 10-22-2004 07:47 AM
windows update is running linux jct842 General 4 08-19-2003 09:03 PM
UPDATE: Linux running well on Xbox! Jacob2003 Linux - General 11 09-29-2002 06:59 PM

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

All times are GMT -5. The time now is 11:30 PM.

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