[zypp-devel] zypper reports "var/lib/rpm/Packages: No such file or directory"

with latest, libzypp-6.7.0-14.1 aria2-1.4.0-1.1 zypper-1.1.2-93.1 installed, @, e.g., zypper clean --all zypper in pico i get, Loading repository data... Reading installed packages... Resolving package dependencies... The following NEW package is going to be installed: pico 1 new package to install. Overall download size: 297.0 KiB. After the operation, additional 672.0 KiB will be used. Continue? [y/n/?] (y): y Retrieving package pico-2.00-3.5.x86_64 (1/1), 297.0 KiB (672.0 KiB unpacked) Retrieving: pico-2.00-3.5.x86_64.rpm [done (0 B/s)] Installing: pico-2.00-3.5 [done] Problem occured during or after installation or removal of packages: rpmdb2solv -r '/' -p '/etc/products.d' '/var/cache/zypp/solv/@System/solv' > '/var/cache/zypp/solv/@System/solvFIqC7y' db->open var/lib/rpm/Packages: No such file or directory Please see the above error message for a hint. just from reading output, perhaps missing a leading "/" @, db->open var/lib/rpm/Packages: No such file or directory ? -- To unsubscribe, e-mail: zypp-devel+unsubscribe@opensuse.org For additional commands, e-mail: zypp-devel+help@opensuse.org

On Thursday 04 June 2009 18:40:32 PGNet Dev wrote:
rpmdb2solv -r '/' -p '/etc/products.d' '/var/cache/zypp/solv/@System/solv' > '/var/cache/zypp/solv/@System/solvFIqC7y' db->open var/lib/rpm/Packages: No such file or directory Please see the above error message for a hint.
just from reading output, perhaps missing a leading "/" @,
No. Looking at the code, the message is printed by perror("db->open var/lib/rpm/Packages"); So this is not the actual path passed to open. - I suppose your /var/lib/rpm/Packages is present? - I can't reproduce it, but 2 days ago this code location in the satsolver tools was changed. Maybe it's related to your bug. Michael Schroeder should know. -- cu, Michael Andres +------------------------------------------------------------------+ Key fingerprint = 2DFA 5D73 18B1 E7EF A862 27AC 3FB8 9E3A 27C6 B0E4 +------------------------------------------------------------------+ Michael Andres YaST Development ma@novell.com SUSE LINUX Products GmbH, GF: Markus Rex, HRB 16746 (AG Nuernberg) Maxfeldstrasse 5, D-90409 Nuernberg, Germany, ++49 (0)911 - 740 53-0 +------------------------------------------------------------------+ -- To unsubscribe, e-mail: zypp-devel+unsubscribe@opensuse.org For additional commands, e-mail: zypp-devel+help@opensuse.org

On Fri, Jun 05, 2009 at 12:09:52PM +0200, Michael Andres wrote:
On Thursday 04 June 2009 18:40:32 PGNet Dev wrote:
rpmdb2solv -r '/' -p '/etc/products.d' '/var/cache/zypp/solv/@System/solv' > '/var/cache/zypp/solv/@System/solvFIqC7y' db->open var/lib/rpm/Packages: No such file or directory Please see the above error message for a hint.
just from reading output, perhaps missing a leading "/" @,
No. Looking at the code, the message is printed by perror("db->open var/lib/rpm/Packages"); So this is not the actual path passed to open.
Could you please send me an strace of that failing command? Thanks, Michael. -- Michael Schroeder mls@suse.de SUSE LINUX Products GmbH, GF Markus Rex, HRB 16746 AG Nuernberg main(_){while(_=~getchar())putchar(~_-1/(~(_|32)/13*2-11)*13);} -- To unsubscribe, e-mail: zypp-devel+unsubscribe@opensuse.org For additional commands, e-mail: zypp-devel+help@opensuse.org

On 04/06/09 12:40, PGNet Dev wrote: reading output, perhaps missing a leading "/" @,
db->open var/lib/rpm/Packages: No such file or directory
?
Consistently reproduced, when the last requested package is installed. -- To unsubscribe, e-mail: zypp-devel+unsubscribe@opensuse.org For additional commands, e-mail: zypp-devel+help@opensuse.org

On Fri, Jun 05, 2009 at 10:30:44AM -0400, Cristian Rodríguez wrote:
On 04/06/09 12:40, PGNet Dev wrote: reading output, perhaps missing a leading "/" @,
db->open var/lib/rpm/Packages: No such file or directory
?
Consistently reproduced, when the last requested package is installed.
strace, please. M. -- To unsubscribe, e-mail: zypp-devel+unsubscribe@opensuse.org For additional commands, e-mail: zypp-devel+help@opensuse.org

On Fri, Jun 05, 2009 at 06:31:12PM +0200, Michael Schroeder wrote:
On Fri, Jun 05, 2009 at 10:30:44AM -0400, Cristian Rodríguez wrote:
On 04/06/09 12:40, PGNet Dev wrote: reading output, perhaps missing a leading "/" @,
db->open var/lib/rpm/Packages: No such file or directory
?
Consistently reproduced, when the last requested package is installed.
strace, please.
No need, I've reproduced it. Fixing... M. -- To unsubscribe, e-mail: zypp-devel+unsubscribe@opensuse.org For additional commands, e-mail: zypp-devel+help@opensuse.org

On Fri, Jun 05, 2009 at 06:45:14PM +0200, Michael Schroeder wrote:
On Fri, Jun 05, 2009 at 06:31:12PM +0200, Michael Schroeder wrote:
On Fri, Jun 05, 2009 at 10:30:44AM -0400, Cristian Rodríguez wrote:
On 04/06/09 12:40, PGNet Dev wrote: reading output, perhaps missing a leading "/" @,
db->open var/lib/rpm/Packages: No such file or directory
?
Consistently reproduced, when the last requested package is installed.
strace, please.
No need, I've reproduced it. Fixing...
Fixed. M. -- To unsubscribe, e-mail: zypp-devel+unsubscribe@opensuse.org For additional commands, e-mail: zypp-devel+help@opensuse.org

On Fri, Jun 5, 2009 at 9:48 AM, Michael Schroeder<mls@suse.de> wrote:
No need, I've reproduced it. Fixing... Fixed.
that was quick, thanks! what version is/will_be the fix in? assuming it will eventually filter into head repo ... -- To unsubscribe, e-mail: zypp-devel+unsubscribe@opensuse.org For additional commands, e-mail: zypp-devel+help@opensuse.org
participants (4)
-
Cristian Rodríguez
-
Michael Andres
-
Michael Schroeder
-
PGNet Dev