FedoraThis forum is for the discussion of the Fedora Project.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
I installed Quake 2 with the --force command (accidentally installing it multiple times), because I wouldn't need the required libs... bad idea, but anyway, now I can't remove the package since there are multiple installs of the same Quake 2 rpm. I tried a rpm query:
The "rpm -e" command never returns anything. Now, the problem with this is, I can't use apt-get to install anything new. I tried manually deleting /usr/local/games/quake2, and the same errors occur without the directory in place. Is there any way to remove the entries from the rpm database (since all of the actual files are gone) so apt-get will work?
Is there any way to just get rpm to think the packages aren't there, ie. remove the packages' database entries manually? I looked at /var/lib/rpm/Packages but it looked binary.
one last thing to try
#rpm -e --nodeps --allmatches quake2-3.20-glibc-6
If that doesn't work then, I have to idea
I am not sure if you can use synaptic to remove it. If you have it already try it, if not grap one from a Fedora Core 1 repository and install it through rpm and give it a shot
[kam@charon kam]$ rpm -e --nodeps --allmatches quake2-3.20-glibc6
error: package quake2-3.20-glibc6 is not installed
[kam@charon kam]$ rpm -e --nodeps --allmatches quake2-3.20
error: package quake2-3.20 is not installed
Rpm doesn't seem to recognize the full package name, but when the command is issued on 'quake2' alone, it never gives any error.
Synaptic also returns an error when I try to delete the broken package. However, I just noticed an 'expert' tab where you can select a specific version. But when I click on the '3.20-glibc-6' option, the window flashes and the 'not installed' option becomes checked. Upon further investigation, when the package is viewed before 'remove' is clicked, the correct version is selected, but once 'remove' is clicked, it changes to 'not installed'. Maybe synaptic doesn't like trying to remove multiple versions or something....
Thank you, jon-do, and any additional help would be appreciated.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.