[Bug 822128] New: lock override deletes lock
https://bugzilla.novell.com/show_bug.cgi?id=822128 https://bugzilla.novell.com/show_bug.cgi?id=822128#c0 Summary: lock override deletes lock Classification: openSUSE Product: openSUSE Factory Version: 13.1 Milestone 1 Platform: PC OS/Version: Other Status: NEW Severity: Normal Priority: P5 - None Component: Basesystem AssignedTo: bnc-team-screening@forge.provo.novell.com ReportedBy: mrmazda@earthlink.net QAContact: qa-bugs@suse.de Found By: --- Blocker: --- To reproduce: 1-zypper ref 2-zypper al kernel-desktop # saves much upgrading time due to bug 786318 3-zypper rm kernel-desktop-3.7.10 4-answer to remove kernel-desktop in spite of lock 5-zypper -v dup Actual behavior: 1-new kernel-desktop gets installed 2-kernel-desktop entry is missing from /etc/zypp/locks Expected behavior: 1-new kernel does not get installed 2-kernel-desktop entry remains in /etc/zypp/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.
https://bugzilla.novell.com/show_bug.cgi?id=822128 https://bugzilla.novell.com/show_bug.cgi?id=822128#c Ye Yuan <yyuan@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |yyuan@suse.com AssignedTo|bnc-team-screening@forge.pr |zypp-maintainers@forge.prov |ovo.novell.com |o.novell.com -- 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=822128 https://bugzilla.novell.com/show_bug.cgi?id=822128#c1 Michael Andres <ma@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution| |INVALID --- Comment #1 from Michael Andres <ma@suse.com> 2013-06-04 09:04:30 CEST --- Problem: conflicting requests Solution 1: do not keep kernel-desktop installed You do not install/remove the package in spite of a lock, but you remove the lock rule to make the package installable/removable. It's the same behavior as in the UIs. I don't think we want to change it. -- 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=822128 https://bugzilla.novell.com/show_bug.cgi?id=822128#c2 Felix Miata <mrmazda@earthlink.net> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |REOPENED Resolution|INVALID | --- Comment #2 from Felix Miata <mrmazda@earthlink.net> 2013-06-04 09:14:44 UTC --- (In reply to comment #1)
Problem: conflicting requests Solution 1: do not keep kernel-desktop installed
You do not install/remove the package in spite of a lock, but you remove the lock rule to make the package installable/removable. It's the same behavior as in the UIs.
What UIs? IOW, what exactly can I do to reproduce so as to see behavior "in the UIs"? Maybe it needs changing too.
I don't think we want to change it.
I think we do. If it is not to be changed according to comment 0, then the language in the possible solutions in answer to the question need to be changed so that it is clear what is actually happening: lock removal rather than lock override as it appears now. *Override does not equate to remove* As it is now in M0 system overdue for upgrade to M1, even 'zypper -v --no-refresh rm kernel-desktop-3.8.2' with kernel-desktop locked produced: 1-no cmdline feedback indicating change to locks file in response to selecting "do not keep..." to indicate kernel-desktop removal from locks file. 2-no indication of change to locks file in /var/log/zypp/history 3-2188 lines added to /var/log/zypper.log to sift through to discover indication of lock removal cf. Mageia urpm behavior, which uses skip.list rather than a locks system to prevent automatic installation of enumerated packages. -- 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=822128 https://bugzilla.novell.com/show_bug.cgi?id=822128#c3 --- Comment #3 from Michael Andres <ma@suse.com> 2013-06-05 05:07:21 CEST --- (In reply to comment #2)
What UIs? IOW, what exactly can I do to reproduce so as to see behavior
In the YaST software selector. Toggle state of a locked package will remove the lock. You don't get back to the locked state. You must explicitly re-apply the lock.
UIs"? Maybe it needs changing too.
I agree that 'override' could be a more intuitive lock handling policy, but changing the policy is out of scope of a bugfix. We'd need to take this to FATE (https://features.opensuse.org) for discussion.
language in the possible solutions in answer to the question need to be changed so that it is clear what is actually happening:
Agreed. -- 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