LinuxQuestions.org
Share your knowledge at the LQ Wiki.
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-06-2007, 10:31 PM   #1
lleb
Senior Member
 
Registered: Dec 2005
Location: Florida
Distribution: CentOS/Fedora
Posts: 2,540

Rep: Reputation: 462Reputation: 462Reputation: 462Reputation: 462Reputation: 462
yum --exclude=foo


does not work. i have tried yum update --exclude i have tried yum --exclude update and in both case the update craps out at:

Code:
Running transaction check
--> Processing Dependency: libjasper-1.701.so.1 for package: ImageMagick
--> Finished Dependency Resolution
Error: Missing Dependency: libjasper-1.701.so.1 is needed by package ImageMagick
# yum --exclude=ImageMagick update

# yum update --exclude=libjasper-1.701.so.1

# yum update --exclude=ImageMagick

no matter what i get the same BS error. why is --exclude NOT doing what it is told and to ignore and EXCLUDE that bloody package?

distro = CentOS 4.4

# uname -a
Linux ssmahome.local 2.6.9-42.0.2.EL #1 Tue Aug 22 23:56:05 CDT 2006 i686 i686 i386 GNU/Linux


yet an other reason i like Debian better.
 
Old 03-06-2007, 11:40 PM   #2
lazlow
Senior Member
 
Registered: Jan 2006
Posts: 4,362

Rep: Reputation: 171Reputation: 171
I would first try "yum update yum" and see if your current version has a flaw. The only other thing I can think of is, if one of the packages you are updating requires the updated version of imagmagick.

Lazlow
 
Old 03-07-2007, 01:17 AM   #3
jlo_sandog
Member
 
Registered: Jul 2005
Location: USA
Distribution: F10 (x86_64)
Posts: 549

Rep: Reputation: 31
yum update --exclude ImageMagick
 
Old 03-07-2007, 03:39 AM   #4
reddazz
Guru
 
Registered: Nov 2003
Location: N. E. England
Distribution: Fedora, CentOS, Debian
Posts: 16,298

Rep: Reputation: 73
Seems to me the mirror you are trying to use is not yet fully synced and thats why the dependency is probably not found (which also happens a lot on Debian based distros). You could try
Code:
#yum update --exclude=ImageMagick --exclude=libjasper
 
Old 03-08-2007, 01:42 PM   #5
lleb
Senior Member
 
Registered: Dec 2005
Location: Florida
Distribution: CentOS/Fedora
Posts: 2,540

Original Poster
Rep: Reputation: 462Reputation: 462Reputation: 462Reputation: 462Reputation: 462
no such package found for yum update yum, very odd on that one. could it be called something different under centOS?

running the

#yum update --exclude=ImageMagick --exclude=libjasper

now to see if that will work.

nope, still fails to follow directions and craps out at the same place.
 
Old 03-08-2007, 02:33 PM   #6
lazlow
Senior Member
 
Registered: Jan 2006
Posts: 4,362

Rep: Reputation: 171Reputation: 171
lleb

Did it say "no package found" or did it say:

Could not find update match for yum
No Packages marked for Update/Obsoletion

This second message would be normal and say everything is up to date.

Have you tried it without the =? Maybe centos reserves that for repos. Sorry man but I am rapidly running out of ideas on this one.

Lazlow
 
Old 03-08-2007, 11:33 PM   #7
lleb
Senior Member
 
Registered: Dec 2005
Location: Florida
Distribution: CentOS/Fedora
Posts: 2,540

Original Poster
Rep: Reputation: 462Reputation: 462Reputation: 462Reputation: 462Reputation: 462
Quote:
Originally Posted by lazlow
lleb

Did it say "no package found" or did it say:

Could not find update match for yum
No Packages marked for Update/Obsoletion

This second message would be normal and say everything is up to date.

Have you tried it without the =? Maybe centos reserves that for repos. Sorry man but I am rapidly running out of ideas on this one.

Lazlow
it is the 2nd one.

Code:

