[Fwd: Re: [opensuse] rpm-installation failed when installed lib could not be found]
I received an off-list reply from Patrick Shanahan in SuSE, and when I replied directly to him, he replied to me that I should have replied on-list, allowing the other readers to follow the discussion. So I repost my reply to Patrick to the list. Patrick Shanahan wrote:
* Julien Michielsen
[04-12-08 08:37]: When I tried to install an rpm: # rpm -ivh dl/ImageMagick-6.3.0-5m.i686.rpm error: Failed dependencies: libjasper-1.701.so.1 is needed by ImageMagick-6.3.0-5m.i686
This made me search for libjasper, and I saw this lib did exist:
locate libjasper-1.701.so.1 /usr/lib/libjasper-1.701.so.1
Appearently this lib had been installed earlier, and came from libjasper-1.900.1-81.
Then, perhaps the existing libjasper is not completely installed or is not in the rpm database. Does: rpm -q libjasper report libjasper-1.701 or something else? RPM does not check physical file existance, but checks entries in the rpm database.
No: it points to 1.900.1-81 rpm -q libjasper libjasper-1.900.1-81
May this a bug in suse-11, that for example PATH-pointers do not detect existing libs?
not if the above supposition is true.
Try installing/reinstalling the *required* version of libjasper.
Tried to do so: rpm -ivh dl/libjasper-1.701.0-3.i586.rpm Preparing... ########################################### [100%] package libjasper-1.900.1-81 (which is newer than libjasper-1.701.0-3) is already installed file /usr/lib/libjasper-1.701.so.1 from install of libjasper-1.701.0-3 conflicts with file from package libjasper-1.900.1-81 The two rpm's (libjasper-1.701.0-3 and libjasper-1.900.1-81) are not very different: both of them contain the same libjasper # rpm -qlp dl/libjasper-1.701.0-3.i586.rpm |grep libja /usr/lib/libjasper-1.701.so.1 /usr/lib/libjasper-1.701.so.1.0.0 /usr/lib/libjasper.a /usr/lib/libjasper.la /usr/lib/libjasper.so # rpm -qlp libjasper-1.900.1-81.i586.rpm|grep libja /usr/lib/libjasper-1.701.so.1 /usr/lib/libjasper.so.1 /usr/lib/libjasper.so.1.0.0 /usr/lib/libjasper-1.701.so.1 /usr/lib/libjasper-1.701.so.1.0.0 I'd rather have libjasper-1.701 installed, but then I'd first need to uninstall libjasper-1.900. Yast won't let me do so because 84 packages depend on it. I am afraid that a rpm -ivh --force dl/libjasper-1.701.0-3.i586.rpm would do more harm than good. Or not necessarily? Thank you -- Julien Michielsen julien_at_michkloo.xs4all.nl -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
On Saturday 12 April 2008 09:48:44 am Julien Michielsen wrote:
Yast won't let me do so because 84 packages depend on it. I am afraid that a rpm -ivh --force dl/libjasper-1.701.0-3.i586.rpm would do more harm than good. Or not necessarily?
Look at those tabs under the software listing in YaST Software Management. You will see the version tab. There you can select version and repository that should be used for installation and then mark current package for 'update'. That will tell YaST to consider that package for installation not the newest. The dependencies have to be satisfied anyway, which sometimes creates avalanche, though in this case should work fine. -- Regards, Rajko http://en.opensuse.org/Portal needs helpful hands. -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
participants (2)
-
Julien Michielsen
-
Rajko M.