LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
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 03-18-2003, 11:10 AM   #1
leisure
LQ Newbie
 
Registered: Mar 2003
Posts: 12

Rep: Reputation: 0
Arrow Help with RPM


Here's the post-mortem:

1) When using the Package Management Tool (in GNOME), I try to add the Development tools (a single check mark). I open the details link and fine tune the packages I want to install.

2) After I click on update, it compiles the package dependencies, and it comes back with an error in a popoup window, saying something like (these are not the exact same messages nor the same version number, but the principle is pretty much the same):

The following packages are not installed and are required in order to install the new packages, and then it shows the details:

openssl-0.98-1 required by openssldevel-1.4.3
openldap-1.5.4-3 required by openldapdevel-1.7.8.3
.... (like five of them)

3) However if I bring up a terminal and issue the following command:

#rpm -q openssl

I get:

openssl-0.99-5

What tells me that there is a newer version installed, and for some reason the program doesn't pick up this new version.

At first I thought it was only for these packages, but as I gave up and tried to configure an HP DJ 970, I realized that I was missing a package. I tried to do the same thing (using the GUI) to install the missing package and it came back with the same error, but different module (it had nothing to do with the openssl, ldap, etc. - I believe it was the ghostview).


I'm thinking of:
1) run rpm -qa > shellfile
2) backing up my /var/lib/rpm directory
3) rpm -initdb
4) modify my shellfile to issue the command to install all packages (with the justdb option)

But before doing that, I wanted to know if there was an easier way, since I'm not an expert.... that will just be experimenting with my system (totally against for since I've spent a lot of time already configuring some other stuff). Also, would that be a reasonable approach?

Thanks!
 
Old 03-18-2003, 11:14 AM   #2
Crashed_Again
Senior Member
 
Registered: Dec 2002
Location: Atlantic City, NJ
Distribution: Ubuntu & Arch
Posts: 3,503

Rep: Reputation: 57
Personally I've had a bad experience with the rpm GUI apps. I find it much easier to do things from a shell. Before doing all that you might want to try and rebuild the rpm database. This has solved a lot of rpm problems for me:

rpm -f /var/lib/rpm/__db*
rpm --rebuilddb
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
rpm -Uvh does not work with header & rpm files in /var/spool/up2date jd_no7 Linux - Software 1 05-17-2004 05:24 PM
How do I force an older rpm to install over a newer rpm of wine onyx Linux - Software 4 02-20-2004 12:44 AM
rpm error only says"rpm: relocation error: rpm: undefined symbol: poptAliasOptions" dlrsims Linux - Newbie 2 11-14-2003 09:22 PM
.src.rpm, .i386.rpm and .i686.rpm hhegab Linux - Software 2 06-19-2003 07:19 AM
Help : rpm dependency error when install video driver rpm ymdwxm Linux - Software 1 04-04-2003 04:55 PM


All times are GMT -5. The time now is 04:50 AM.

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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration