Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum. |
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.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
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.
|
 |
08-14-2004, 11:20 AM
|
#1
|
LQ Newbie
Registered: Aug 2004
Posts: 1
Rep:
|
Question about rpm packages
Hi
My system is Mandrake 10. And I have a question...
When I would like to install a software to my system,
I could do it with the rpmdrake program, and I can remove that program too.
But when I would like to install an rpm package which is not
on the Mandrake CDS, I used to do this with the rpm -i command,
but when I would like to remove that package with the rpm -e command, it says this:
error: package jre-1_5_0-beta2-linux-i586.rpm is not installed .
However, if I try to install it again it says this:
package jre-1.5.0-beta2 is already installed
Why is this? How can I remove the package in this situation??
Thank you for your help in advance.
|
|
|
08-14-2004, 11:37 AM
|
#2
|
Senior Member
Registered: Nov 2003
Location: Orlando FL
Distribution: Debian
Posts: 1,765
Rep:
|
dont know why, but you might want to check out 'yum' for further RPM updates, and new programs.
yum works very simple for the user. just type yum update file, or yum install file and it will go out, search for the package, find ALL dependancies, then install/update them for you.
it will cut down on the hassle you are facing now.
|
|
|
08-14-2004, 11:49 AM
|
#3
|
LQ Guru
Registered: Nov 2003
Location: N. E. England
Distribution: Fedora, CentOS, Debian
Posts: 16,298
Rep:
|
rpm is probably having a problem reading your software database. Try reinstalling the jre package by running the following "rpm -Uvh --force --nodeps jre-1_5_0-beta2-linux-i586.rpm" and hopefully your problem should be fixed.
|
|
|
08-14-2004, 05:03 PM
|
#4
|
LQ Guru
Registered: May 2003
Location: INDIA
Distribution: Ubuntu, Solaris,CentOS
Posts: 5,522
Rep:
|
try rebuilding ur database
by
#rpm --rebuilddb
see the package details of abc.rpm
#rpm -qa|grep abc.rpm
just to check why did this happen???
did u previously try to install this rpm and stop in between????
regards
gaurav
|
|
|
08-14-2004, 05:08 PM
|
#5
|
Moderator
Registered: Nov 2002
Location: Kent, England
Distribution: Debian Testing
Posts: 19,192
|
Quote:
Originally posted by plumba
error: package jre-1_5_0-beta2-linux-i586.rpm is not installed .
|
That isn't the name of the installed package. Try:
rpm -e jre or
rpm -e jre-1_5_0 or
rpm -e jre-1_5_0-beta2
Although you install with rpm -ivh <packagename.rpm once it's installed the .rpm is no longer a part of the program's name, you then uninstall with rpm -e <packagename>.
|
|
|
All times are GMT -5. The time now is 06:54 PM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|