Linux - GeneralThis Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.
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.
For some strange reason I am unable to uninstall RPMs. I never had a problem with other redhat versions, only 8.0.
RPMs install like a charm but when you try to uninstall them it says the rpm is not installed. Anyone have any ideas?
you can try
rpm -qa name
and it will return all the rpms with this name, it doesn't have to be the exact name, first three letters is enough.
remember for using rpm -e you have to put only the rpm name, without .i*86.rpm.
e.g
rpm -i whatever.i586.rpm
rpm -e whatever
To install I've typed rpm -ivh name.rpm
The install always says 100% complete. When I try uninstalling it by typing rpm -e name.rpm it says "rpm not installed"
When I type rpm -qa name it just gives me a prompt as if it found nothing. Maybe my problem is installing, not uninstalling. It says it installed but maybe it doesn't actually do anything. I never had this problem with older RH versions.
rpm -qa|egrep name|xargs
Check that it is correct. If it is, do.
rpm -qa|egrep name|xargs rpm -e
Also, I'm still not seeing any messages.
What _Exactly_ are you typing?
It could be that the -qa flag works like locate and it gives back what in the database is, so it will give real results when you update this db or restart the system.
Quote:
Originally posted by kaidoggy When I try uninstalling it by typing rpm -e name.rpm it says "rpm not installed"
you have to use -e only with the name of the package
rpm -e name
If nothing of this helps, you should try to install, and uninstall one other package. The error could be in the package you're trying to install. BTW, what kind of package is it?
Thanks for all of the help.
I this issue has happened when I tried to install Bastille and a java plugin for my web browser...Mozilla.
When I installed each of these packages my system first acted as if nothing had changed. When I try to delete the RPMs using the RPM -e option I receive an error stating that this cannot be completed because the paceage is not installed. When I attempt to reinstall I receive an error stating that this pacage cannot be installed becasue ti is already installed.
Again thanks for all of the help,
Michael
well, I really don't know what can it be, the only thing I would do is look for a newer package of Bastille with the -U option
rpm -i -U Bastille-whatever.rpm
or try to install the old one using --force option
rpm -i --force Bastille-whatever.rpm
good luck!
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.