home bbs files messages ]

Forums before death by AOL, social media and spammers... "We can't have nice things"

   alt.os.linux.mandriva      Somewhat decent but also getting bloated      29,919 messages   

[   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]

   Message 28,391 of 29,919   
   ArameFarpado to All   
   Way to remove ghost packages from rpm da   
   22 Jul 12 16:04:27   
   
   From: a-farpado.spam@netcabo.pt   
      
   Hi   
      
   I'm running Cooker here for some time, and with all constant changes this   
   system have, sometimes we have to check and reconfigure same things   
   manually.   
      
   rpmduplicates shows me that I have two packages duplicacted:   
      
   rpm -qa|grep perl-Event-RPC   
   perl-Event-RPC-1.10.0-1mdv2011.0.noarch   
   perl-Event-RPC-1.10.0-2-mdv2012.0.noarch   
      
      
   rpm -qa|grep diffutils   
   diffutils-3.0-1mdv2011.0.i586   
   diffutils-3.2-2-mdv2012.0.i586   
      
   The problem is that I can't remove the old ones:   
      
   # rpm -e perl-Event-RPC-1.10.0-1mdv2011.0.noarch   
   a alocação de memória (0 bytes) devolveu NULL.   
   (0 bytes memory alocating)   
      
   # rpm -e diffutils-3.0-1mdv2011.0.i586   
   rpmdb: /var/lib/rpm/Packages: BDB0088 DB_SECONDARY_BAD: Secondary index   
   inconsistent with primary   
   error: db3cdel:db3.c:1482: dbcursor->del(-30972): BDB0088 DB_SECONDARY_BAD:   
   Secondary index inconsistent with primary   
      
      
      
   Tryed with urpme, rpm -e, rpmdrake and smart --gui   
   no one can remove these two packages and I believe they are not in the   
   system anymore, and are just lost entries in the rpm database.   
      
   Does you know a way to remove these two entries from the database without   
   damaging the database?   
      
   Many thanks   
   ArameFarpado   
      
   --- SoupGate-Win32 v1.05   
    * Origin: you cannot sedate... all the things you hate (1:229/2)   

[   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]


(c) 1994,  bbs@darkrealms.ca