LinuxQuestions.org
Share your knowledge at the LQ Wiki.
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-08-2002, 01:03 AM   #1
jester_69
Member
 
Registered: May 2002
Location: Sydney Australia
Distribution: Redhat 6.1 & 7.2
Posts: 91

Rep: Reputation: 15
RPM upgrade problem


I am running a Redhat 6.1 machine & need to install RPM 4.0.2 to allow the further installation of some progams. I have d/led rpm-4.0.2-6x.i386.rpm & the devel package but when i do a rpm Fvvh or a rpm Uvvh rpm-4.0.2-6x.i386.rpm i get the following
D: running preinstall script (if any)
+ [ -f /var/lib/rpm/Packages -a -f /var/lib/rpm/packages.rpm ]
+ exit 1
execution of rpm-4.0.2-6x script failed, exit status 1

at the end of it. What/how can i get around this??

I currently have RPM: rpm-4.0-6x.src.rpm installed on my machine
 
Old 06-08-2002, 01:34 AM   #2
neo77777
LQ Addict
 
Registered: Dec 2001
Location: Brooklyn, NY
Distribution: *NIX
Posts: 3,704

Rep: Reputation: 56
Every package comes with md5sum at least the ones I am getting from www.rpmfind.net, after downloead always check the integrity of the file with md5sum and compare the one that comes with the package. And there is no need to double post :-)
 
Old 06-08-2002, 02:07 AM   #3
jester_69
Member
 
Registered: May 2002
Location: Sydney Australia
Distribution: Redhat 6.1 & 7.2
Posts: 91

Original Poster
Rep: Reputation: 15
Could you show example of how i should check this??

Also if programs are saying they need the version of RPM what workarounds do i have available. I have downloaded it twice

ftp://rpmfind.net/linux/redhat/updat....2-6x.i386.rpm &
ftp://rpmfind.net/linux/rpm.org/rpm/....2-6x.i386.rpm

Both of these when doing a freshen or upgrade are giving this error message (scripts failed)

Regards

Andrew
 
Old 06-08-2002, 02:18 AM   #4
neo77777
LQ Addict
 
Registered: Dec 2001
Location: Brooklyn, NY
Distribution: *NIX
Posts: 3,704

Rep: Reputation: 56
after downloead locate the package in console and run
md5sum package.rpm
it will return a string of numbers and letters
For example if you go to
http://rpmfind.net//linux/RPM/redhat...2-6x.i386.html
you will see under signature
MD5: aec1afb2f63002a03ea6630365f18a48
so if you going to grab this file and run
md5sum against it the numbers should match up.
 
Old 06-08-2002, 03:03 AM   #5
jester_69
Member
 
Registered: May 2002
Location: Sydney Australia
Distribution: Redhat 6.1 & 7.2
Posts: 91

Original Poster
Rep: Reputation: 15
This is a bit of a worry I just downloaded ftp://rpmfind.net/linux/redhat/updat....2-6x.i386.rpm again from http://rpmfind.net//linux/RPM/redhat...2-6x.i386.html & when i did a checksum on the file i got the following output

[root@echelon /root]# md5sum rpm-4.0.2-6x.i386.rpm
0fb05fb1600edcb55fbcbbdb1edb40d8 rpm-4.0.2-6x.i386.rpm

On the actual page it says it should be
MD5: aec1afb2f63002a03ea6630365f18a48


Whats going on here????
 
  


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
preserve configuration files during RPM upgrade (rpm -U) charrua Red Hat 3 03-14-2004 02:18 PM
Problem openssl rpm upgrade simquest Linux - Software 1 03-03-2004 03:58 PM
RPM upgrade problem jester_69 Linux - General 0 06-08-2002 01:02 AM
upgrade rpm shiman Linux - Software 0 04-16-2002 11:30 PM
RPM Upgrade Problem webboss Linux - General 3 03-22-2001 04:56 AM


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