LinuxQuestions.org
Share your knowledge at the LQ Wiki.
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 06-10-2003, 07:58 PM   #1
digsby0007
Member
 
Registered: Jan 2003
Posts: 94

Rep: Reputation: 15
installing rpms


I am running red hat 8.0, and when i try to install an rpm (i386, or src) It asks me for my root passwd, then after I enter that it goes through and says its processing headers, then it lags for a second, and then the rpm install screen goes away. This problem only started happening about 2 weeks ago. It use to process headers, the check for dependancies, and if it found them all, it would install the rpm. Am I missing something? Have I changed something that doesnt allow me to now install rpms.


Thanks
Digsby
 
Old 06-10-2003, 08:11 PM   #2
Crashed_Again
Senior Member
 
Registered: Dec 2002
Location: Atlantic City, NJ
Distribution: Ubuntu & Arch
Posts: 3,503

Rep: Reputation: 57
Sometimes you get a lock file in the rpm database. Try doing this(as root):

rm -f /var/lib/rpm/db__*
rpm --rebuilddb

This will refresh the database and may solve your issue.
 
Old 06-10-2003, 08:15 PM   #3
DrOzz
Senior Member
 
Registered: May 2003
Location: Sydney, Nova Scotia, Canada
Distribution: slackware
Posts: 4,185

Rep: Reputation: 60
is it a source(src) rpm? cause i noticed that sometimes on redhat machines if you double click them, that is all they will do, is what you said, process headers or whatever and just closes....also, if it is not a source rpm then i can tell you of a i guess we can call a bug in redhats rpm installing....well i won't tell you about it, i will just tell you what to do to fix it whenever the rpm installs screw up...(cause this won't be the first time :P)
all you do is log in as root in the terminal, and navigate to the folder:
/var/lib/rpm
then issue the command:
rm -f __db.*
this will remove the three files __db.001 .002, and .003...
double click the rpm you wish to install and it will work once again..
 
Old 06-10-2003, 08:16 PM   #4
DrOzz
Senior Member
 
Registered: May 2003
Location: Sydney, Nova Scotia, Canada
Distribution: slackware
Posts: 4,185

Rep: Reputation: 60
hah looks like someone replied while i was typing...
and just to note i never had to do the rebuild, but it won't hurt if you do it or not..
 
Old 06-11-2003, 07:00 PM   #5
digsby0007
Member
 
Registered: Jan 2003
Posts: 94

Original Poster
Rep: Reputation: 15
ok as root I removed the files, and also rebuilt the database, and I am still getting the same problem. As root I tried to install the src, and the i386 version of the same rpm.

Thanks,
Digsby
 
Old 06-12-2003, 03:41 AM   #6
Quis
Member
 
Registered: May 2001
Location: Germany, Süd-Baden
Distribution: Gentoo
Posts: 139

Rep: Reputation: 15
my personal recommendation is installing RPMs with command line.
i think your RedHat-RPM install tool problem is common, i had this mess too.
then i get used to install RPMs with the shell, like
rpm -ivh [RPM-name] and so on ...
if you want to use gui's try another (more powerful) one
(Not a very good solution ..)
 
  


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
Installing RPMS Demon86 Linux - Newbie 1 05-22-2005 03:20 AM
Installing RPMs NomadABC Fedora 2 01-08-2005 09:28 AM
Installing RPMs Neutron1998 Fedora 1 11-11-2004 11:59 PM
installing rpms BLAMM0 Debian 5 09-03-2003 06:24 AM
Need help installing RPMs Lossenelin Linux - Newbie 2 11-03-2002 03:38 PM

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

All times are GMT -5. The time now is 09:53 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