[Bug 418050] New: zypper up weird behavior
https://bugzilla.novell.com/show_bug.cgi?id=418050 Summary: zypper up weird behavior Product: openSUSE 11.0 Version: Final Platform: Other OS/Version: Other Status: NEW Severity: Normal Priority: P5 - None Component: libzypp AssignedTo: zypp-maintainers@forge.provo.novell.com ReportedBy: msvec@novell.com QAContact: qa@suse.de Found By: --- Created an attachment (id=233943) --> (https://bugzilla.novell.com/attachment.cgi?id=233943) solver testcase bash# zypper lu Reading installed packages... Patches Repository | Name | Version | Category | Status -----------+---------+---------+-------------+------- updates | acl | 129 | recommended | Needed updates | esound | 138 | recommended | Needed updates | postfix | 133 | security | Needed updates | python | 128 | security | Needed bash# zypper up Reading installed packages... The following package is going to be upgraded: libacl The following NEW package is going to be installed: exim The following NEW patches are going to be installed: python postfix esound acl The following packages are going to be REMOVED: python-xml python-numeric python-gobject2 python postfix libesd0 libao acl IOW "postfix" patch wants to remove postfix and install exim instead, which is quite weird (and dangerous). -- 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=418050
User crrodriguez@novell.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=418050#c1
Cristian Rodriguez
https://bugzilla.novell.com/show_bug.cgi?id=418050
User mls@novell.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=418050#c2
--- Comment #2 from Michael Schröder
https://bugzilla.novell.com/show_bug.cgi?id=418050
User msvec@novell.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=418050#c3
--- Comment #3 from Michal Svec
https://bugzilla.novell.com/show_bug.cgi?id=418050
User schubi@novell.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=418050#c4
Stefan Schubert
https://bugzilla.novell.com/show_bug.cgi?id=418050
User mls@novell.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=418050#c5
Michael Schröder
https://bugzilla.novell.com/show_bug.cgi?id=418050
User msvec@novell.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=418050#c6
--- Comment #6 from Michal Svec
The question here is how the list has been generated ? Michal, has you ever used anything like "keep all these package of this list" ?
I have no clue, I can't recall any question or action like that. I just did 'zypper dup --no-recommends' and alike. -- 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=418050
User schubi@novell.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=418050#c7
Stefan Schubert
https://bugzilla.novell.com/show_bug.cgi?id=418050
User msvec@novell.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=418050#c8
--- Comment #8 from Michal Svec
The question here is how the list has been generated ? Michal, has you ever used anything like "keep all these package of this list" ?
I have no clue, I can't recall any question or action like that. I just did 'zypper dup --no-recommends' and alike. However, the SoftLocks file was created on 2008-07-15 23:30, maybe you can find something interesting in the zypper.log. -- 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=418050
User mls@novell.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=418050#c9
--- Comment #9 from Michael Schröder
https://bugzilla.novell.com/show_bug.cgi?id=418050
User ma@novell.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=418050#c10
Michael Andres
#7: The "recommended set" is the set the solver returns in solv->recommended.
And no, libzypp should not create soft locks for packages that don't need it. Otherwise the soft lock list will grow and grow, and strange things will happen as in this bug.
IMO the purpose of the soft lock was to tell the solver that this package is not wanted unless required. Do you now suggest to do multiple solver runs? Checking whether a SoftLocked package is recommended, then apply the Solvers SoftLock and redo solving? -- 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=418050
User mls@novell.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=418050#c11
--- Comment #11 from Michael Schröder
https://bugzilla.novell.com/show_bug.cgi?id=418050
User ma@novell.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=418050#c13
--- Comment #13 from Michael Andres
https://bugzilla.novell.com/show_bug.cgi?id=418050
User jkupec@novell.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=418050#c15
Ján Kupec
Anyone or anything has set the resolvables to "keep state by user" and libzypp generates a soft lock for it. That's all from libzypp side. comment #6 Hm, Jano have you an idea what has set this huge number of keep states ?
No, all zypper does in 'up -t patch' is, it loads the resolvables, selects patches for installation (ResStatus::setToBeInstalled(zypp::ResStatus::USER)), sets solver flags and calls resolve(), nothing more. Everything else, like handling locks, is in libzypp IIRC. -- 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=418050
User msvec@novell.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=418050#c16
--- Comment #16 from Michal Svec
No, all zypper does in 'up -t patch' is, it loads the resolvables, selects
Please note that I did 'zypper dup --no-recommends' when the softlocks were created, not zypper up. -- 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=418050
User dmacvicar@novell.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=418050#c17
Duncan Mac-Vicar
participants (1)
-
bugzilla_noreply@novell.com