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 # 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. |
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 |
yum update --exclude ImageMagick
|
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 |
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. |
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 |
Quote:
Code:
|
well i also posted this info to the yum mailing list.
was indicated to try: Quote:
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* |
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. |
All times are GMT -5. The time now is 05:28 PM. |