https://bugzilla.novell.com/show_bug.cgi?id=395040
User jreidinger@novell.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=395040#c7
--- Comment #7 from Josef Reidinger
No. The call to zypp::Locks::instance.save is not appropriate.
Locks are part of the pool status, and updated on commit. Even if we wanted to update them outside commit, this can not be done by calling zypp::Locks::instance.save. The Pool does not use zypp::Locks, nor does it update zypp::Locks to reflect changes.
Hmm, maybe it is another bug, but when you want manipulate with locks you must load it in Locks instance via load and then you can manipulate like adding, removing or cleaning and if you call load and locks file doesn't exist then it(PoolQuery serialize) throw exception which is not catched. try simple rm /etc/zypp/locks; zypper al test and it fail and because this is ebook, then package manager add lock for ppc64 which and manipulate with locks. -- 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.