[Rpm-maint] [rpm-software-management/rpm] RPM shows the same Package in two versions / can only be uninstalled once (Issue #2320)

2022-12-09 Thread Daniel Pätzold
Currently i have: ``` pcmsi-i7-4790k:~ # rpm -qa wine wine-7.21-lp154.1505.2.x86_64 wine-7.22-lp154.970.1.x86_64 pcmsi-i7-4790k:~ # ``` well it IS only installed once, so this is strange as such. i remove the one existing version ``` pcmsi-i7-4790k:~ # rpm -ev wine-7.22-lp154.970.1.x86_64

Re: [Rpm-maint] [rpm-software-management/rpm] RPM shows the same Package in two versions / can only be uninstalled once (Issue #2320)

2022-12-10 Thread Daniel Pätzold
solved it by running `rpmdb --rebuilddb` as written in docs. For me it was hard to find the right backup strategy, as some parts of https://rpm.org/user_doc/db_recovery.html would not work: ``` pcmsi-i7-4790k:/usr/lib/sysimage/rpm # /usr/lib/rpm/rpmdb_stat -CA rpmdb_stat: DB_ENV->open: No such