Bugzilla – Bug 202088
zypp does not update installed/uninstalled after commit()
Last modified: 2006-10-25 17:15:01 UTC
Current Factory (libzypp-2.0.0-6): I selected package automake, clicked "Accept" and YaST2 successfully installed the package. Then it asked "Install or remove more packages?", I selected "Yes", searched for automake again and it still showed automake as uninstalled, even though "rpm -q automake" proves that it is actually installed. The status is updated only after a complete restart of the YaST2 package manager.
Created attachment 97235 [details] YaST2 logfiles
libzypp problem
There is code in libzypp which re-generates the installed/uninstalled status after each transaction. So this looks more like a UI-ZYPP API bug. reassign to zypp bugzilla maintainer.
Ladislav, either package-bindings or not re-initialization in the package workflow ?
I think that the bug is in zypp, the pool is not refreshed after commit(). When I add this sequence into sw_single it works correctly: Pkg::TargetFinish(); Pkg::TargetInitialize(Installation::destdir); Pkg::TargetLoad(); But that's ugly, it should be fixed either in bindings or in zypp. Is it required to explicitly call the code mentioned in comment #3? (How?)
*** Bug 206955 has been marked as a duplicate of this bug. ***
*** Bug 201121 has been marked as a duplicate of this bug. ***
JFY: I added the workaround from comment #5 to yast2-packager-2.13.151 Raising severity - the bug significantly affects package related actions done in yast
*** This bug has been marked as a duplicate of bug 213777 ***