https://bugzilla.novell.com/show_bug.cgi?id=885726 https://bugzilla.novell.com/show_bug.cgi?id=885726#c0 Summary: kernel installs/upgrades, using zypper, are not cleaning "/lib/modules/*" of old/unused dirs Classification: openSUSE Product: openSUSE 13.1 Version: Final Platform: All OS/Version: openSUSE 13.1 Status: NEW Severity: Normal Priority: P5 - None Component: Kernel AssignedTo: kernel-maintainers@forge.provo.novell.com ReportedBy: grantksupport@operamail.com QAContact: qa-bugs@suse.de Found By: --- Blocker: --- User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Firefox/31.0 I'm currently running lsb_release -rd Description: openSUSE 13.1 (Bottle) (x86_64) Release: 13.1 One kernel version is currently installed, from Kernel:stable rpm -qa | grep -i ^kernel kernel-firmware-20140624git-35.1.noarch kernel-source-3.15.2-2.1.gd43d97e.noarch kernel-syms-3.15.2-2.1.gd43d97e.x86_64 kernel-devel-3.15.2-2.1.gd43d97e.noarch kernel-docs-3.15.2-2.1.gd43d97e.noarch kernel-desktop-devel-3.15.2-2.1.gd43d97e.x86_64 kernel-default-devel-3.15.2-2.1.gd43d97e.x86_64 kernel-desktop-3.15.2-2.1.gd43d97e.x86_64 and it's active uname -rm 3.15.2-2.gd43d97e-desktop x86_64 my zypp.conf is currently config'd for multiversion support: grep multi /etc/zypp/zypp.conf multiversion = provides:multiversion(kernel) multiversion.kernels = latest,latest-1,running My repo config includes zypper lr -dp | egrep -i "Kernel|OS13" 13 | KernelStable | KernelStable | Yes | Yes | 10 | rpm-md | http://download.opensuse.org/repositories/Kernel:/stable/standard 23 | OS13-non-oss | OS13-non-oss | Yes | Yes | 99 | yast2 | http://download.opensuse.org/distribution/13.1/repo/non-oss/ 24 | OS13-oss | OS13-oss | Yes | Yes | 99 | yast2 | http://download.opensuse.org/distribution/13.1/repo/oss/ 25 | OS13-security | OS13-security | Yes | Yes | 90 | rpm-md | http://download.opensuse.org/repositories/security/openSUSE_13.1 26 | OS13-update | OS13-update | Yes | Yes | 90 | rpm-md | http://download.opensuse.org/update/13.1 Checking at http://download.opensuse.org/repositories/Kernel:/stable/standard/x86_64/ kernel v3.15.3 is available. With the multiversion config above, on exec of `zypper -vvv dup`, I'd expect to end up with 2 kernels, current/running 3.15.2-2 and new 3.15.3. but, zypper -v dup attempts to install *2* new kernels ... the targeted 3.15.3 *AND* an 'old' (undesired) 3.11.x zypper -v dup ... The following 10 NEW packages are going to be installed: kernel-default-devel 3.11.10-17.2 x86_64 OS13-update openSUSE kernel-default-devel 3.15.3-1.1.g42bf625 x86_64 KernelStable obs://build.opensuse.org/Kernel kernel-desktop 3.15.3-1.1.g42bf625 x86_64 KernelStable obs://build.opensuse.org/Kernel kernel-desktop-devel 3.11.10-17.2 x86_64 OS13-update openSUSE kernel-desktop-devel 3.15.3-1.1.g42bf625 x86_64 KernelStable obs://build.opensuse.org/Kernel kernel-devel 3.11.10-17.2 noarch OS13-update openSUSE kernel-devel 3.15.3-1.1.g42bf625 noarch KernelStable obs://build.opensuse.org/Kernel kernel-source 3.15.3-1.1.g42bf625 noarch KernelStable obs://build.opensuse.org/Kernel kernel-syms 3.11.10-17.1 x86_64 OS13-update openSUSE kernel-xen-devel 3.11.10-17.2 x86_64 OS13-update openSUSE The following package is going to be upgraded: kernel-docs 3.15.2-2.1.gd43d97e -> 3.15.3-1.1.g42bf625 noarch KernelStable obs://build.opensuse.org/Kernel The following 2 packages are going to be reinstalled: kernel-devel 3.15.2-2.1.gd43d97e noarch KernelStable obs://build.opensuse.org/Kernel kernel-source 3.15.2-2.1.gd43d97e noarch KernelStable obs://build.opensuse.org/Kernel 1 package to upgrade, 10 new, 2 to reinstall. Overall download size: 241.3 MiB. After the operation, additional 789.7 MiB will be used. Continue? [y/n/? shows all options] (y): If, otoh, I add to /etc/zypp/locks repo: OS13-oss repo: OS13-update repo: OS13-update-standard repo: OS13-security.repo type: package match_type: glob solvable_name: kernel-* now, at zypper -v dup only the ONE, targeted 'latest' kernel is installed zypper -v dup ... The following 5 NEW packages are going to be installed: kernel-default-devel 3.15.3-1.1.g42bf625 x86_64 KernelStable obs://build.opensuse.org/Kernel kernel-desktop 3.15.3-1.1.g42bf625 x86_64 KernelStable obs://build.opensuse.org/Kernel kernel-desktop-devel 3.15.3-1.1.g42bf625 x86_64 KernelStable obs://build.opensuse.org/Kernel kernel-devel 3.15.3-1.1.g42bf625 noarch KernelStable obs://build.opensuse.org/Kernel kernel-source 3.15.3-1.1.g42bf625 noarch KernelStable obs://build.opensuse.org/Kernel The following package is going to be upgraded: kernel-docs 3.15.2-2.1.gd43d97e -> 3.15.3-1.1.g42bf625 noarch KernelStable obs://build.opensuse.org/Kernel The following 2 packages are going to be reinstalled: kernel-devel 3.15.2-2.1.gd43d97e noarch KernelStable obs://build.opensuse.org/Kernel kernel-source 3.15.2-2.1.gd43d97e noarch KernelStable obs://build.opensuse.org/Kernel 1 package to upgrade, 5 new, 2 to reinstall. Overall download size: 224.7 MiB. After the operation, additional 734.2 MiB will be used. Continue? [y/n/? shows all options] (y): Using multiversion.kernels = latest,latest-1,running should, assuming that you're running 'latest', limit kernel count == 2, where they're the 2 *latest* kernels from assigned/enabled/prioritized repos Reproducible: Always Steps to Reproduce: 1. 2. 3. -- 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.