LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This 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


Reply
  Search this Thread
Old 07-22-2002, 04:16 PM   #1
NightMare-
LQ Newbie
 
Registered: Jul 2002
Location: California
Distribution: Attemting to use Slackware, currently a broken TH 7.3
Posts: 18

Rep: Reputation: 0
Exclamation RPM Corruption?


Hello
My distro is RH 7.1
I installed a newer version of the lib libcrypto.so.2 which in turn corrupted some of my programs that required the previous version (libssl.so.1?) Yes well...I believe this in turn corrupted my 'RPM' manager...and...now...I can't install anything.
I have tried to install a new 'RPM' manager but it doesn't work.confused
If you'd like more details ask...
Thank you (anyone)
Tyler..
 
Old 07-22-2002, 05:19 PM   #2
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985
well give some error messages for a start...

try rebuilding the database ... "rpmdb --rebuilddb"
 
Old 07-22-2002, 07:53 PM   #3
NightMare-
LQ Newbie
 
Registered: Jul 2002
Location: California
Distribution: Attemting to use Slackware, currently a broken TH 7.3
Posts: 18

Original Poster
Rep: Reputation: 0
Exclamation To Acid

Well...thanks for the fast reply...
There are no error messages, the RPM freezes up everytime I begin installation of ANY package. Although, once I tried to install from a CD(one of my installation CD's) and it froze, but I still had functioning buttons(they weren't just flat, I could "press" them[unlike during my other attempts]) I hope you understand what I mean

And also..what directory do I run that rebuild from ? I tried it from a few different dir's but it replied:
"rpm: arguments to --root (-r) must begin with a /"
Yes this is confusing me...
Thanks for any help

Tyler-
 
Old 07-22-2002, 08:11 PM   #4
Thymox
Senior Member
 
Registered: Apr 2001
Location: Plymouth, England.
Distribution: Mostly Debian based systems
Posts: 4,368

Rep: Reputation: 64
I take it you're using a GUI package manager? Try running the program itself from the commandline so that you can see what error messages it's throwing up.

For example, if you're using KPackage, then go to a command prompt (from within X) and run kpackage. Your normal GUI should pop up, and do what you would normally. If there are any problems, then some error messages should be on the command prompt.

Hope this helps.
 
Old 07-22-2002, 08:27 PM   #5
NightMare-
LQ Newbie
 
Registered: Jul 2002
Location: California
Distribution: Attemting to use Slackware, currently a broken TH 7.3
Posts: 18

Original Poster
Rep: Reputation: 0
Exclamation !

Ahh I should have thought of that
Thank you, This is the output:
"# kpackage
Xlib: extension "RENDER" missing on display ":0.0".
Unknown child process 1771 died"
I hope this helps
Tyler-
 
Old 07-22-2002, 08:52 PM   #6
Thymox
Senior Member
 
Registered: Apr 2001
Location: Plymouth, England.
Distribution: Mostly Debian based systems
Posts: 4,368

Rep: Reputation: 64
Did you run this from a command prompt from within X (KDE/Gnome/whatever)? I thought that the 'missing on display' thing usually only happened when you tried to run it from a bog-standard console, rather than a terminal session running under X.

Anyway, how did you get on with running rpmdb --rebuilddb from the command line?
 
Old 07-22-2002, 09:20 PM   #7
NightMare-
LQ Newbie
 
Registered: Jul 2002
Location: California
Distribution: Attemting to use Slackware, currently a broken TH 7.3
Posts: 18

Original Poster
Rep: Reputation: 0
Method Of Attack

I began a terminal window through KDE. I'm not sure which version(whatever is standard with RH 7.1)
I am logged as root, which is bad I know, but I am just using it to fix this(or attempt if nothing else)
And what did you mean by "bog"?
Tyler-
 
Old 07-22-2002, 09:26 PM   #8
NightMare-
LQ Newbie
 
Registered: Jul 2002
Location: California
Distribution: Attemting to use Slackware, currently a broken TH 7.3
Posts: 18

Original Poster
Rep: Reputation: 0
And as to how the rebuild command went, I can't run it. I am not in the correct directory it seems...I get two different outputs:

"rpm: arguments to --root (-r) must begin with a /"
And the basic directory not found message
And thus, I did not get through with running the rebuild command.

And...if I just ran the RPM commands via a terminal would that perhaps allow success?
Thanks for your help,
Tyler-
 
Old 07-22-2002, 09:41 PM   #9
5amYan
Member
 
Registered: Apr 2002
Location: The District
Distribution: FreeBSD, OBSD maybe Gentoo and Winblech XP
Posts: 291

Rep: Reputation: 30
from command line
rpm -ivvh package_you_want_to_install 2> rpmerr
and post rpmerr
 
Old 07-22-2002, 09:54 PM   #10
NightMare-
LQ Newbie
 
Registered: Jul 2002
Location: California
Distribution: Attemting to use Slackware, currently a broken TH 7.3
Posts: 18

Original Poster
Rep: Reputation: 0
Well...when I executed the command you gave me...nothing happened.
It just gave me another regular prompt.
i.e.
# rpm -ivvh package_you_want_to_install 2> rpmerr
#
There was no output or posting of any type. The command didn't take any time to execute.(instantaneous)
Confusion-
Tyler-
 
Old 07-22-2002, 10:07 PM   #11
5amYan
Member
 
Registered: Apr 2002
Location: The District
Distribution: FreeBSD, OBSD maybe Gentoo and Winblech XP
Posts: 291

Rep: Reputation: 30
look in your home directory there should now be a file called rpmerr

you redirected(>) the stderr(2) to a file (rpmerr)
 
Old 07-22-2002, 11:04 PM   #12
linuxcool
LQ Addict
 
Registered: Jun 2001
Posts: 1,183

Rep: Reputation: 47
I thought the command was:

rpm --rebuilddb
 
Old 07-22-2002, 11:19 PM   #13
5amYan
Member
 
Registered: Apr 2002
Location: The District
Distribution: FreeBSD, OBSD maybe Gentoo and Winblech XP
Posts: 291

Rep: Reputation: 30
rpmdb --rebuilddb

It has one of those pesky extra hashes
I wanted to see what errors were occurring.
 
Old 07-22-2002, 11:25 PM   #14
NightMare-
LQ Newbie
 
Registered: Jul 2002
Location: California
Distribution: Attemting to use Slackware, currently a broken TH 7.3
Posts: 18

Original Poster
Rep: Reputation: 0
D: counting packages to install
D: found 1 packages
D: looking for packages to download
D: retrieved 0 packages
errror : cannot open file openssl-"version".i386.rpm: no such file or directory
version was just file ver.
I really have a lot to learn about parameters...
Thanks,
Tyler
 
Old 07-22-2002, 11:32 PM   #15
NightMare-
LQ Newbie
 
Registered: Jul 2002
Location: California
Distribution: Attemting to use Slackware, currently a broken TH 7.3
Posts: 18

Original Poster
Rep: Reputation: 0
And yes, the command was rpm --rebuilddb
 
  


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 On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Openoffice Corruption littauer99 Linux - Software 0 11-16-2004 09:41 AM
Grub corruption by 9.2 James McGee SUSE / openSUSE 1 11-16-2004 07:13 AM
Graphic corruption ratman96 Linux - Hardware 2 01-07-2004 07:28 PM
Squid corruption silva Linux - Newbie 2 07-18-2003 01:18 PM
ide corruption someuser Linux - General 0 10-25-2002 04:15 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 01:19 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
Open Source Consulting | Domain Registration