Re: RPM replacement woes

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On Sat, 14 Dec 2002 18:53:19 -0800, Rob Blomquist wrote:

> I recently removed the RH8 rpms of rpm and replaced them with the 4.1 
> source files from rpm.org, in order to try to get my source version of
> 
> Kpackage running.
> 
> My problem is getting the source version to read the rpm database, as
> it does not know what packages are installed, and this is quite a
> mess, since rpm without its database just about useless. I understand
> that the database is kept in /var/lib/rpm.
> 
> When I uninstalled rpm by rpm, in /var/lib a directory was saved as 
> rpm.rpmsave. When I installed from source, it created a directory
> called /var/lib/rpm.
> 
> I have tried changing /var/lib/rpm.rpmsave to /var/lib/rpm and rpm did
> not appear to read anything from there.
> 
> What do I need to do to get rpm to read the old database?

Did you have a closer look at where it tried to access the RPM
database? Add option -vv when querying the database. Additionally, I
would take a look at Red Hat's source rpm of RPM and see what they
do in there.

- -- 
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.6 (GNU/Linux)

iD8DBQE9/G4y0iMVcrivHFQRAh5AAJ9790pTw2esJPnvXhd5AqYr016ixgCfTGPT
vYvVG4yhKg4ShS+dVjZ8yvs=
=yvxj
-----END PGP SIGNATURE-----



-- 
Psyche-list mailing list
Psyche-list@redhat.com
https://listman.redhat.com/mailman/listinfo/psyche-list

[Index of Archives]     [Fedora General Discussion]     [Red Hat General Discussion]     [Centos]     [Kernel]     [Red Hat Install]     [Red Hat Watch]     [Red Hat Development]     [Red Hat 9]     [Gimp]     [Yosemite News]

  Powered by Linux