[CentOS] smartmontools SRPM fails

2011-01-21 Thread Mike McCarty
I want to install smarmontools v 5.40, and so I pulled the SRPM for 5.39 so I could patch and install... $ wget -Nc ftp://ftp.redhat.com/pub/redhat/linux/enterprise/6Workstation/en/os/SRPMS/smartmontools-5.39.1-2.el6.src.rpm However, the install of the source fails. $ rpm -ivh

Re: [CentOS] smartmontools SRPM fails

2011-01-21 Thread Mike McCarty
Mike McCarty wrote: [...] $ rpm -ivh smartmontools-5.39.1-2.el6.src.rpm warning: smartmontools-5.39.1-2.el6.src.rpm: V3 RSA/MD5 signature: NOKEY, key ID fd431d51 Hmm, maybe I need a later version of RPM. https://bugzilla.redhat.com/show_bug.cgi?id=436812 Mike --

Re: [CentOS] smartmontools SRPM fails

2011-01-21 Thread Jay Leafey
Mike McCarty wrote: Mike McCarty wrote: [...] $ rpm -ivh smartmontools-5.39.1-2.el6.src.rpm warning: smartmontools-5.39.1-2.el6.src.rpm: V3 RSA/MD5 signature: NOKEY, key ID fd431d51 Hmm, maybe I need a later version of RPM. https://bugzilla.redhat.com/show_bug.cgi?id=436812 Mike As I

Re: [CentOS] smartmontools SRPM fails

2011-01-21 Thread Mike McCarty
Jay Leafey wrote: Mike McCarty wrote: Hmm, maybe I need a later version of RPM. https://bugzilla.redhat.com/show_bug.cgi?id=436812 Mike As I understand it, there have been some changes in the checksum methods in the newer versions of RPM. If you want to install package built with the

Re: [CentOS] smartmontools SRPM fails

2011-01-21 Thread Lars Hecking
### [100%] error: unpacking of archive failed on file /home/jmccarty/devtools/RebuildRPM/build/SOURCES/smartd.initd;4d39deaa: cpio: MD5 sum mismatch Is the SRPM corrupted? I've pulled a few from other places for other versions (like Fedora) from

Re: [CentOS] smartmontools SRPM fails

2011-01-21 Thread Mike McCarty
Lars Hecking wrote: ### [100%] error: unpacking of archive failed on file /home/jmccarty/devtools/RebuildRPM/build/SOURCES/smartd.initd;4d39deaa: cpio: MD5 sum mismatch [...] Happens with SRPMS from newer Fedoras. Unpack it manually into

Re: [CentOS] smartmontools SRPM fails

2011-01-21 Thread Nico Kadel-Garcia
On Fri, Jan 21, 2011 at 3:03 PM, Lars Hecking lheck...@users.sourceforge.net wrote: ### [100%] error: unpacking of archive failed on file /home/jmccarty/devtools/RebuildRPM/build/SOURCES/smartd.initd;4d39deaa: cpio: MD5 sum mismatch Is the SRPM

Re: [CentOS] smartmontools SRPM fails

2011-01-21 Thread Lars Hecking
*NEVER DO THIS*. Always, always, always start your development as a normal user, not as root, and use a .rpmmacros that acts accordingly. For example, for user nkadel, in /home/nkadel/.rpmmcros, I have %_topdir /home/nkadel/rpm And I set up a subdirectories there as necessary.