Hi

Dne Wed, 02 Sep 2009 11:31:50 -0700
"Todd A. Jacobs" <tjacobs-kw-reportbug.e56...@codegnome.org> napsal(a):

> The updated rpm package fails to install, reporting some sort of
> incompatibility with a previous version. Attempts to remove or purge it
> would remove various other packages, such as lsb or alien.
> 
>     Setting up rpm (4.7.1-3) ...
>     Trying rpm init...
>     error: Unable to open /usr/lib/rpm/rpmrc for reading: No such file or 
> directory.
>     RPM failed to open database, cleaning it up...
>     Creating /var/backups/...
>     tar: Removing leading `/' from member names
>     Trying rpm init...
>     error: Unable to open /usr/lib/rpm/rpmrc for reading: No such file or 
> directory.
>     dpkg: error processing rpm (--configure):
>      subprocess installed post-installation script returned error exit status 
> 1
>     Errors were encountered while processing:
>      rpm
>     E: Sub-process /usr/bin/dpkg returned an error code (1)
>     A package failed to install.  Trying to recover:
>     Setting up rpm (4.7.1-3) ...
>     Trying rpm init...
>     error: Unable to open /usr/lib/rpm/rpmrc for reading: No such file or 
> directory.
>     RPM failed to open database, cleaning it up...
>     Creating /var/backups/...
>     tar: Removing leading `/' from member names
>     Trying rpm init...
>     error: Unable to open /usr/lib/rpm/rpmrc for reading: No such file or 
> directory.
>     dpkg: error processing rpm (--configure):
>      subprocess installed post-installation script returned error exit status 
> 1
>     Errors were encountered while processing:
>      rpm
> 
> The output would imply that the configure script is choking on a missing
> RPM database. This database, if missing, should either be created or
> ignored during installation instead of causing installation to fail.

Were you installing the rpm for first time or it was some update?

It needs to cause failure on installation or otherwise rpm would
complain on every start.

-- 
        Michal Čihař | http://cihar.com | http://blog.cihar.com

Attachment: signature.asc
Description: PGP signature

Reply via email to