yum update --exclude ImageMagick
Repository update is listed more than once in the configuration
Repository base is listed more than once in the configuration
Repository addons is listed more than once in the configuration
Repository extras is listed more than once in the configuration
Setting up Update Process
Setting up repositories
Reading repository metadata in from local files
Excluding Packages in global exclude list
Finished
Resolving Dependencies
--> Populating transaction set with selected packages. Please wait.
---> Package kdenetwork-nowlistening.i386 7:3.5.6-1.el4 set to be updated
---> Package openoffice.org-kde.i386 0:1.1.5-6.6.0.EL4 set to be updated
---> Package xorg-x11-xdm.i386 0:6.8.2-1.EL.13.37.5 set to be updated
---> Package libgsf.i386 0:1.10.1-2 set to be updated
---> Package python.i386 0:2.3.4-14.3 set to be updated
---> Package gtk2-devel.i386 0:2.4.13-22 set to be updated
---> Package arts-devel.i386 8:1.5.6-3.el4 set to be updated
---> Package kaffeine.i386 0:0.8.3-3.el4 set to be updated
---> Package kdeutils.i386 6:3.5.6-1.el4 set to be updated
---> Package dbus-glib.i386 0:0.22-12.EL.8 set to be updated
---> Package dbus.i386 0:0.22-12.EL.8 set to be updated
---> Package libstdc++-devel.i386 0:3.4.6-3.1 set to be updated
---> Package kdelibs-devel.i386 6:3.5.6-4.el4 set to be updated
---> Package openssl-devel.i586 0:0.9.7a-43.14 set to be updated
---> Package bind-libs.i386 20:9.2.4-24.EL4 set to be updated
---> Package mplayer.i386 0:1.0-0.33.rc1.el4.rf set to be updated
---> Package nss_ldap.i386 0:226-17 set to be updated
---> Package xvidcore.i386 0:1.1.2-1.el4.rf set to be updated
---> Package mDNSResponder.i386 0:107.6-1.el4 set to be updated
---> Package openssh.i386 0:3.9p1-8.RHEL4.17.1 set to be updated
---> Package rsync.i386 0:2.6.9-1.el4.rf set to be updated
---> Package vcdimager.i386 0:0.7.23-5.el4.rf set to be updated
---> Package libtunepimp.i386 0:0.5.3-1.el4 set to be updated
---> Package OpenEXR.i386 0:1.4.0a-0.4.el4 set to be updated
---> Package xorg-x11.i386 0:6.8.2-1.EL.13.37.5 set to be updated
---> Package mtr.i386 2:0.72-1.el4.rf set to be updated
---> Package seamonkey-nspr.i386 0:1.0.8-0.2.el4.centos set to be updated
---> Package libcdio.i386 0:0.77-1.el4.rf set to be updated
---> Package xorg-x11-xauth.i386 0:6.8.2-1.EL.13.37.5 set to be updated
---> Package seamonkey-nss.i386 0:1.0.8-0.2.el4.centos set to be updated
---> Package xorg-x11-Mesa-libGL.i386 0:6.8.2-1.EL.13.37.5 set to be updated
---> Package gcc-c++.i386 0:3.4.6-3.1 set to be updated
---> Package openoffice.org.i386 0:1.1.5-6.6.0.EL4 set to be updated
---> Package cpp.i386 0:3.4.6-3.1 set to be updated
---> Package gtk2.i386 0:2.4.13-22 set to be updated
---> Package lame.i386 0:3.97-1.el4.rf set to be updated
---> Package openoffice.org-libs.i386 0:1.1.5-6.6.0.EL4 set to be updated
---> Package gcc.i386 0:3.4.6-3.1 set to be updated
---> Package xorg-x11-libs.i386 0:6.8.2-1.EL.13.37.5 set to be updated
---> Package xorg-x11-font-utils.i386 0:6.8.2-1.EL.13.37.5 set to be updated
---> Package meanwhile.i386 0:1.0.2-1.el4.rf set to be updated
---> Package openssl.i686 0:0.9.7a-43.14 set to be updated
---> Package thunderbird.i386 0:1.5.0.10-0.1.el4.centos set to be updated
---> Package jasper.i386 0:1.900.0-3.el4 set to be updated
---> Package kdelibs.i386 6:3.5.6-4.el4 set to be updated
---> Package tar.i386 0:1.14-12.RHEL4 set to be updated
---> Package qt.i386 1:3.3.7-0.2.el4.kde set to be updated
---> Package openssh-clients.i386 0:3.9p1-8.RHEL4.17.1 set to be updated
---> Package qt-devel.i386 1:3.3.7-0.2.el4.kde set to be updated
---> Package kdebase.i386 6:3.5.6-3.el4 set to be updated
---> Package kernel-devel.i686 0:2.6.9-42.0.10.EL set to be installed
---> Package tzdata.noarch 0:2007c-1.el4 set to be updated
---> Package xorg-x11-Mesa-libGLU.i386 0:6.8.2-1.EL.13.37.5 set to be updated
---> Package libgcc.i386 0:3.4.6-3.1 set to be updated
---> Package lftp.i386 0:3.5.9-1.el4.rf set to be updated
---> Package openssh-server.i386 0:3.9p1-8.RHEL4.17.1 set to be updated
---> Package ffmpeg-libpostproc.i386 0:0.4.9-0.8.20070109.el4.rf set to be updated
---> Package syslinux.i386 0:3.35-1.el4.rf set to be updated
---> Package k3b.i386 0:0.12.17-0.1.el4.kde set to be updated
---> Package info.i386 0:4.7-5.el4.2 set to be updated
---> Package xine-lib.i386 0:1.1.2-2.el4.rf set to be updated
---> Package xorg-x11-xfs.i386 0:6.8.2-1.EL.13.37.5 set to be updated
---> Package arts.i386 8:1.5.6-3.el4 set to be updated
---> Package bind-utils.i386 20:9.2.4-24.EL4 set to be updated
---> Package kdenetwork-devel.i386 7:3.5.6-1.el4 set to be updated
---> Package kdenetwork.i386 7:3.5.6-1.el4 set to be updated
---> Package kernel.i686 0:2.6.9-42.0.10.EL set to be installed
---> Package xorg-x11-deprecated-libs.i386 0:6.8.2-1.EL.13.37.5 set to be updated
---> Package kdemultimedia.i386 6:3.5.6-2.el4 set to be updated
---> Package xorg-x11-devel.i386 0:6.8.2-1.EL.13.37.5 set to be updated
---> Package libdvdread.i386 0:0.9.7-1.el4.rf set to be updated
---> Package sysreport.noarch 0:1.3.15-8 set to be updated
---> Package libstdc++.i386 0:3.4.6-3.1 set to be updated
---> Package gnupg.i386 0:1.2.6-9 set to be updated
---> Package firefox.i386 0:1.5.0.10-0.1.el4.centos set to be updated
---> Package subversion.i386 0:1.4.3-0.1.el4.rf set to be updated
--> Running transaction check
--> Processing Dependency: libboost_regex.so.2 for package: kdelibs
--> Processing Dependency: xdg-utils for package: kdelibs
--> Processing Dependency: xdg-utils for package: kdeutils
--> Processing Dependency: kde-filesystem for package: kdebase
--> Processing Dependency: libboost_filesystem.so.2 for package: arts
--> Processing Dependency: libboost_filesystem.so.2 for package: kdelibs
--> Processing Dependency: kde-settings >= 3.5 for package: kdelibs
--> Processing Dependency: libfaac.so.0 for package: mplayer
--> Processing Dependency: libboost_regex.so.2 for package: arts
--> Processing Dependency: kde-filesystem for package: kdelibs
--> Processing Dependency: libjasper-1.701.so.1 for package: ImageMagick
--> Processing Dependency: libofa.so.0 for package: libtunepimp
--> Processing Dependency: libdvdnav.so.4 for package: mplayer
--> Processing Dependency: libopenal.so.0 for package: mplayer
--> Processing Dependency: libx264.so.54 for package: mplayer
--> Processing Dependency: xdg-utils for package: kdemultimedia
--> Processing Dependency: libavutil.so.49 for package: ffmpeg-libpostproc
--> Restarting Dependency Resolution with new changes.
--> Populating transaction set with selected packages. Please wait.
---> Package boost.i386 0:1.33.0-3.0.el4.kde set to be updated
---> Package faac.i386 0:1.25-2.el4.rf set to be updated
---> Package kde-settings.noarch 0:3.5-18.el4 set to be updated
---> Package kde-filesystem.noarch 0:3.5-6 set to be updated
---> Package xdg-utils.noarch 0:1.0.1-1 set to be updated
---> Package ffmpeg.i386 0:0.4.9-0.8.20070109.el4.rf set to be updated
---> Package openal.i386 0:0.0.9-0.7.20060204cvs.el4 set to be updated
---> Package libdvdnav.i386 0:0.1.10-3.el4.rf set to be updated
---> Package x264.i386 0:0.0.0-0.3.20061214.el4.rf set to be updated
---> Package libofa.i386 0:0.9.3-8.el4 set to be updated
--> Running transaction check
--> Processing Dependency: a52dec for package: ffmpeg
--> Processing Dependency: libmp4v2.so.0 for package: faac
--> Processing Dependency: libfftw3.so.3 for package: libofa
--> Processing Dependency: libgsm.so.1 for package: ffmpeg
--> Processing Dependency: libfaad.so.0 for package: ffmpeg
--> Processing Dependency: libImlib2.so.1 for package: ffmpeg
--> Processing Dependency: libjasper-1.701.so.1 for package: ImageMagick
--> Restarting Dependency Resolution with new changes.
--> Populating transaction set with selected packages. Please wait.
---> Package gsm.i386 0:1.0.10-6.el4.rf set to be updated
---> Package fftw.i386 0:3.1.1-1.el4 set to be updated
---> Package a52dec.i386 0:0.7.4-8.el4.rf set to be updated
---> Package imlib2.i386 0:1.2.1-1.el4 set to be updated
---> Package faad2.i386 0:2.0-8.el4.rf set to be updated
--> Running transaction check
--> Processing Dependency: libjasper-1.701.so.1 for package: ImageMagick
--> Finished Dependency Resolution
Error: Missing Dependency: libjasper-1.701.so.1 is needed by package ImageMagick
 
