Mailinglist Archive: opensuse-bugs (3547 mails)

< Previous Next >
[Bug 718755] New: purge-kernels script removes older kernels but not the corresponding -source and -devel packages
  • From: bugzilla_noreply@xxxxxxxxxx
  • Date: Sun, 18 Sep 2011 20:35:32 +0000
  • Message-id: <bug-718755-21960@http.bugzilla.novell.com/>

https://bugzilla.novell.com/show_bug.cgi?id=718755

https://bugzilla.novell.com/show_bug.cgi?id=718755#c0


Summary: purge-kernels script removes older kernels but not the
corresponding -source and -devel packages
Classification: openSUSE
Product: openSUSE 12.1
Version: Milestone 5
Platform: x86-64
OS/Version: SuSE Other
Status: NEW
Severity: Normal
Priority: P5 - None
Component: Basesystem
AssignedTo: bnc-team-screening@xxxxxxxxxxxxxxxxxxxxxx
ReportedBy: m4ng4n@xxxxxx
QAContact: qa@xxxxxxx
Found By: ---
Blocker: ---


User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:6.0.2) Gecko/20100101
Firefox/6.0.2

I have the kernel sources and the kernel-devel package installed and I am using
the multiversion kernel feature in zypp.conf.

The multiversion.kernels line in zypp.conf is

"multiversion.kernels = latest,latest-1,latest-2,running"

because I want to keep the newest kernel and the last two working ones.

The purge-kernels script is working fine as it removes old kernels as
configured in zypp.conf during the next reboot following a new kernel
install... except for two packages:

The kernel-source and the kernel-devel package are left on disk.
These two packages still have to be removed manually via Yast2 or zypper.

Reproducible: Always

Steps to Reproduce:
1. configure the purge-kernels script in zypp.conf to tell the script how many
kernels it should keep (for testing purposes one kernel should be sufficient)
2. install kernel sources
3. install a new kernel with sources when a new kernel is offered in the repo
4. reboot after the installation of the new kernel
5. during reboot the purge-kernels script removes the old kernel but not the
corresponding kernel-source and kernel-devel packages
Actual Results:
old kernel-source and kernel-devel packages are left on disk instead of being
removed and have to be removed manually using yast2 or zypper.

Expected Results:
old kernel-source and kernel-devel packages will be removed together with their
corresponding kernel package.

Happens on 32 bit and 64 bit systems 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.

< Previous Next >
Follow Ups