Bug ID | 1170232 |
---|---|
Summary | Kernel spec self obsoletes |
Classification | openSUSE |
Product | openSUSE Tumbleweed |
Version | Current |
Hardware | Other |
OS | Other |
Status | NEW |
Severity | Normal |
Priority | P5 - None |
Component | Kernel |
Assignee | kernel-maintainers@forge.provo.novell.com |
Reporter | dcermak@suse.com |
QA Contact | qa-bugs@suse.de |
Found By | --- |
Blocker | --- |
The kernel spec file contains a whole lot of self-obsoletes, which is pointed out by rpmlint: kernel-default.x86_64: W: self-obsoletion kernel-bigsmp <= 3.1 obsoletes kernel-bigsmp = 3.1 kernel-default.x86_64: W: self-obsoletion kernel-bigsmp-base <= 3.1 obsoletes kernel-bigsmp-base = 3.1 kernel-default-devel.x86_64: W: self-obsoletion kernel-bigsmp-devel <= 3.1 obsoletes kernel-bigsmp-devel = 3.1 kernel-default.x86_64: W: self-obsoletion kernel-desktop <= 4.3 obsoletes kernel-desktop = 4.3 kernel-default.x86_64: W: self-obsoletion kernel-desktop-base <= 4.3 obsoletes kernel-desktop-base = 4.3 kernel-default-devel.x86_64: W: self-obsoletion kernel-desktop-devel <= 4.3 obsoletes kernel-desktop-devel = 4.3 kernel-default.x86_64: W: self-obsoletion kernel-ec2 <= 4.4 obsoletes kernel-ec2 = 4.4 kernel-default.x86_64: W: self-obsoletion kernel-ec2-base <= 4.4 obsoletes kernel-ec2-base = 4.4 kernel-default-devel.x86_64: W: self-obsoletion kernel-ec2-devel <= 4.4 obsoletes kernel-ec2-devel = 4.4 kernel-default.x86_64: W: self-obsoletion kernel-smp <= 2.6.17 obsoletes kernel-smp = 2.6.17 kernel-default.x86_64: W: self-obsoletion kernel-trace <= 3.13 obsoletes kernel-trace = 3.13 kernel-default.x86_64: W: self-obsoletion kernel-trace-base <= 3.13 obsoletes kernel-trace-base = 3.13 kernel-default-devel.x86_64: W: self-obsoletion kernel-trace-devel <= 3.13 obsoletes kernel-trace-devel = 3.13 kernel-default.x86_64: W: self-obsoletion kernel-xen <= 4.4 obsoletes kernel-xen = 4.4 kernel-default.x86_64: W: self-obsoletion kernel-xen-base <= 4.4 obsoletes kernel-xen-base = 4.4 kernel-default-devel.x86_64: W: self-obsoletion kernel-xen-devel <= 4.4 obsoletes kernel-xen-devel = 4.4 The package obsoletes itself. This is known to cause errors in various tools and should thus be avoided, usually by using appropriately versioned Obsoletes and/or Provides and avoiding unversioned ones. Packages should not self-obsolete, as this breaks rpm and causes bugs like this one: https://bugzilla.redhat.com/show_bug.cgi?id=1824102. Not sure why this works with zypper, but it shouldn't.