Re: [expert] RPM troubles

2002-12-04 Thread kwan
On 4 Dec 2002, Alan Carbutt wrote:

> error: db4 error(-30979) from db->verify: DB_VERIFY_BAD: Database
> verification failed
> 
> I'm not too familiar with RPM, so I was wondering if anyone has run
> across this and if I should be worried about this.

It sounds like a corrupt database, but I've never seen a message like
that one before. You can try rebuilding the database with:

  rpm --rebuilddb

You'll need write access to the rpm database.



Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com



[expert] RPM troubles

2002-12-04 Thread Alan Carbutt
I was updating the latest errata for LM 9.0 and I got the following
output:

[root@x errata]# rpm -Fvh *
rpmdb: Unreferenced page 3479
rpmdb: Unreferenced page 3480
rpmdb: Unreferenced page 3481
rpmdb: Unreferenced page 3482
error: db4 error(-30979) from db->verify: DB_VERIFY_BAD: Database
verification failed

I'm not too familiar with RPM, so I was wondering if anyone has run
across this and if I should be worried about this.
TIA,
-- 
Alan Carbutt
Systems Administrator/Programmer
Adams State College
719-587-7741
[EMAIL PROTECTED]





Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com



Re: [expert] rpm troubles in LM 8.0

2001-05-29 Thread Brian Hartman

On Tuesday 29 May 2001 07:15 pm, Bobby Welch wrote:


Bobby,

It sounds like your problem is how you're calling the comands.  The install 
command works different from the uninstall command.

To install:

rpm -Uvh  filename.rpm

To *un*install:

rpm -e filename


The best way to see what you have to type to uninstall an rpm is to watch 
what it says when it's installing.  For example, if you install 
kdelibs-22.0alpha.i386.rpm (not a real filename, but an example), you'll see 
something like this:

kdelibs   #

To uninstall, you would type "rpm -e kdelibs" rather than the whole filename.

Hope that helps explain things.


> Hello,
>When I install an rpm (rpm -Uvh filename.rpm) everything goes ok.
> But, when I go to unistall the rpm it says that the rpm does not exist?
> But, if I try to install it again it says that it has already been
> installed?  I even try to update the rpm data base (rpm -i --rebuilddb)
> but I still cannot unistall rpms.  Anyone have any idea what the problem
> could be?
>
> Thanks




[expert] rpm troubles in LM 8.0

2001-05-29 Thread Bobby Welch

Hello,
   When I install an rpm (rpm -Uvh filename.rpm) everything goes ok.  
But, when I go to unistall the rpm it says that the rpm does not exist?  
But, if I try to install it again it says that it has already been 
installed?  I even try to update the rpm data base (rpm -i --rebuilddb) 
but I still cannot unistall rpms.  Anyone have any idea what the problem 
could be?

Thanks