[Gllug] RPM difficulties

Fasih Rehman fudo at fudonet.net
Wed Oct 30 14:26:09 UTC 2002


Hello Xander,

Xander D Harkness wrote:
> Following the conversation on apt-get, it seems appropriate to chase it with 
> some rpm misery. 
>  
> I am trying to remove a package using the command rpm -e gdm 
>  
> This is the tail of the output from strace.  At the bottom it loops with a 
> permanent timeout. 
>  
> Does anyone know what the problem is and if it is fixable? 
>  
> Kind regards 
> Xander 
>  

It looks like rpm is trying to update the RPM database, but is having 
problems reading from the file, this maybe because of corruption or an 
inconsistency. Can you remove or install other packages ? If you can 
then I don't know what the problem is.

If you can't then you definately have a corrupt database.
Fortunately this sort of problem can be easily resolved.

Use the '--rebuilddb' option with rpm if this does not work on it's own 
then I would suggest you try using '--initdb' option then the 
'--rebuilddb' option. If this does not fix it I don't know what else to try.

You could backup the rpm database files first if you want to be really 
careful.


Fasih Rehman


-- 
Gllug mailing list  -  Gllug at linux.co.uk
http://list.ftech.net/mailman/listinfo/gllug




More information about the GLLUG mailing list