Re: syncRpms.py error...need help

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

 



On Sat, 1 Nov 2003 15:13:44 +0530
Gautam Pagedar [Gautam] wrote:

Gautam> Hi Alain.
Gautam>     I would just like to tell you what i have done till now. I got the patch
Gautam> you send me, I patched the file....I run the script...it did not give me any
Gautam> error but after some time it gave me an error. I am attaching the script and
Gautam> the error so that you can test the script and let me know if i am doing
Gautam> something wrong.
Gautam> 
Gautam> 
Gautam> --------------------------syncRpms.py---------------------------------
[...]
Gautam> ----------------Error Message --------------------------
Gautam> 
Gautam> error: rpmts_HdrFromFdno: MD5 digest: BAD
Gautam> Expected(d032691d5dd4eed8bc3304b8cb0ba962) !=
Gautam> (34ee1ffd96d41da80a88e9dafb9b0a06)
Gautam> Traceback (most recent call last):
Gautam>   File "/bin/syncRpms.py", line 46, in ?
Gautam>     hdr = ts.hdrFromFdno(fd)
Gautam> rpm.error: error reading package header

you may have a bad rpm, you should try to run the script on
a small set of rpms and a small list as well to see if everything's ok.
you should try to display the name of the current rpm to see which 
one may be corrupted, by adding the first line below:

             print fname
             fd = os.open(fname, os.O_RDONLY)

beware of the indentation ! ;-)

-- 
Alain




[Index of Archives]     [Red Hat General]     [CentOS Users]     [Fedora Users]     [Fedora Maintainers]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]

  Powered by Linux