Yes, I realize I may have worded myself a bit poorly, but as you said,
I meant locks as in /etc/zypp/locks.
I'm not at the machine where it happened, but it was a stock install
of RC1 with KDE, and the only change I made was removing+locking a few
packages (zsh, joe) during install (The entries for these locks were
correctly placed in /etc/zypp/locks and were visible in YaST after
install). The problem cropped up when a new version of
patterns-openSUSE-enhanced_base_opt (Which incidentally recommends the
aforementioned packages) entered factory, and for some reason Apper
thought it was ok to pull & install the locked dependencies along with
the update for patterns-openSUSE-enhanced_base_opt (I'm fairly sure I
didn't see the locked packages in the update notification).
I will try to reproduce this with a simpler test case when I get back,
but from what I've seen, it looks like it's something
pk(-backend-zypp?)-specific, since other libzypp consumers (YaST,
zypper) behave correctly in this case and don't pull in locked
dependencies.
Regards,
-F. Moukayed.
2013/2/12 Stephan Kulow
Am 12.02.2013 15:48, schrieb Fadi Moukayed:
Hi all,
Is it just me, or does PackageKit (Or rather, pk-backend-zypp in this case) not respect libzypp package locks at all? I noticed this earlier today when Apper's updater applet attempted to install a locked (non-installed) "recommended" dependency after an update to one of the base packages (patterns-openSUSE-enhanced_base_opt, I think) whereas both YaST and zypper behaved as expected by not marking locked packages/dependencies for update/installation.
Locks as in /etc/zypp/locks? If you know a way to reproduce it, I might check - it's hard to imagine but possible that PK is using a zypp API that is buggy, which the other tools don't use.
Greetings, Stephan
-- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org
-- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org