LinuxQuestions.org
Help answer threads with 0 replies.
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 09-30-2008, 11:43 AM   #1
vikas027
Senior Member
 
Registered: May 2007
Location: Sydney
Distribution: RHEL, CentOS, Ubuntu, Debian, OS X
Posts: 1,305

Rep: Reputation: 107Reputation: 107
Question Strange error installing RPM


Hi all,

I need to install Raidtools RPM on my RHEL 5 machine.
I have downloaded the RPM from ftp://ftp.muug.mb.ca/mirror/redhat/r...0.3-2.i386.rpm

I am getting this strange error.

Code:
[root@vikas_vicky /]# rpm -ivh raidtools-1.00.3-2.i386.rpm
warning: raidtools-1.00.3-2.i386.rpm: Header V3 DSA signature: NOKEY, key ID db42a60e
Preparing...                ########################################### [100%]
   1:raidtools              ########################################### [100%]
error: unpacking of archive failed on file /sbin/raidstart;48e2930b: cpio: read
I have gone through 2-3 threads relating to same topic, but in those topics file exists, in my case /sbin/raidstart does not exist, so there is no point of permissions issue.

Code:
[root@vikas_vicky /]# rpm -qpl raidtools-1.00.3-2.i386.rpm
warning: raidtools-1.00.3-2.i386.rpm: Header V3 DSA signature: NOKEY, key ID db42a60e
/sbin/arytst
/sbin/detect_multipath
/sbin/lsraid
/sbin/mkraid
/sbin/raid0run
/sbin/raidhotadd
/sbin/raidhotremove
/sbin/raidreconf
/sbin/raidsetfaulty
/sbin/raidstart
/sbin/raidstop
/usr/share/doc/raidtools-1.00.3
/usr/share/doc/raidtools-1.00.3/COPYING
/usr/share/doc/raidtools-1.00.3/README
/usr/share/doc/raidtools-1.00.3/multipath.conf.sample
/usr/share/doc/raidtools-1.00.3/raid0.conf.sample
/usr/share/doc/raidtools-1.00.3/raid1.conf.sample
/usr/share/doc/raidtools-1.00.3/raid4.conf.sample
/usr/share/doc/raidtools-1.00.3/raid5.conf.sample
/usr/share/doc/raidtools-1.00.3/raidtab.sample
/usr/share/man
/usr/share/man/man5
/usr/share/man/man5/raidtab.5.gz
/usr/share/man/man8
/usr/share/man/man8/ckraid.8.gz
/usr/share/man/man8/lsraid.8.gz
/usr/share/man/man8/mkraid.8.gz
/usr/share/man/man8/raid0run.8.gz
/usr/share/man/man8/raidadd.8.gz
/usr/share/man/man8/raidreconf.8.gz
/usr/share/man/man8/raidrun.8.gz
/usr/share/man/man8/raidstart.8.gz
/usr/share/man/man8/raidstop.8.gz
[root@vikas_vicky /]#

These are permissions of my /sbin/ directory
Code:
[root@vikas_vicky /]# ls -ld /sbin
drwxrwxr-x+ 2 root root 12288 Oct  1 02:30 /sbin
Pls help !! Also, if someone has some other link to download raidtools for RHEL5, please give me the link.

Regards,
VIKAS
 
Old 09-30-2008, 02:47 PM   #2
MensaWater
LQ Guru
 
Registered: May 2005
Location: Atlanta Georgia USA
Distribution: Redhat (RHEL), CentOS, Fedora, CoreOS, Debian, FreeBSD, HP-UX, Solaris, SCO
Posts: 7,821
Blog Entries: 15

Rep: Reputation: 1664Reputation: 1664Reputation: 1664Reputation: 1664Reputation: 1664Reputation: 1664Reputation: 1664Reputation: 1664Reputation: 1664Reputation: 1664Reputation: 1664
It seems to be telling you it had an error getting the /sbin/raidstart out of the package. This suggests the RPM itself is corrupted. You might want to compare the md5sum of what is on your system to the one that was on the site you downloaded from - usually people providing packages provide the md5sum so you'll know you got what they intended.

Also a couple of useful utilities for examining the package you have:

rpm -qlp <package>.rpm
Shows the contents of a package but doesn't extract anything.

rpm2cpio <package>.rpm | cpio -i --make-directories [filename_to_extract]
Extracts the contents into the local directory. The [filename_to_extract]would be any of the files shown in the rpm -qlp so that you can extract only what you want (e.g. the /sbin/raidstart).
 
  


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
Strange error when installing/removing anything scratched Ubuntu 2 04-10-2006 08:24 PM
Error installing RPM, PLEASE HELP!!! mussussu Linux - Software 6 10-24-2005 06:30 PM
Installing mercury.bin strange error John_Emad SUSE / openSUSE 1 02-16-2005 04:06 PM
Strange RPM error matrim Red Hat 7 01-25-2005 12:23 PM
Strange RPM Error woknroll Linux - General 2 03-12-2002 09:03 AM

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

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