Results 1 to 5 of 5
How do I remove invalid package entries from RPM?
If I installed an RPM package multiple times, and then later manually deleted the files, how do I 'clean up' the ...
- 05-17-2004 #1Just Joined!
- Join Date
- May 2004
- Posts
- 3
How to clean up after RPM?
How do I remove invalid package entries from RPM?
If I installed an RPM package multiple times, and then later manually deleted the files, how do I 'clean up' the entries in RPM?
Thanks
- 05-17-2004 #2Linux Guru
- Join Date
- Mar 2003
- Location
- Wisconsin
- Posts
- 1,907
I think this is what you're looking for:
http://www.rpm.org/max-rpm/s1-rpm-co...base-mode.htmlCode:rpm --rebuilddb <options>
Good luck!
JeremyRegistered Linux user #346571
"All The Dude ever wanted was his rug back" - The Dude
- 05-17-2004 #3Just Joined!
- Join Date
- May 2004
- Posts
- 3
--rebuild
I tried that, it didn't help
I also tried the -e or --erase option. It complains that there are multiple entries with the same name.
- 05-17-2004 #4Linux Guru
- Join Date
- Mar 2003
- Location
- Wisconsin
- Posts
- 1,907
From this lenghty thread:
http://www.linuxquestions.org/questi...hreadid=175727
I found this:
Does that work?Code:sudo rpm -e -vv --allmatches --nodeps --noscripts --notriggers <name of whatever your trying to remove>
JeremyRegistered Linux user #346571
"All The Dude ever wanted was his rug back" - The Dude
- 05-17-2004 #5Just Joined!
- Join Date
- May 2004
- Posts
- 3
Yes! It did!
Thanks.
Now to just convince everyone not to remove files that were installed by RPM.


Reply With Quote
