Thursday, October 20, 2011

"zypper up" error

Installation of _package_ failed:
(with --nodeps --force) Error: Subprocess failed. Error: RPM failed: 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


When I tried to run a rebuild of the rpm database as root:

# rpm -rebuilddb
rpm: arguments to --root (-r) must begin with a /

Try:
user@host:~> su -c 'rpm --rebuilddb'