YUP and Apparent RPM Database Corruption


Subject: YUP and Apparent RPM Database Corruption
From: C. C. Wood (ccw@lanl.gov)
Date: Thu Dec 06 2001 - 09:16:52 MST


Two (probably related) problems, please:

Config: YDL 2.0, PB2000 Pismo, dual boot with MacOS 9.2.1

1. YUP reports multiple entries in the RPM database. I've scoured
the RPM man pages and www.rpm.org but can't find any instructions for
correcting multiple entries. What have I missed? Sorry if this is
obvious somewhere.

2. YUP subsequently crashes with "End of block not found" errors.

Both are documented below.

    [root@localhost ccwood]# /usr/sbin/yup --ignore-deps update
    Reading RPM database... (100%)
    Warning: Multiple entries found in RPM database --
    
    Checking for package list updates...
    ftp.yellowdoglinux.com ready
    yup.db.stat: 0 KB read (100%) 0.5 KB/s Package list is up to date...
    Reading package list... (98%)Traceback (innermost last):
      File "/usr/sbin/yup", line 29, in ?
        yup.main()
      File "/usr/lib/yup/yup.py", line 335, in main
        myyupdb.ReadRemoteList()
      File "/usr/lib/yup/yupdb.py", line 893, in ReadRemoteList
        db.enterblock()
      File "/usr/lib/yup/yupdbfile.py", line 262, in enterblock
        raise IndexError, 'End of block not found'
    IndexError: End of block not found
    
    
Is there any solution short of a clean reinstall? Much appreciated.

Cheers,

Chris



This archive was generated by hypermail 2a24 : Thu Dec 06 2001 - 09:30:59 MST