Bug#706681: pu: package nvidia-graphics-drivers/304.88-1+deb7u1
Package: release.debian.org
Severity: normal
Tags: wheezy
User: release.debian.org@packages.debian.org
Usertags: pu
Hi,
I just noticed an upgrade issue in libcuda1 which shows up on
upgrades from squeeze to wheezy with recommends installed.
The postinst uses a script from nvidia support (and gracefully ignores
the fact if this does not exist). But a problem arises if the script
exists (because nvidia-support was unpacked) but is not yet usable
(because nvidia-support was not yet configured).
Adding a proper Depends fixes up the ordering, there is not really a use
case for using libcuda1 *without* having nvidia-support installed.
Attached is the patch between wheezy and sid (I verified that this
upgrade path works now, too), I'd reupload this is as 304.88-1+deb7u1 to
s-p-u. Of course you can also age & unblock the version currently in
sid.
Andreas
diff -Nru nvidia-graphics-drivers-304.88/debian/changelog nvidia-graphics-drivers-304.88/debian/changelog
--- nvidia-graphics-drivers-304.88/debian/changelog 2013-04-02 23:10:29.000000000 +0200
+++ nvidia-graphics-drivers-304.88/debian/changelog 2013-05-02 12:21:14.000000000 +0200
@@ -1,3 +1,11 @@
+nvidia-graphics-drivers (304.88-2) unstable; urgency=low
+
+ * Update lintian overrides.
+ * libcuda1: Add missing Depends: nvidia-support. Postinst may fail if
+ nvidia-support is unpacked, but not configured.
+
+ -- Andreas Beckmann <anbe@debian.org> Thu, 02 May 2013 12:20:20 +0200
+
nvidia-graphics-drivers (304.88-1) unstable; urgency=low
* New upstream legacy 304xx branch release 304.88 (2013-04-02).
@@ -9,6 +17,7 @@
arbitrary code execution. (Closes: #704547)
For more details, see:
http://nvidia.custhelp.com/app/answers/detail/a_id/3290
+ * Fixes display turned off on VT text consoles. (Closes: #703313)
-- Andreas Beckmann <anbe@debian.org> Tue, 02 Apr 2013 22:43:31 +0200
diff -Nru nvidia-graphics-drivers-304.88/debian/control nvidia-graphics-drivers-304.88/debian/control
--- nvidia-graphics-drivers-304.88/debian/control 2013-03-15 11:34:34.000000000 +0100
+++ nvidia-graphics-drivers-304.88/debian/control 2013-05-02 12:21:14.000000000 +0200
@@ -424,6 +424,7 @@
Pre-Depends:
${misc:Pre-Depends}
Depends:
+ nvidia-support,
${shlibs:Depends}, ${misc:Depends}
Recommends:
nvidia-kernel${nvidia:Legacy}-dkms (= ${binary:Version})
diff -Nru nvidia-graphics-drivers-304.88/debian/libcuda1.lintian-overrides.in nvidia-graphics-drivers-304.88/debian/libcuda1.lintian-overrides.in
--- nvidia-graphics-drivers-304.88/debian/libcuda1.lintian-overrides.in 2012-08-14 09:41:14.000000000 +0200
+++ nvidia-graphics-drivers-304.88/debian/libcuda1.lintian-overrides.in 2013-05-02 12:21:14.000000000 +0200
@@ -1,5 +1,4 @@
# The NVIDIA license does not allow any form of modification.
-[i386]: embedded-library usr/lib*/libcuda.so.#VERSION#: libm
embedded-library usr/lib*/libcuda.so.#VERSION#: zlib
shlib-with-executable-stack
[i386]: shlib-with-non-pic-code
diff -Nru nvidia-graphics-drivers-304.88/debian/libnvidia-compiler.lintian-overrides.in nvidia-graphics-drivers-304.88/debian/libnvidia-compiler.lintian-overrides.in
--- nvidia-graphics-drivers-304.88/debian/libnvidia-compiler.lintian-overrides.in 2012-05-21 21:50:51.000000000 +0200
+++ nvidia-graphics-drivers-304.88/debian/libnvidia-compiler.lintian-overrides.in 2013-05-02 12:21:14.000000000 +0200
@@ -1,6 +1,5 @@
# The NVIDIA license does not allow any form of modification.
binary-has-unneeded-section
-[i386]: embedded-library usr/lib*/libnvidia-compiler.so.#VERSION#: libm
shlib-with-executable-stack
[i386]: shlib-with-non-pic-code
spelling-error-in-binary
diff -Nru nvidia-graphics-drivers-304.88/debian/nvidia-opencl-icd.lintian-overrides.in nvidia-graphics-drivers-304.88/debian/nvidia-opencl-icd.lintian-overrides.in
--- nvidia-graphics-drivers-304.88/debian/nvidia-opencl-icd.lintian-overrides.in 2012-08-14 09:41:14.000000000 +0200
+++ nvidia-graphics-drivers-304.88/debian/nvidia-opencl-icd.lintian-overrides.in 2013-05-02 12:21:14.000000000 +0200
@@ -1,5 +1,4 @@
# The NVIDIA license does not allow any form of modification.
-[i386]: embedded-library usr/lib*/libnvidia-opencl.so.#VERSION#: libm
shlib-with-executable-stack
[i386]: shlib-with-non-pic-code
unstripped-binary-or-object
Reply to: