LinuxQuestions.org
View the Most Wanted LQ Wiki articles.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices



Reply
 
Search this Thread
Old 03-15-2006, 07:02 PM   #1
aoconnor
LQ Newbie
 
Registered: Jan 2006
Posts: 7

Rep: Reputation: 0
yum exclude not working


The yum exclude option in the yum.conf file doesn't seem to work for me.
I specifically exclude xine-lib, but yum fails a dependancy check for stuff that is required by xine-lib

I invoke yum as follows:

Code:
# yum -c ./yum.conf update
My yum.conf looks like:

Code:
[main]
cachedir=/var/cache/yum
debuglevel=2
logfile=/var/log/yum.log
pkgpolicy=newest
distroverpkg=redhat-release
tolerant=1
exactarch=1
retries=20
obsoletes=1
gpgcheck=1
exclude=kernel kernel-smp kernel-smp-devel kernel-module-ntfs \
  nvidia-glx kernel-module-nvidia flash-plugin mozilla-acroread \
  mplayerplug-in w32codec mplayer-skins xine xine-lib xine-skins firefox
reposdir=

# PUT YOUR REPOS HERE OR IN separate files named file.repo
# in /etc/yum.repos.d

[base]
name=Fedora Core $releasever - $basearch - Base
enabled=1
gpgcheck=1

[updates-released]
name=Fedora Core $releasever - $basearch - Released Updates
enabled=1
gpgcheck=1

[extras]
name=Fedora Extras $releasever - $basearch
enabled=1
gpgcheck=1

[atrpms]
name=Fedora Core $releasever - $basearch - ATrpms
enabled=0

[dag]
name=Dag RPM Repository for Fedora Core
gpgcheck=1
enabled=0

[dries]
name=Extra Fedora rpms dries - $releasever - $basearch
enabled=0
gpgcheck=1

# $Id: freshrpms.repo 3341 2005-06-28 18:40:26Z thias $
[freshrpms]
name=Fedora Core $releasever - $basearch - Freshrpms
enabled=0
gpgcheck=1

[livna]
name=Livna for Fedora Core $releasever - $basearch - Base
enabled=0
gpgcheck=1

[livna-testing]
name=Livna for Fedora Core $releasever - $basearch - Testing
enabled=0
gpgcheck=1

[macromedia]
name=Macromedia for i386 Linux
enabled=0
gpgcheck=1
The end of the yum output is as follows:

Code:
--> Running transaction check
--> Processing Dependency: libfusion-0.9.so.22 for package: xine-lib
--> Processing Dependency: libdirect-0.9.so.22 for package: xine-lib
--> Processing Dependency: libdirectfb-0.9.so.22 for package: xine-lib
--> Finished Dependency Resolution
Error: Missing Dependency: libdirect-0.9.so.22 is needed by package xine-lib
Error: Missing Dependency: libfusion-0.9.so.22 is needed by package xine-lib
Error: Missing Dependency: libdirectfb-0.9.so.22 is needed by package xine-lib
Does it make sense that yum would try to satisfy xine-lib dependencies when it is excluded?

Thanks
 
Old 03-15-2006, 07:49 PM   #2
spooon
Senior Member
 
Registered: Aug 2005
Posts: 1,755

Rep: Reputation: 48
Yes, you just excluded it from being installed or updated. But if its dependencies are not satisfied, then that is not good. This happens, for example, if you try update the dependencies of xine-lib; since your (older) version of xine-lib depends on older versions of those dependencies, trying to update them will break the dependencies and it won't let you.
 
Old 03-16-2006, 01:33 PM   #3
aoconnor
LQ Newbie
 
Registered: Jan 2006
Posts: 7

Original Poster
Rep: Reputation: 0
Is it at all possible to get yum to only update those packages which will not have to use specific repositories,
i.e. only update if the dependencies can be resolved through enabled repositories?
 
  


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 not working namit Linux - Software 2 11-17-2005 07:50 AM
tar --exclude --exclude-from cefn Linux - Software 4 10-11-2005 08:31 PM
yum not working saipraveen Linux - Newbie 4 08-23-2005 12:34 AM
Yum not working acidblue Fedora 3 10-24-2004 09:47 PM
Howto exclude during yum update mohapi Fedora 4 07-02-2004 11:19 AM


All times are GMT -5. The time now is 09:16 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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration