Re: smartmontools SRPM fails

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



On Fri, Jan 21, 2011 at 3:03 PM, Lars Hecking
<lhecking@xxxxxxxxxxxxxxxxxxxxx> 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 corrupted? I've pulled a few from other places for
>> other versions (like Fedora) from pbone, and they all have
>> this problem.
>>
>> Any hints available?
>
>  Happens with SRPMS from newer Fedoras. Unpack it manually into
>  /usr/src/redhat/SOURCES and move the spec file into place.
>

*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.
_______________________________________________
CentOS mailing list
CentOS@xxxxxxxxxx
http://lists.centos.org/mailman/listinfo/centos



[Index of Archives]     [CentOS]     [CentOS Announce]     [CentOS Development]     [CentOS ARM Devel]     [CentOS Docs]     [CentOS Virtualization]     [Carrier Grade Linux]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Linux USB]
  Powered by Linux