Old 03-08-2007, 11:52 PM   #8
lleb
Senior Member
 
Registered: Dec 2005
Location: Florida
Distribution: CentOS/Fedora
Posts: 2,540

Original Poster
Rep: Reputation: 462Reputation: 462Reputation: 462Reputation: 462Reputation: 462
well i also posted this info to the yum mailing list.

was indicated to try:

Quote:
Try (be warned, this may be dangerous):

$ rpm -e --nodeps ImageMagick
$ yum install ImageMagick
well that worked, and i am currently updating my laptop as i type.

thanks for the help, but could someone explain why the rpm -e --nodeps worked, what it did, etc...

i so seldom mess with rpm based distros that i have no clue what just happened. yeah i know that is bad news but meh ill live and learn as i make mistakes and have to fix them.

*grins*
 
Old 03-08-2007, 11:58 PM   #9
lazlow
Senior Member
 
Registered: Jan 2006
Posts: 4,362

Rep: Reputation: 171Reputation: 171
Ok, what that is saying is that one of the packages that you are trying to update has the new version of ImageMagick as a dependency. What you have to do is figure out which one and not update that particular package. This is most easily done by updating each package individually. This is also why most people update frequently (weekly). If you keep the number of updates (at any one time) down, it become much easier to track down which one is causing the problem.

If smartpm is available for your distro this might be a faster way to find out which package has that dependency.

You also have a problem with the repos you have set up. Each repo is set up more than once. While I do not think that this is causing the current trouble it may cause other problems in the future. I think the repos are in the directory /etc/yum.repos.d/ .

Good Luck

Lazlow


Edit: You posted while I was typing.

The -nodeps means that it ignored any dependencys that the package being installed may require. Sometimes it works fine. Usually it causes problems.

Last edited by lazlow; 03-09-2007 at 12:01 AM.
 
  


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 command to exclude some updates? gimmee Fedora 8 03-16-2014 03:15 AM
Fedora yum exclude problem marcel@kraan.net Fedora 8 07-24-2006 07:45 PM
Exclude updating apps software using yum jojojo Linux - Newbie 1 06-12-2006 02:32 PM
yum exclude not working aoconnor Linux - Software 2 03-16-2006 12:33 PM
Howto exclude during yum update mohapi Fedora 4 07-02-2004 10:19 AM


All times are GMT -5. The time now is 09:28 PM.

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