| Summary: | app-arch/rpm-4.8.1: rpmdb: Program version 4.8 doesn't match environment version 4.4 | ||
|---|---|---|---|
| Product: | Gentoo Linux | Reporter: | Martin Mokrejš <mmokrejs> |
| Component: | Current packages | Assignee: | No maintainer - Look at https://wiki.gentoo.org/wiki/Project:Proxy_Maintainers if you want to take care of it <maintainer-needed> |
| Status: | RESOLVED TEST-REQUEST | ||
| Severity: | normal | ||
| Priority: | High | ||
| Version: | unspecified | ||
| Hardware: | All | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Package list: | Runtime testing required: | --- | |
| Attachments: | build.log | ||
|
Description
Martin Mokrejš
2010-09-25 19:14:23 UTC
I re-installed bsddb3 and that did NOT help, so I guess python-updater won't either. This actually has nothing to do with python, but is caused by rpm database that has been created by older sys-libs/db and now rpm is linking with new version that is incompatible. As a workaround you can remove /var/lib/rpm/Packages and run "rpm --initdb". You will lose information about all files currently installed by rpm though. (In reply to comment #2) > This actually has nothing to do with python, but is caused by rpm database that > has been created by older sys-libs/db and now rpm is linking with new version > that is incompatible. > > As a workaround you can remove /var/lib/rpm/Packages and run "rpm --initdb". > You will lose information about all files currently installed by rpm though. I do not care that much but there is no way to dump the database contents into a flatfile and re-import that during installation of the new binaries linked against updated libs? Please retry with 4.12.0.1 I cannot retry. That host is dead these days and I do not have an old rpm database on another host, I think. Created attachment 524566 [details] build.log On another host I tried an upgrade from app-arch/rpm-4.8.1-r1 to app-arch/rpm-4.11.0.1. It worked but how can I tell the database was in the old format? >>> Installing (1 of 1) app-arch/rpm-4.11.0.1::gentoo >>> needed sym /usr/lib64/librpm.so.1 >>> needed obj /usr/lib64/librpm.so.1.0.0 >>> needed sym /usr/lib64/librpmio.so.1 >>> needed obj /usr/lib64/librpmio.so.1.0.0 * RPM database found... Rebuilding database (may take a while)... >>> Auto-cleaning packages... |