On Monday, January 17, 2011 12:54 CET, Michael Schroeder
On Mon, Jan 17, 2011 at 12:25:58PM +0100, Bernhard Rosenkraenzer wrote:
On Monday, January 17, 2011 11:28 CET, Michael Schroeder
wrote: On Fri, Jan 14, 2011 at 07:29:38PM +0100, Bernhard Rosenkraenzer wrote:
On Friday, January 14, 2011 19:00 CET, "Bernhard Rosenkraenzer"
wrote:Current (today's git) sat-solver, libzypp and zypper keeps telling me I need to install some packages even though they're already there and at the current version:
Found another problem that may well be related -- chances are zypper has some problem reading the installed packages from my rpmdb (rpm 5.3.6):
Does "rpmdb2solv | dumpsolv" show all packages? Are the rpm:dbid entries unique?
Yes to both -- rpmdb2solv | dumpsolv seems to work fine. Some rpm:dbids are unique but negative, is that expected?
Negative doesn't sound good, they aren't supposed to be negative.
The negative dbids are a simple bug in dumpsolv -- the variable containing a uint32 is sent to printf with %d rather than %u, so it is converted to signed just for the printf statement (patch attached). Doesn't solve the real problem though... (The workaround you suggested works btw). ttyl bero