Re: An error on each rpm ??

From: Juhan Leemet (
Date: 08/18/04

Date: Wed, 18 Aug 2004 05:58:54 -0200

On Mon, 16 Aug 2004 11:05:37 +0200, Bourrion Daniel wrote:
> Since some weeks, each time i use Yast to install something, at the end
> on the installation, Yast tells me that the packages
> "the_pakage_i_install" returns an error, but yast doesn't give me more
> precision.

I don't use yast for installation. I go directly to rpm (from scripts). I
have noticed that rpm-4.x on SuSE-9.1 seems to have some problems. It
seems to give nonsense error messages: for example, complaining about some
installed package(s) requiring some library that is part of a package
being updated by a later version which also contains that library.

I just saw an example. I was updating jasper-1.700.5-58 to
jasper-1.701.0-1.5 which I rebuilt from .src.rpm downloaded from the SuSE
9.1 update site. The error messages complained about:

error: Failed dependencies: is needed by (installed) LabPlot-1.3.0-1 is needed by (installed) gdal-python-1.1.8-1jl is needed by (installed) gdal-1.1.8-1jl is needed by (installed) ImageMagick-5.5.7-220 is needed by (installed) libgdal-devel-1.1.8-1jl is needed by (installed) libgdal-1.1.8-1jl

However, when I used "rpm -qlp" to look at the new contents, I saw:


In other words, the new updated package DOES contain that library that rpm
was complaining about! WTF? So I forced the install with "rpm -U --nodeps"
and I got an "interesting" error message:

/sbin/ldconfig: /usr/lib/ is not a symbolic link

Ah, so it seems that the new updated package contains a softlink to a new
library version 1.701 that replaces the old version 1.700. However, rpm
did not recognize that and/or did not know how to handle that?!? WTF?

My workaround was to manually delete the old library, manually create the
softlink, and then I found the update also (re)installed OK. I guess rpm
had trouble creating a softlink to replace an existing library? Is that an
rpm problem? an rpm script problem? This probably affects yast, too?

I don't know if anyone (at SuSE?) is interested in looking at this?

> After that, the programm i've install, and who returns an error, works
> fine whe i test it !!

That probably depends on what you're testing. In my case, the new library
did get created and any new programs would work OK. Any of the old ones
might have failed, er, maybe... (the old library was still there)

> How can i do to avoid to have this error/message of error ?

I don't know if this is fixable, without working on rpm?
Whose responsibility would that be? SuSE? RedHat (for rpm?)?

Juhan Leemet
Logicognosis, Inc.

Relevant Pages

  • Re: [opensuse] Zypper segmentation fault
    ... Repository 'openSUSE BuildService - Wine CVS Builds' is up to date. ... Trying through yast again gave this xmessage: ... Rebuilding the rpm database did no good. ... --force install the qt and gtk rpms to downgrade to the latest 10.3 versions. ...
  • Media Tray Empty - SuSE 9.1 Solved
    ... and has, after all, worked fine in SuSE 9.0 on the same machine. ... so I just told Yast to ignore those for the time being. ... I then installed the *old* cups-related rpm files from my SuSE 9.0 Pro ... CDs and proceeded to install the downloaded ghostscript files, ...
  • Re: Redhat to Freebsd
    ... >>researching security updates or in performing kernel or package updates. ... >>I assume it is only the Redhat distro that has the ease of RPM installation? ... So you can build from sources with ports, or install binaries ...
  • Re: ./configure command
    ... The package is not available. ... machines which don't even have an OS at all, let alone RPM, ... There is not a "the tool to package and install on Fedora". ... If he wants to avoid trouble, ...
  • Re: Backing up whole system
    ... Amanda is packaged by Fedora and if Gene feels that the packages are ... fedora's rpm is/was incapable of handling the nuances of using only enough ... When an rpm package can build a complete user from scratch, ... Do you really believe that rpm can install every package under the sun, ...