-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
On Thursday 18 September 2003 21:25, RichardA wrote:
> The ssh exploit reminded me to update. I did "urpmi.update -a", which
> went fine.
> Then I did "urpmi -v --auto-select". It wanted to download 300MB +, so I
> let it. Then a message about bad signatures, so I said yes again. Then::
>
> starting installing packages
> rpmdb: region error detected; run recovery.
> Can't call method "create_transaction" on an undefined value at
> /usr/lib/perl5/vendor_perl/5.8.0/urpm.pm line 2008, <STDIN> line 2.
>
> Something is broken, methinks.
>
> Richard
If you are talking about Mandrake 9.1 then the answer is simple - your rpm db
just broke up. It's pretty simple to fix it though. First you have to delete
the old rpm db:
# rm -rf /var/lib/rpm/__db.*
then just rebuild the db (without loosing the currently installed packages
list):
#rpm --rebuilddb
I don't think i have to mention that all this should be done as root
After the rebuilddb finish - go ahaead and update your sources again
(urpmi.update -a). And next time you want to update something ONLY from the
updates mirror - you can use the --update switch with the urpmi that tells it
to use ONLY the updates.
- --
Yours
Phazeman
- -----------------------------
Linux registered user #218370
Using Mandrake Linux 9.1
Mandrake Club Registered User
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.2 (GNU/Linux)
iD8DBQE/ahAaMPblvdKsczYRAoc+AKDLgiO3WvgXMyfyBbqhqaWKRhAMNgCeJrGW
oUb0Rg9/Joc3By8vhD3JY04=
=6BFi
-----END PGP SIGNATURE-----
Want to buy your Pack or Services from MandrakeSoft?
Go to http://www.mandrakestore.com