[Leaplist] someone explain why YUM does not do as it is told?
John Simpson
jms1 at jms1.net
Wed Mar 7 16:21:58 EST 2007
On 2007-03-06, at 2339, ray wrote:
>
> on my laptop, seeing as i can not use my wifi card i plugged into
> eth0, i figured i would run yum update as i have not in a very long
> time.
>
> well it keeps craping out on Processing Dependency:
> libjaspter-1.701.so.1 is neede by package ImageMagick
>
> ok no big deal, ill just yum remove ImageMagick, nope can't do that
> as it will remove kaffeine and xine.lib nope not going to do that.
>
> so yum --exclude=ImageMagick update
>
> well --exclude DOES NOT WORK.
actually, it sounds more like "--exclude" doesn't do what you seem to
think it does.
the command "yum --exclude=ImageMagick update" means to update
everything except ImageMagick- that is, if the ImageMagick package
has a newer version available, do not upgrade it.
it does NOT mean "update everything, but ignore dependencies
involving ImageMagick."
> i have tried yum update --exclude, and yum --exclude it does not
> matter were i put the --exclude, it continues to try to find the
> dependency for ImageMagic even though it is supposed to NOT BE
> UPGRADING that package, it has been told to exclude, and as far as
> i can tell from reading the man page that is the same thing as
> being told to ignore that package. yet why does it continue to try
> to upgrade that package?
i suspect it's NOT trying to upgrade that package. it sounds like
maybe ImageMagick is already installed, the version which is
installed has a dependency on that one library, the RPM which
supplied that library is due to be upgraded, and the newer RPM file
for that package doesn't include that exact file (it may have
"libjapster-1.702.so.1" instead, and the dependency info built into
the ImageMagick package is bad.)
find the file "libjapster-1.702.so.1" on your system. my guess is
that it will be somewhere under /lib, /usr/lib, or /usr/local/lib.
wherever it is, you can do "rpm -qf ______" with the full path name
to the library, and it will tell you which installed RPM supplied
that file.
then do "yum check-upgrade" it will give you a list of the exact
packages it's trying to upgrade.
if the RPM package containing the "libjapster-1.702.so.1" file is one
of the ones being upgraded, THAT is what you want to "--exclude"...
not ImageMagick.
and if not, remember that you can also do "yum install package
package package ..." to install the upgraded versions for any set of
individual packages, work your way through the list until you find
the one package which causes this error message, and skip that one
for now. install the rest of them, so that any really important ones
(like "tzdata", or "glibc" for older systems) actually DO get upgraded.
then deal with this dependency issue later- like at an installfest,
when you have multiple pairs of eyes to try and figure it out with you.
this is actually what i'm going to spend the rest of today working
on- upgrades for all of my (and my clients') servers, primarily to
make sure that they will deal with the changed daylight savings stuff
correctly, but also to just bring them up to date- especially clamav
on the mail servers.
> very frustrated and a bit tired. yet again why i so much prefer
> apt over yum any day of the week. no dont try to get me to install
> and reconfigure apt on a Cent box, not worth the hassle. i just
> wan yum to do what it is told.
in most cases, the issue isn't "apt vs yum", the issue is poorly
written dependency rules in the RPM files themselves. if apt and yum
are both pulling from the same repositories, they will both run into
the same issues when they find a file having broken dependencies.
----------------------------------------------------------------
| John M. Simpson --- KG4ZOW --- Programmer At Large |
| http://www.jms1.net/ <jms1 at jms1.net> |
----------------------------------------------------------------
| http://video.google.com/videoplay?docid=-4312730277175242198 |
----------------------------------------------------------------
-------------- next part --------------
A non-text attachment was scrubbed...
Name: PGP.sig
Type: application/pgp-signature
Size: 186 bytes
Desc: This is a digitally signed message part
Url : http://lists.leap-cf.org/pipermail/leaplist/attachments/20070307/fc1aa1a2/PGP.bin
More information about the Leaplist
mailing list