LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
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


Reply
  Search this Thread
Old 08-14-2004, 11:20 AM   #1
plumba
LQ Newbie
 
Registered: Aug 2004
Posts: 1

Rep: Reputation: 0
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.
 
Old 08-14-2004, 11:37 AM   #2
Lleb_KCir
Senior Member
 
Registered: Nov 2003
Location: Orlando FL
Distribution: Debian
Posts: 1,765

Rep: Reputation: 45
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.
 
Old 08-14-2004, 11:49 AM   #3
reddazz
LQ Guru
 
Registered: Nov 2003
Location: N. E. England
Distribution: Fedora, CentOS, Debian
Posts: 16,298

Rep: Reputation: 77
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.
 
Old 08-14-2004, 05:03 PM   #4
masand
LQ Guru
 
Registered: May 2003
Location: INDIA
Distribution: Ubuntu, Solaris,CentOS
Posts: 5,522

Rep: Reputation: 69
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
 
Old 08-14-2004, 05:08 PM   #5
XavierP
Moderator
 
Registered: Nov 2002
Location: Kent, England
Distribution: Debian Testing
Posts: 19,192
Blog Entries: 4

Rep: Reputation: 475Reputation: 475Reputation: 475Reputation: 475Reputation: 475
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>.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Noob question regarding rpm packages for Suse 64bit Zzorrkk SUSE / openSUSE 6 11-27-2004 05:10 PM
RPM 'failed dependencies': Why can I not install any rpm packages? leontini Linux - Newbie 7 09-16-2003 12:44 AM
error: cannot get exclusive lock on /var/lib/rpm/Packages error: cannot open Packages inward_eye Linux - Software 3 08-24-2003 03:07 PM
Question about rpm packages fettouhi Linux - Software 6 07-07-2003 06:55 AM
creating packages (.tgz/.deb/.rpm) How from the source packages? l_9_l Linux - General 1 03-06-2002 06:03 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 08:30 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration