[Pkg-oss4-maintainers] Bug#728267: Dependency includes obsolete package

Philipp Kern pkern at debian.org
Sat Nov 23 14:31:59 UTC 2013


On Wed, Oct 30, 2013 at 03:55:57AM +0000, Ben Hutchings wrote:
> oss4-dkms depends on linux-headers-686-pae | linux-headers-amd64 |
> linux-headers-generic | linux-headers.
> 
> linux-headers is a virtual package that is no longer provided,
> starting with Linux 3.11.  This is because any level of dependency
> (Depends, Recommends or Suggests) on 'linux-headers' prevented APT
> auto-removing any of the packages that provide it.
> 
> oss4-dkms will thus become uninstallable on non-x86 architectures.
> 
> I suggest that you replace this dependency with a recommendation of
> linux-headers-686-pae | linux-headers-amd64 | linux-headers-generic

It seems odd to me that there's no way to get linux headers to install
on non-x86 architectures unless you expand this to all of
linux-headers-*.

Anyway, I uploaded a fix to delayed/10-days, given that this is now
RC.

Kind regards
Philipp Kern
-------------- next part --------------
diff -Nru oss4-4.2-build2007/debian/changelog oss4-4.2-build2007/debian/changelog
--- oss4-4.2-build2007/debian/changelog	2012-12-04 20:53:23.000000000 +0100
+++ oss4-4.2-build2007/debian/changelog	2013-11-23 15:24:04.000000000 +0100
@@ -1,3 +1,11 @@
+oss4 (4.2-build2007-2.1) unstable; urgency=low
+
+  * Non-maintainer upload.
+  * Downgrade the linux-headers dependency to recommends.
+    (Closes: #728267)
+
+ -- Philipp Kern <pkern at debian.org>  Sat, 23 Nov 2013 15:23:32 +0100
+
 oss4 (4.2-build2007-2) unstable; urgency=medium
 
   * Revert changes from the previous NMU, it breaks more things
diff -Nru oss4-4.2-build2007/debian/control oss4-4.2-build2007/debian/control
--- oss4-4.2-build2007/debian/control	2012-11-19 12:00:44.000000000 +0100
+++ oss4-4.2-build2007/debian/control	2013-11-23 15:23:25.000000000 +0100
@@ -43,7 +43,8 @@
 Package: oss4-dkms
 Section: kernel
 Architecture: linux-any
-Depends: ${misc:Depends}, oss4-base, dkms, dpkg-dev, linux-headers-686-pae | linux-headers-amd64 | linux-headers-generic | linux-headers
+Depends: ${misc:Depends}, oss4-base, dkms, dpkg-dev
+Recommends: linux-headers-686-pae | linux-headers-amd64 | linux-headers-generic
 Provides: oss4-modules
 Description: Open Sound System - DKMS module sources
  This package contains the source for the OSS4 kernel modules,
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 490 bytes
Desc: Digital signature
URL: <http://lists.alioth.debian.org/pipermail/pkg-oss4-maintainers/attachments/20131123/f8b0182f/attachment.sig>


More information about the Pkg-oss4-maintainers mailing list