Koozali.org: home of the SME Server

rpm "database"?

atlantis

rpm "database"?
« on: April 28, 2004, 08:33:31 PM »
Hi,

I had an rpm I wanted to unistall but it wouldn't, rpm -e just said it wasn't installed even though it was... Therefore I decided to uninstall it the hard way and deleted all installed files. But how do I now make clear to rpm that that package isn't there anymore and that rpm -qa doesn't show it any more? Somewhere rpm stores some information about installed packages but I didn't find out where yet, can anybody help?

Regards
Martin

ergozd

rpm "database"?
« Reply #1 on: April 28, 2004, 08:46:49 PM »
The rpmdb is stored at
# /var/lib/rpm


[/b]

atlantis

rpmdb
« Reply #2 on: April 28, 2004, 09:30:15 PM »
Well thanks for the info, but how the heck do I now edit these files?

Regards
Martin

mbachmann

rpm "database"?
« Reply #3 on: April 29, 2004, 09:37:52 AM »
You should not. They look like binaries.

Are you sure you use the correct syntax? Are you sure you used rpm and not yum to install?

If you have samba-common-2.2.8a-1es1.i386.rpm installed, uninstall with

rpm -e samba-common-2.2.8a-1es1

Just post the name of the rpm you wish to remove.