[Bug 671121] New: zypper dup, kernel and Tumbleweed
https://bugzilla.novell.com/show_bug.cgi?id=671121 https://bugzilla.novell.com/show_bug.cgi?id=671121#c0 Summary: zypper dup, kernel and Tumbleweed Classification: openSUSE Product: openSUSE 11.3 Version: Final Platform: x86-64 OS/Version: openSUSE 11.3 Status: NEW Severity: Enhancement Priority: P5 - None Component: libzypp AssignedTo: zypp-maintainers@forge.provo.novell.com ReportedBy: lmuelle@novell.com QAContact: qa@suse.de Found By: --- Blocker: No giles:~ # rpm -qa --last kernel-\* kernel-default-devel-2.6.37-9.1 Do 03 Feb 2011 19:21:50 CET kernel-source-2.6.37-9.1 Do 03 Feb 2011 19:21:39 CET kernel-default-2.6.37-9.1 Do 03 Feb 2011 19:18:52 CET kernel-default-base-2.6.37-9.1 Do 03 Feb 2011 19:17:59 CET kernel-devel-2.6.37-9.1 Do 03 Feb 2011 19:17:46 CET kernel-firmware-20101214-2.2 Mi 19 Jan 2011 00:36:09 CET giles:~ # rpm -qi kernel-default | tail -n 1 Distribution: openSUSE:Tumbleweed giles:~ # LC_ALL=POSIX zypper lr # | Alias | Name | Enabled | Refresh ---+----------------------+-----------------------+---------+-------- 1 | FATE | SUSE Feature Tracking | Yes | Yes···· 2 | Packman Repository | Packman Repository | Yes | Yes···· 3 | Tumbleweed | Tumbleweed | Yes | Yes···· 4 | network_samba_STABLE | network_samba_STABLE | Yes | Yes···· 5 | openSUSE_Tools | openSUSE_Tools | Yes | Yes···· 6 | repo-debug | repo-debug | No | Yes···· 7 | repo-non-oss | openSUSE-Non-Oss | Yes | Yes···· 8 | repo-oss | openSUSE-Oss | Yes | Yes···· 9 | repo-source | repo-source | No | Yes···· 10 | repo-update | openSUSE-Update | No | Yes···· 11 | repo-update-test | openSUSE-Update-test | Yes | Yes···· giles:~ # grep ^multiversion /etc/zypp/zypp.conf· multiversion = provides:multiversion(kernel) giles:~ # LC_ALL=POSIX zypper dup --from Tumbleweed Loading repository data... Reading installed packages... Computing distribution upgrade... 5 Problems: Problem: problem with installed package kernel-default-2.6.37-9.1.x86_64 Problem: problem with installed package kernel-default-base-2.6.37-9.1.x86_64 Problem: problem with installed package kernel-default-devel-2.6.37-9.1.x86_64 Problem: problem with installed package kernel-devel-2.6.37-9.1.noarch Problem: problem with installed package kernel-source-2.6.37-9.1.noarch Problem: problem with installed package kernel-default-2.6.37-9.1.x86_64 Solution 1: Following actions will be done: replacement of kernel-default-2.6.37-9.1.x86_64 with kernel-default-2.6.37-11.1.x86_64 deinstallation of kernel-default-2.6.37-9.1.x86_64 Solution 2: keep obsolete kernel-default-2.6.37-9.1.x86_64 Choose from above solutions by number or skip, retry or cancel [1/2/s/r/c] (c):· I don't get why the multiversion feature of libzypp doesn't work as son as I'm using the Tumbleweed repository. This had also been part of the discussion in this thread http://lists.opensuse.org/opensuse-factory/2011-02/msg00164.html -- 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=671121 https://bugzilla.novell.com/show_bug.cgi?id=671121#c1 Felix Miata <mrmazda@earthlink.net> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |mrmazda@earthlink.net Platform|x86-64 |All --- Comment #1 from Felix Miata <mrmazda@earthlink.net> 2011-02-21 07:38:07 UTC --- I agree this is awful. The very first thing zypper tried to do with Tumbleweed repo enabled is bring my installed kernel count to zero, in defiance of multiversion setting in zypp.conf. I misread the solution options, chose 1, and proceeded. I aborted immediately upon seeing the removal begin, but the damage was done. I had to rpm -e --nodeps kernel-desktop; zypper in kernel-desktop-2.6.34-12-desktop (which built a 6212128 byte initrd to replace my backed up 4707997 byte initrd). It seems impossible for zypper to have Tumbleweed enabled and have more than one installed kernel except by selecting a specific kernel to zypper in after locking specific existing version(s). -- 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=671121 https://bugzilla.novell.com/show_bug.cgi?id=671121#c2 --- Comment #2 from Michael Schröder <mls@novell.com> 2011-02-21 10:34:57 UTC --- It's not "impossible", zypper just asks for confirmation. Just choose solution #2. If multiple kernels are in the tumbleweed repo it wouldn't even do that, it just asks because it wants to make sure that it's ok to leave a *non tumbleweed* kernel installed despite you saying that you want the package to come from tumbleweed. (If the old kernel did come from tumbleweed, zypper didn't detect this because the old kernel is no longer in the tumbleweed repo.) (But I agree that zypper probably shouldn't ask in the multiversion case.) -- 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=671121 https://bugzilla.novell.com/show_bug.cgi?id=671121#c3 Felix Miata <mrmazda@earthlink.net> changed: What |Removed |Added ---------------------------------------------------------------------------- Component|libzypp |libzypp Product|openSUSE 11.3 |openSUSE 11.4 Target Milestone|--- |Final OS/Version|openSUSE 11.3 |openSUSE 11.4 --- Comment #3 from Felix Miata <mrmazda@earthlink.net> 2011-04-11 14:17:35 UTC --- Happened again with 11.4. -- 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=671121 https://bugzilla.novell.com/show_bug.cgi?id=671121#c Duncan Mac-Vicar <dmacvicar@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Priority|P5 - None |P4 - Low CC| |dmacvicar@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.
participants (1)
-
bugzilla_noreply@novell.com