[Bug 659494] New: zypper ref loops forever
https://bugzilla.novell.com/show_bug.cgi?id=659494 https://bugzilla.novell.com/show_bug.cgi?id=659494#c0 Summary: zypper ref loops forever Classification: openSUSE Product: openSUSE 11.4 Version: Factory Platform: x86-64 OS/Version: Other Status: NEW Severity: Normal Priority: P5 - None Component: libzypp AssignedTo: zypp-maintainers@forge.provo.novell.com ReportedBy: jslaby@novell.com QAContact: qa@suse.de Found By: --- Blocker: --- If I run zypper ref, it spins without progress or any output. I don't know what to attach. strace, ltrace? $ rpm -q `rpmqpack|grep zypp |sort` libzypp-8.10.2-2.1.x86_64 zypper-1.5.2-2.1.x86_64 -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=659494 https://bugzilla.novell.com/show_bug.cgi?id=659494#c1 --- Comment #1 from Jiri Slaby <jslaby@novell.com> 2010-12-14 22:31:13 UTC --- Whateber zypper command I try to run, it just spins. $ zypper -vvvvvvv lr Verbosity: 7 ^C^C OK OK! Exiting immediately... -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=659494 https://bugzilla.novell.com/show_bug.cgi?id=659494#c2 Ján Kupec <jkupec@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |NEEDINFO InfoProvider| |jslaby@novell.com --- Comment #2 from Ján Kupec <jkupec@novell.com> 2010-12-15 12:34:09 UTC --- please, take a look at /var/log/zypper.log, are there any ever-repeating patterns? What are the last lines when it hangs? (you can also attach it if it's not too big) -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=659494 https://bugzilla.novell.com/show_bug.cgi?id=659494#c3 Jiri Slaby <jslaby@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEEDINFO |NEW InfoProvider|jslaby@novell.com | --- Comment #3 from Jiri Slaby <jslaby@novell.com> 2010-12-15 23:24:25 UTC --- Created an attachment (id=405024) --> (http://bugzilla.novell.com/attachment.cgi?id=405024) zypper.log 500k of text generated in 2s. Attached as "big file". -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=659494 https://bugzilla.novell.com/show_bug.cgi?id=659494#c4 Michael Andres <ma@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- AssignedTo|zypp-maintainers@forge.prov |dheidler@novell.com |o.novell.com | --- Comment #4 from Michael Andres <ma@novell.com> 2010-12-16 12:22:59 CET --- Looks like it's exporting the keyring over and over again. I guess due to Dominiks changes in libzypp (commit c48330). @Dominik: If Target is not up, you should do the manual rpmdb init attempt only once and cache the result. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=659494 https://bugzilla.novell.com/show_bug.cgi?id=659494#c5 Michael Andres <ma@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Component|libzypp |Live Medium AssignedTo|dheidler@novell.com |coolo@novell.com --- Comment #5 from Michael Andres <ma@novell.com> 2010-12-16 19:45:31 CET --- Apart from the above flaw (no hang, but loops quite a while), the actual reason why the required data can't be found is probably the live installer. It looks like the /etc/products.d/baseproduct symlink is not created: $ ll /etc/products.d/baseproduct lrwxrwxrwx .... /etc/products.d/baseproduct -> openSUSE.prod WORKAROUND: manually create the missing symlink: ln -s openSUSE.prod /etc/products.d/baseproduct libzypp-8.10.3 will be fixed to do just a quick init. But the installer should also be fixed to create the link. -> reassigning -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=659494 https://bugzilla.novell.com/show_bug.cgi?id=659494#c6 --- Comment #6 from Jiri Slaby <jslaby@novell.com> 2010-12-17 09:23:15 UTC --- (In reply to comment #5)
WORKAROUND: manually create the missing symlink:
ln -s openSUSE.prod /etc/products.d/baseproduct
It works for me, thanks. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=659494 https://bugzilla.novell.com/show_bug.cgi?id=659494#c7 Stephan Kulow <coolo@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |coolo@novell.com --- Comment #7 from Stephan Kulow <coolo@novell.com> 2010-12-17 12:18:04 CET --- I fix that in openSUSE-release and hope that's ok -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=659494 https://bugzilla.novell.com/show_bug.cgi?id=659494#c8 Stefan Dirsch <sndirsch@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |sndirsch@novell.com --- Comment #8 from Stefan Dirsch <sndirsch@novell.com> 2011-01-03 13:36:37 UTC --- Creating the symlink works for me as well. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=659494 https://bugzilla.novell.com/show_bug.cgi?id=659494#c9 Stephan Kulow <coolo@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution| |FIXED --- Comment #9 from Stephan Kulow <coolo@novell.com> 2011-01-03 17:30:03 CET --- symlink is in the package -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
participants (1)
-
bugzilla_noreply@novell.com