RPM package read errors with Smart 1.4.1
Steve Morris
samorris at netspace.net.au
Wed Dec 7 11:59:38 PST 2011
Hi Keith,
How do I work out what is causing the problem? I found that there
were a whole heap of rpm and .part files in the packages directory which
I removed and I also removed the cache file but it made no difference to
the issue.
I am using Mandriva 2011.0, and the issue I have is I get these
message at the start of the process having issued the command smart
update and it usually also occurs about 75% of the way through, which as
far as I am aware during this process rpm doesn't play any part in what
is being done. All this process is doing is updating smart's view of the
repositories.
The other thing I don't understand is that while this issue is
impacting smart, there is no issue with the native Mandriva package
managers.
regards,
Steve
On 07/12/11 22:26, Keith Roberts wrote:
> On Wed, 7 Dec 2011, Steve Morris wrote:
>
>> To: smart <smart at labix.org>
>> From: Steve Morris <samorris at netspace.net.au>
>> Subject: RPM package read errors with Smart 1.4.1
>>
>> Hi,
>> Is anyone able to tell me what these error messages that smart
>> continually produces mean. Not only are these being displayed in the
>> cli, but I believe they are also causing problems with the gui and
>> causing it to continually hang.
>>
>> error: rpmpkgRead: Header: hdr blob(19728): BAD, read returned 8725 :
>> error code: 2 ( 0%)
>> error: rpmpkgRead: Header: Header SHA1 digest: BAD
>> Expected(0dc56c4bffabdf49716ccbdfcda8fdfa9df342de) !=
>> (e0b4ad997e987987d1759a84d8d38de285afc94e) : error code: 2
>
> OK Steve. Basically each RPM package is digitally signed to make sure
> it is not corrupted accidently during downloading, or more maliciously
> by a hacker.
>
> Smart is a front end to the distro's package manager, in this case it
> looks like RPM.
>
> So the error code is telling you that RPM checked the validity of the
> RPM package, and it was expecting a SHA1 checksum of:
>
> Expected(0dc56c4bffabdf49716ccbdfcda8fdfa9df342de)
>
> But instead it got:
>
> (e0b4ad997e987987d1759a84d8d38de285afc94e) : error code: 2
>
> What OS and version are you on please?
>
> Also there was a change in the RPM packaging format, so that packages
> built with the older version of RPM would not work on the latest newer
> version of RPM.
>
> Smart is very good, and I recently used it fix my Centos 5.6 box with
> a lot of repositories that had dependency conflicts. It is also good
> to know how to use RPM from the command line, and not be totally
> reliant on Smart or other RPM front-ends ;)
>
> If you have time and you wanted to learn RPM I'd recommend this free
> online work:
>
> Maximum RPM
>
> Copyright © 2000 Red Hat, Inc.
> Taking the RPM Package Manager to the Limit
>
> Edward C. Bailey
> Red Hat, Inc.
> Paul Nasrat
> Matthias Saou
> Ville Skyttä
> 1-888172-78-9
>
> http://www.rpm.org/max-rpm-snapshot/
>
> There is also a helpfull user mailing list for RPM found here:
>
> http://www.rpm.org/wiki/Communicate
>
> HTH
>
> Kind Regards,
>
> Keith Roberts
>
> -----------------------------------------------------------
> Websites:
> http://www.karsites.net
> http://www.php-debuggers.net
> http://www.raised-from-the-dead.org.uk
>
> All email addresses are challenge-response protected with
> TMDA [http://tmda.net]
> -----------------------------------------------------------
-------------- next part --------------
A non-text attachment was scrubbed...
Name: samorris.vcf
Type: text/x-vcard
Size: 126 bytes
Desc: not available
URL: <http://lists.labix.org/pipermail/smart-labix.org/attachments/20111208/1085fefc/attachment-0003.vcf>
More information about the Smart
mailing list