update/upgrade fails

this update error and the upgrade fails, what can the error be

1 Subprocess failed. Error: RPM failed: error: package libxml2-32bit-2.7.7-4.7.1.x86_64 is not installed

2 Subprocess failed. Error: RPM fejlede: error: db3 error(-30987) from dbcursor->c_get: DB_PAGE_NOTFOUND: Requested page not found
error: error(-30987) getting “” records from Requireversion index
error: db3 error(-30987) from dbcursor->c_get: DB_PAGE_NOTFOUND: Requested page not found
error: error(-30987) getting “” records from Requireversion index
error: db3 error(-30987) from dbcursor->c_get: DB_PAGE_NOTFOUND: Requested page not found
error: error(-30987) getting “” records from Requireversion index
error: db3 error(-30987) from dbcursor->c_get: DB_PAGE_NOTFOUND: Requested page not found
error: error(-30987) getting “” records from Requireversion index
error: db3 error(-30987) from dbcursor->c_get: DB_PAGE_NOTFOUND: Requested page not found
error: error(-30987) getting “” records from Requireversion index
error: db3 error(-30987) from dbcursor->c_get: DB_PAGE_NOTFOUND: Requested page not found
error: error(-30987) getting “” records from Requireversion index
error: db3 error(-30987) from dbcursor->c_get: DB_PAGE_NOTFOUND: Requested page not found
error: error(-30987) getting “” records from Requireversion index
error: db3 error(-30987) from dbcursor->c_get: DB_PAGE_NOTFOUND: Requested page not found
error: error(-30987) getting “” records from Requireversion index
error: db3 error(-30987) from dbcursor->c_get: DB_PAGE_NOTFOUND: Requested page not found
error: error(-30987) getting “” records from Requireversion index
error: db3 error(-30987) from dbcursor->c_get: DB_PAGE_NOTFOUND: Requested page not found
error: error(-30987) getting “” records from Requireversion index
error: db3 error(-30987) from dbcursor->c_get: DB_PAGE_NOTFOUND: Requested page not found
error: error(-30987) getting “” records from Requireversion index
error: db3 error(-30987) from dbcursor->c_get: DB_PAGE_NOTFOUND: Requested page not found
error: error(-30987) getting “” records from Requireversion index
error: db3 error(-30987) from dbcursor->c_get: DB_PAGE_NOTFOUND: Requested page not found
error: error(-30987) getting “” records from Requireversion index
error: db3 error(-30987) from dbcursor->c_get: DB_PAGE_NOTFOUND: Requested page not found
error: error(-30987) getting “” records from Requireversion index
error: db3 error(-30987) from dbcursor->c_get: DB_PAGE_NOTFOUND: Requested page not found
error: error(-30987) getting “” records from Requireversion index
error: db3 error(-30987) from dbcursor->c_get: DB_PAGE_NOTFOUND: Requested page not found
error: error(-30987) getting “” records from Requireversion index
error: db3 error(-30987) from dbcursor->c_get: DB_PAGE_NOTFOUND: Requested page not found
error: error(-30987) getting “” records from Requireversion index
error: db3 error(-30987) from dbcursor->c_get: DB_PAGE_NOTFOUND: Requested page not found
error: error(-30987) getting “” records from Requireversion index
error: db3 error(-30987) from dbcursor->c_get: DB_PAGE_NOTFOUND: Requested page not found
error: error(-30987) getting “” records from Requireversion index
error: db3 error(-30987) from dbcursor->c_get: DB_PAGE_NOTFOUND: Requested page not found
error: error(-30987) getting “” records from Requireversion index

What did you do? What were you updating or upgrading fromt, to, and how?

I see 2 options:

  • Repos have not been refreshed. Run update in this order

su -c 'zypper ref'
su -c 'zypper up'

  • RPM database is corrupt. This can be repaired by

su -c 'rpm --rebuilddb

Hello,

maybe with my upgrade from 11.3 to 12.1 there is the same problem behind

I used the description SDB:Distribution-Upgrade from de.opensuse.org, where zypper refresh and zypper dup are the last commands

This process stops with

 
rpmdb: page 1: illegal page type or format
 rpmdb: PANIC Das Argument ist ungültig
 rpmdb: Packages: pgin failed for page 1
 error: db3 error(-30977) from dbcursor->c_get: DB_RUNRECOVERY: Fatal error, run  database recovery ...]

  • RPM database is corrupt. This can be repaired by

su -c 'rpm --rebuilddb

After rebuilding the rpm-database as recommended, any continuation of the upgrade process fails with a message on the missing rpm-library librpm.so.1

This library seems to correspond the rpm 4…8.0 which is/was replaced by rpm-4.9.1.2 during zypper’s upgrading routine

Markus

hi the -c does not work for me, but everything else works fine now.

On 2012-01-13 18:36, mlh85386 wrote:
> After rebuilding the rpm-database as recommended, any continuation of
> the upgrade process fails with a message on the missing rpm-library
> librpm.so.1
>
> This library seems to correspond the rpm 4…8.0 which is/was replaced
> by rpm-4.9.1.2 during zypper’s upgrading routine

You have to reinstall “rpm”, using itself if possible. If not, you have do
it from a rescue system.


Cheers / Saludos,

Carlos E. R.
(from 11.4 x86_64 “Celadon” at Telcontar)

Install from a DVD or CD.
Using zypper dup did not work reliably in 11.3 and earlier. You needed zypper dup --download-in-advance. This caught people out going from 11.3 to 11.4.

I am very sorry for the double post, I am not aware that the first post was active

Hi eng-int, hi Carlos

thanks for Your hints.

It seem’s that there is no sense in trying to upgrade 11.3 with zypper. Maybe I get back to use the basic rpm --upgrade command as recommended by You. Due to an attempt with zypper dup --download-in-advance, I have the newer rpm files of openSUSE 11.4 at hand.

One unexpected problem with this attempt, i.e another failure with an automatically controlled upgrade, was, that the space on my hard disk was not sufficient. The rpm-files in /var/cach/zypp temporarily need space. Therefore I moved them to another partition and declared the respective directory to be a repository.

Now there is is another space problem, maybe because I installed them with rpm --install instead of rpm --upgrade. This would explain the lack of space on the system partition now. I had made it larger with respect to upgrading and zypper did not indicate anymore that the system partition would be to small.

I doubt whether it’s worth to continue. Al lot of rpm-packagas of openSUSE 11.3 and 11.4 are of the same version whereas 12.1 is not within reach. Nevertheless - thanks a lot

Markus

Hi,

the described solution works for me.
Repeatedly i tried to upgrade a paravirtualizied DomU OpenSuse from 11.3 to 12.1. Every time I got the same error message as hhbuur.
After reading this thread the upgrade works with the following steps:

  1. zypper up
  2. delete all repositories
  3. Add 12.1 Repositories
  4. zypper ref
  5. rpm --rebuilddb
  6. zypper dup --download-in-advance
  7. reboot

I don’t which was important: rpm -rebuilddb or --download-in-advance , but one of them must be the solution.

Thanks for the hints!

regards
Stefan

Thank you! Was running into the same issue with rpm db corruption while trying to go 11.3 -> 12.1, and rpm–rebuilddb did the trick. Had to restore twice and wasted a day on this already. Very frustrating.