LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Fedora
User Name
Password
Fedora This forum is for the discussion of the Fedora Project.

Notices

Reply
 
Search this Thread
Old 08-06-2005, 07:44 PM   #1
DJOtaku
Member
 
Registered: Oct 2004
Location: USA
Distribution: Fedora 20; Arch; Kubuntu; Debian
Posts: 710

Rep: Reputation: 31
Yum update dependency problems


I am running Linux on a very old computer donated to me. All I've got left on the drive after all the programs I wanted to use is 700 mb. With yum I find that there are new versions of OOo to update as well as a bunch of language packs. If I try to update any of the OOo suites, they must all be updated and so must the language packs. The problem is that the download itself is 330 MB and the language packs need around 450 MB to update so the update fails.

I'm guessing this is temporary space while the RPM inflates to install and then afterwards it will take the same amount of space or trivially more space on my computer.

I haven't yet tried updating the language packs one at a time, because that might solve the problem. Assuming circular dependencies (ie Writer needs the language packs to update and the language packs need writer to update) is there a way to resolve this problem?
 
Old 08-07-2005, 01:24 AM   #2
WhatsHisName
Senior Member
 
Registered: Oct 2003
Location: /earth/usa/nj (UTC-5)
Distribution: RHL9;F1-10; CentOS4-5; DebianSarge-Squeeze
Posts: 1,151

Rep: Reputation: 46
OpenOffice updates really are huge. The easiest fix is to add more storage, but that is probably not an option.

Yes, it is worth trying to install some of the common updates individually.


To make more free space, two things to try are to cleanup the yum area:

yum clean packages

and then to “empty” the trash. There might be more in your trash than you realize. Also, poke around /var/spool and see if there is anything that can be discarded (e.g., like the contents of /var/spool/up2date).

Another option would be to remove some unneeded packages to create space, or to remove some needed packages and to then restore them afterwards.

Is everything in one partition? You might pick up some usable space by placing everything in one partition, if it is not already set up that way. By placing all folders in one partition and expanding it to fill the disk, you will pool the free space, instead of spreading it around the different partitions.
 
Old 08-07-2005, 12:57 PM   #3
DJOtaku
Member
 
Registered: Oct 2004
Location: USA
Distribution: Fedora 20; Arch; Kubuntu; Debian
Posts: 710

Original Poster
Rep: Reputation: 31
is it possible to set yum to download to another drive? (but still install things properly) I have an external drive with lots of space, it's just not my primary drive
 
Old 08-11-2005, 05:14 AM   #4
routers
Member
 
Registered: Aug 2005
Location: Malaysia - KULMY / CNXTH
Distribution: Slackware, Fedora, FreeBSD, Sun O/S 5.10, CentOS
Posts: 771
Blog Entries: 6

Rep: Reputation: 75
just make symlink to another driver here is example

/var/cache/yum <- this is original location

now move yum to another drive eg
cd /var/cache
mv yum/ /export/
ln -s /export/yum yum

i show u mine to make u more clear
and /export is another drive partition so now whatever yum load file is now on the
/dev/sda2 or /export

[rou@ap4 ~]$ df -h
Filesystem Size Used Avail Use% Mounted on
/dev/sdb1 8.1G 3.9G 3.9G 51% /
/dev/sda1 23M 5.0M 17M 23% /boot
/dev/shm 316M 0 316M 0% /dev/shm
/dev/sda2 8.2G 2.5G 5.4G 32% /export
//noc/server 111G 86G 25G 78% /export/mnt/noc

Last edited by routers; 08-11-2005 at 05:15 AM.
 
Old 11-28-2005, 04:33 AM   #5
DaPi
LQ Newbie
 
Registered: Aug 2004
Location: Geneva - CH
Distribution: Fedora
Posts: 3

Rep: Reputation: 0
Thanks routers, that solved the problem for me.

If I may:
How could I have found out by myself that /var/cache/yum was the point at which space needed to be added?

Thanks again - DaPi
 
Old 11-28-2005, 05:23 AM   #6
routers
Member
 
Registered: Aug 2005
Location: Malaysia - KULMY / CNXTH
Distribution: Slackware, Fedora, FreeBSD, Sun O/S 5.10, CentOS
Posts: 771
Blog Entries: 6

Rep: Reputation: 75
u can add at any partition ( which is free) as u like because

[rou@net ~]$ ls /var/cache/yum
base extras livna updates-released

those directory content increament file

ps: yum clean all <- does not harm

 
Old 12-11-2005, 02:56 PM   #7
dtimms
LQ Newbie
 
Registered: Sep 2004
Location: au.vic.melb
Distribution: Fedora 7 x3, FC6, FC3.
Posts: 27

Rep: Reputation: 15
yum's config file

DJOtaku,

Take a look at the yum config file-
/etc/yum.conf

You'll see the path to the cachedir ...

Also for particular repo's see the files in-
/etc/yum.repos.d

You could perform an update like the following to limit which packages get updated-
yum update openoffice.or*
which would only do openoffice, then remove the openoffice rpms from [cachedir]/updates-released/packages
then-
yum update

Many linux programs have configuration either in a single self named file in /etc, or if a complex program in /etc/program/...

I like routers method of moving the path, I have previously modified the cachedir path to point to my drive with the appropriate amount of space. Same thing but achieved differently. But might be easier for others to follow (who might be used to looking to the /var/cache path). Sunset.
 
  


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 Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
yum update problems jjbuchan Fedora 5 11-02-2005 02:28 PM
up2date & yum update - dependency 2.6.12-1.1447_FC4 dr0n3 Fedora 11 10-04-2005 04:23 PM
Yum Update Problems djljjm Linux - Newbie 2 03-15-2005 03:35 PM
boot problems after yum update evasion81 Red Hat 1 12-17-2004 11:50 AM
update problems yum/apt-get grapier Fedora 1 01-20-2004 08:33 AM


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

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration