[Bug 564239] New: zypper reports "problem" / "obsolete" when manual install overrides locked repo/package, then doesn't follow given Solution/Instruction
http://bugzilla.novell.com/show_bug.cgi?id=564239 http://bugzilla.novell.com/show_bug.cgi?id=564239#c0 Summary: zypper reports "problem" / "obsolete" when manual install overrides locked repo/package, then doesn't follow given Solution/Instruction Classification: openSUSE Product: openSUSE 11.2 Version: Final Platform: All OS/Version: openSUSE 11.2 Status: NEW Severity: Normal Priority: P5 - None Component: libzypp AssignedTo: zypp-maintainers@forge.provo.novell.com ReportedBy: 0.bugs.only.0@gmail.com QAContact: qa@suse.de Found By: --- Blocker: --- User-Agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2b5) Gecko/20091204 SUSE/3.6b5-2.2 Firefox/3.6b5 have OS 11.2 installed, with kotd/11.2 manually installed, uname -a Linux server 2.6.31.7-0.0.0.8.a22d080-xen #1 SMP 2009-12-09 17:08:28 +0100 x86_64 x86_64 x86_64 GNU/Linux zypper se -s | grep -i kernel-xen | grep ^i i | kernel-xen | package | 2.6.31.7-0.0.0.8.a22d080 | x86_64 | (System Packages) i | kernel-xen-base | package | 2.6.31.7-0.0.0.8.a22d080 | x86_64 | (System Packages) i | kernel-xen-devel | package | 2.6.31.7-0.0.0.8.a22d080 | x86_64 | (System Packages) locks are applied to OS/distro repos to NOT pull/upgrade, zypper ll # | Name | Type | Repository --+------------+---------+------------ 1 | kernel-xen | package | OS11-update 2 | kernel-xen | package | OS11-oss @ zypper up Loading repository data... Reading installed packages... Nothing to do. as expected. @ zypper dup Warning: You are about to do a distribution upgrade with all enabled repositories. Make sure these repositories are compatible before you continue. See 'man zypper' for more information about this command. Loading repository data... Reading installed packages... Computing distribution upgrade... Problem: problem with installed package kernel-xen-2.6.31.7-0.0.0.8.a22d080.x86_64 Solution 1: keep obsolete kernel-xen-2.6.31.7-0.0.0.8.a22d080.x86_64 Solution 2: do not forbid installation of kernel-xen-2.6.31.5-0.1.1.x86_64[OS11-oss] Choose from above solutions by number or cancel [1/2/c] (c): 1 Resolving dependencies... Computing distribution upgrade... Problem: problem with installed package kernel-xen-2.6.31.7-0.0.0.8.a22d080.x86_64 Solution 1: keep obsolete kernel-xen-2.6.31.7-0.0.0.8.a22d080.x86_64 Solution 2: do not forbid installation of kernel-xen-2.6.31.5-0.1.1.x86_64[OS11-oss] Choose from above solutions by number or cancel [1/2/c] (c): ^C etc etc Functionally, there's neither a "problem" with the installed-in-the-System-Packages kernel-xen package, nor is it "obsolete", esp compared to the offered xen-2.6.31.5-0.1.1.x86_64. It seems the zypper report is overstated in its implication. There should be an option -- either to zypper at cmd line or in *.conf(s) -- to allow such a manual override. Reading @ http://en.opensuse.org/Zypper/Usage/11.2#Package_Locks, "zypper al -r repo-oss virtualbox* # restrict the lock to 'repo-oss' repository (allowing installation from others)" and, later, ""zypper dup" will try to sync your currently installed packages with the ones available from (all) the repos you have enabled. This means it will also downgrade packages if your installed version is newer than the one available in the repo." implies to my read that one should be able lock the dist repo out, and if no other repo offers an alternative, the manually-installed pkg should be left alone/accepted. At the very least, the offered solution should accept the instruction/response its given. Reproducible: Always Steps to Reproduce: 1. 2. 3. -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
http://bugzilla.novell.com/show_bug.cgi?id=564239 http://bugzilla.novell.com/show_bug.cgi?id=564239#c1 mail ignored <0.bugs.only.0@gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Severity|Normal |Major --- Comment #1 from mail ignored <0.bugs.only.0@gmail.com> 2009-12-13 16:24:31 UTC --- in this pkg state, 'zypper dup' can't be successfully run, as the solution selection is ignored. -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
http://bugzilla.novell.com/show_bug.cgi?id=564239
http://bugzilla.novell.com/show_bug.cgi?id=564239#c2
--- Comment #2 from Michael Schröder
http://bugzilla.novell.com/show_bug.cgi?id=564239
http://bugzilla.novell.com/show_bug.cgi?id=564239#c3
Michael Andres
http://bugzilla.novell.com/show_bug.cgi?id=564239
http://bugzilla.novell.com/show_bug.cgi?id=564239#c4
Michael Andres
http://bugzilla.novell.com/show_bug.cgi?id=564239 http://bugzilla.novell.com/show_bug.cgi?id=564239#c5 --- Comment #5 from mail ignored <0.bugs.only.0@gmail.com> 2009-12-14 17:30:58 UTC --- bug 550915 states, "Fixed in git for libzypp-6.21.0" I have libzypp-6.28.0-1.1.x86_64 installed, yet the problem still exists. Please clarify duplicate/resolution. -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
http://bugzilla.novell.com/show_bug.cgi?id=564239
http://bugzilla.novell.com/show_bug.cgi?id=564239#c6
--- Comment #6 from Michael Andres
@zypper dup:
implies to my read that one should be able lock the dist repo out, and if no other repo offers an alternative, the manually-installed pkg should be left alone/accepted.
Handle with care. Installed packages not provided by any repo are considered to be orphaned. They stay on the system if not involved in any dependency problem. But in case of trouble, the solver will delete orphaned packages. -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
http://bugzilla.novell.com/show_bug.cgi?id=564239 http://bugzilla.novell.com/show_bug.cgi?id=564239#c7 mail ignored <0.bugs.only.0@gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |REOPENED Resolution|DUPLICATE | AssignedTo|zypp-maintainers@forge.prov |0.bugs.only.0@gmail.com |o.novell.com | --- Comment #7 from mail ignored <0.bugs.only.0@gmail.com> 2009-12-15 17:20:29 UTC --- Created an attachment (id=332732) --> (http://bugzilla.novell.com/attachment.cgi?id=332732) Zolver Test Case for ignored Solution
If you experience this behavior
Computing distribution upgrade... Problem: problem with installed package kernel-xen-2.6.31.7-0.0.0.8.a22d080.x86_64 Solution 1: keep obsolete kernel-xen-2.6.31.7-0.0.0.8.a22d080.x86_64 Solution 2: do not forbid installation of kernel-xen-2.6.31.5-0.1.1.x86_64[OS11-oss] Choose from above solutions by number or cancel [1/2/c] (c): 1 Resolving dependencies... Computing distribution upgrade... Problem: problem with installed package kernel-xen-2.6.31.7-0.0.0.8.a22d080.x86_64 Solution 1: keep obsolete kernel-xen-2.6.31.7-0.0.0.8.a22d080.x86_64 Solution 2: do not forbid installation of kernel-xen-2.6.31.5-0.1.1.x86_64[OS11-oss]
with libzypp-6.28.0,
rpm -qa | grep -i zypp libzypp-6.28.0-1.1.x86_64 zypper-1.2.15-3.1.x86_64
please attach a solver testcase (see comment#3) and reopen.
attached/reopened
Handle with care.
Undetstood.
Installed packages not provided by any repo are considered to be orphaned. They stay on the system if not involved in any dependency problem. But in case of trouble, the solver will delete orphaned packages.
Clear. Though that makes it difficult to install non-repo system-package updates, etc. (e.g. KOTD) that are suggested as solutions to _other_ bugs. That is, in part, why I've requested (12/9) the repo for the package involved in _this_ bug report to be enabled: https://bugzilla.novell.com/show_bug.cgi?id=561958 As yet, no triage, no action. Any assistance there would be appreciated. -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
http://bugzilla.novell.com/show_bug.cgi?id=564239
http://bugzilla.novell.com/show_bug.cgi?id=564239#c8
Michael Andres
http://bugzilla.novell.com/show_bug.cgi?id=564239
http://bugzilla.novell.com/show_bug.cgi?id=564239#c9
Michael Schröder
http://bugzilla.novell.com/show_bug.cgi?id=564239 http://bugzilla.novell.com/show_bug.cgi?id=564239#c10 mail ignored <0.bugs.only.0@gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|REOPENED |NEEDINFO Info Provider| |mls@novell.com --- Comment #10 from mail ignored <0.bugs.only.0@gmail.com> 2009-12-24 16:03:31 UTC --- (In reply to comment #9)
Yep, bug in the noobsoletes handling for zypper dup. Now fixed in git.
I've checked commit logs for *zypp* @ http://gitorious.org/opensuse, and am missing the commit. Can you point to it ? Also, checking @ http://download.opensuse.org/repositories/zypp:/Head/openSUSE_11.2/x86_64/ is still @, libzypp-6.28.0-1.1.x86_64.rpm 10-Dec-2009 17:45 2.1M Mirrors Metalink Does it need a build (re)trigger? -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
http://bugzilla.novell.com/show_bug.cgi?id=564239 http://bugzilla.novell.com/show_bug.cgi?id=564239#c mail ignored <0.bugs.only.0@gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- AssignedTo|0.bugs.only.0@gmail.com |zypp-maintainers@forge.prov | |o.novell.com -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
http://bugzilla.novell.com/show_bug.cgi?id=564239 http://bugzilla.novell.com/show_bug.cgi?id=564239#c mail ignored <0.bugs.only.0@gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Priority|P5 - None |P3 - Medium -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
http://bugzilla.novell.com/show_bug.cgi?id=564239 http://bugzilla.novell.com/show_bug.cgi?id=564239#c mail ignored <0.bugs.only.0@gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Info Provider|mls@novell.com |ma@novell.com -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
http://bugzilla.novell.com/show_bug.cgi?id=564239
http://bugzilla.novell.com/show_bug.cgi?id=564239#c11
Michael Andres
http://bugzilla.novell.com/show_bug.cgi?id=564239
http://bugzilla.novell.com/show_bug.cgi?id=564239#c12
Michael Andres
http://bugzilla.novell.com/show_bug.cgi?id=564239
http://bugzilla.novell.com/show_bug.cgi?id=564239#c13
Swamp Workflow Management
http://bugzilla.novell.com/show_bug.cgi?id=564239
http://bugzilla.novell.com/show_bug.cgi?id=564239#c14
Swamp Workflow Management
http://bugzilla.novell.com/show_bug.cgi?id=564239
http://bugzilla.novell.com/show_bug.cgi?id=564239#c15
Swamp Workflow Management
http://bugzilla.novell.com/show_bug.cgi?id=564239
http://bugzilla.novell.com/show_bug.cgi?id=564239#c16
Swamp Workflow Management
http://bugzilla.novell.com/show_bug.cgi?id=564239
http://bugzilla.novell.com/show_bug.cgi?id=564239#c17
Swamp Workflow Management
http://bugzilla.novell.com/show_bug.cgi?id=564239
http://bugzilla.novell.com/show_bug.cgi?id=564239#c18
Swamp Workflow Management
http://bugzilla.novell.com/show_bug.cgi?id=564239
http://bugzilla.novell.com/show_bug.cgi?id=564239#c19
Swamp Workflow Management
participants (1)
-
bugzilla_noreply@novell.com