odd gurpmi problem

2003-08-22 Thread Isaac
hi,

anyone know what this could be?  i just get this error and can't install 
anything via rpmdrake:

perl: rpmio_internal.h:447: c2f: Assertion `fd  fd-magic == 0x04463138' 
failed.
Aborted

i get the same message if i just run gurpmi at the command line. manually 
installing rpms at the command line works though.

TIA





Re: odd gurpmi problem

2003-08-22 Thread Brice Figureau
On Fri, 2003-08-22 at 16:23, Isaac wrote:
 anyone know what this could be?  i just get this error and can't install 
 anything via rpmdrake:
 
 perl: rpmio_internal.h:447: c2f: Assertion `fd  fd-magic == 0x04463138' 
 failed.
 Aborted
 
 i get the same message if i just run gurpmi at the command line. manually 
 installing rpms at the command line works though.

I got the same problem a few times, but I can't exactly remember how I
recovered from them.

Each time it happened because I interrupted a long process of upgrades
through urpmi.

I guess this is a problem of little-endian/big-endian mismatch somewhere
because I never had this issue with x86.

Anyway, try to rebuild your rpm database a few times, it might help to
solve the problem:

$ rpm --rebuilddb

Also try to upgrade (by hand) urpmi and its dependencies (perl-URPM,
rpm...), and rebuild the database with the new tools. 
The cooker version I run seems to be immune to this problem...

I hope this will help you,
Regards,

--
Brice