[zypp-devel] unable to run zypper because of solv-file error
Hi, I tried run zypper with yum repo in a moblin system but always failed. I used zypper 1.2.2 and libzypp 6.11.4, very new. At first stage, it always failed with "zypper refresh". After debugging, I found it's because libzypp/zypp/media/proxyinfo/ProxyInfoSysconfig.cc doesn't initialize the _enabled=false which got it always try to add '--http-proxy=' to call augeas. After fixing this, it can refresh cache successfully. But as I tried to "zypper in cmake", it always complains that "Error reading solv-file: /var/cache/zypp/solv/@System/solv". And I found the solv file is VOID(has zero bytes). Any idea why this happens? Or Should I go back to an old version? Look forward to your suggestions Peter -- To unsubscribe, e-mail: zypp-devel+unsubscribe@opensuse.org For additional commands, e-mail: zypp-devel+help@opensuse.org
On Wed, Sep 09, 2009 at 03:13:28PM +0800, Zhu, Peter J wrote:
I tried run zypper with yum repo in a moblin system but always failed. I used zypper 1.2.2 and libzypp 6.11.4, very new.
At first stage, it always failed with "zypper refresh". After debugging, I found it's because libzypp/zypp/media/proxyinfo/ProxyInfoSysconfig.cc doesn't initialize the _enabled=false which got it always try to add '--http-proxy=' to call augeas.
After fixing this, it can refresh cache successfully. But as I tried to "zypper in cmake", it always complains that "Error reading solv-file: /var/cache/zypp/solv/@System/solv". And I found the solv file is VOID(has zero bytes).
Any idea why this happens? Or Should I go back to an old version?
The mepty solv file indicates that it isn't zypper/libzypp causing your problem, but satsolver-tools. Are you sure that you didn't mix the new rpm-4.7.1 version with old satsolver-tools or vice versa? What does 'rpm -V satsolver-tools' report? Cheers, 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 Wednesday 09 September 2009 09:13:28 Zhu, Peter J wrote:
libzypp/zypp/media/proxyinfo/ProxyInfoSysconfig.cc doesn't initialize the _enabled=false
Fixed. Thanks. -- 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
participants (3)
-
Michael Andres
-
Michael Schroeder
-
Zhu, Peter J