[pkg-nvidia-devel] nvidia-graphics-drivers* are ready for upload

Andreas Beckmann debian at abeckmann.de
Sun Jul 18 11:17:01 UTC 2010


With some extra preinst checks (r1389), we get the following errors for
the first pass, but we no longer get into a possibly broken system state
because of mixed diversion ownership:

(pbuild20582)root at cake:/tmp# dpkg -i *.deb
Selecting previously deselected package libcuda1-dev.
(Reading database ... 16989 files and directories currently installed.)
Unpacking libcuda1-dev (from libcuda1-dev_195.36.31-1_amd64.deb) ...
Preparing to replace libcuda1-ia32 195.36.31-0.0anbe2 (using
libcuda1-ia32_195.36.31-1_amd64.deb) ...
Unpacking replacement libcuda1-ia32 ...
Preparing to replace libcuda1 195.36.31-0.0anbe2 (using
libcuda1_195.36.31-1_amd64.deb) ...
Unpacking replacement libcuda1 ...
Selecting previously deselected package libgl1-nvidia-dev.
dpkg: considering removing nvidia-glx-dev in favour of libgl1-nvidia-dev ...
dpkg: yes, will remove nvidia-glx-dev in favour of libgl1-nvidia-dev.
Unpacking libgl1-nvidia-dev (from
libgl1-nvidia-dev_195.36.31-1_amd64.deb) ...
Selecting previously deselected package libgl1-nvidia-glx-ia32.
dpkg: considering removing nvidia-glx-ia32 in favour of
libgl1-nvidia-glx-ia32 ...
dpkg: yes, will remove nvidia-glx-ia32 in favour of libgl1-nvidia-glx-ia32.
Unpacking libgl1-nvidia-glx-ia32 (from
libgl1-nvidia-glx-ia32_195.36.31-1_amd64.deb) ...
ERROR: An old version (195.36.24-4) of nvidia-glx-ia32 (<< 195.36.31)
       is still installed (state=H).
       Please correct the package upgrade ordering.
Aborting installation of libgl1-nvidia-glx-ia32.
dpkg: error processing libgl1-nvidia-glx-ia32_195.36.31-1_amd64.deb
(--install):
 subprocess new pre-installation script returned error exit status 1
dpkg-divert: mismatch on divert-to
  when removing `diversion of /usr/lib32/libGL.so.1.2 to
/usr/lib32/nvidia/diversions/libGL.so.1.2 by libgl1-nvidia-glx-ia32'
  found `diversion of /usr/lib32/libGL.so.1.2 to
/usr/lib32/nvidia/libGL.so.1.2.ia32-libs by nvidia-glx-ia32'
dpkg: error while cleaning up:
 subprocess new post-removal script returned error exit status 2
Selecting previously deselected package libgl1-nvidia-glx.
dpkg: considering removing nvidia-glx in favour of libgl1-nvidia-glx ...
dpkg: yes, will remove nvidia-glx in favour of libgl1-nvidia-glx.
Unpacking libgl1-nvidia-glx (from
libgl1-nvidia-glx_195.36.31-1_amd64.deb) ...
ERROR: An old version (195.36.24-4) of nvidia-glx (<< 195.36.31)
       is still installed (state=H).
       Please correct the package upgrade ordering.
Aborting installation of libgl1-nvidia-glx.
dpkg: error processing libgl1-nvidia-glx_195.36.31-1_amd64.deb (--install):
 subprocess new pre-installation script returned error exit status 1
dpkg-divert: mismatch on divert-to
  when removing `diversion of /usr/lib/libGL.so.1.2 to
/usr/lib/nvidia/diversions/libGL.so.1.2 by libgl1-nvidia-glx'
  found `diversion of /usr/lib/libGL.so.1.2 to
/usr/lib/nvidia/libGL.so.1.2.xlibmesa by nvidia-glx'
dpkg: error while cleaning up:
 subprocess new post-removal script returned error exit status 2
Selecting previously deselected package libnvidia-compiler-ia32.
Unpacking libnvidia-compiler-ia32 (from
libnvidia-compiler-ia32_195.36.31-1_amd64.deb) ...
rmdir: failed to remove `/usr/lib/nvidia': Directory not empty
Selecting previously deselected package libnvidia-compiler1-ia32.
Unpacking libnvidia-compiler1-ia32 (from
libnvidia-compiler1-ia32_195.36.31-1_amd64.deb) ...
Selecting previously deselected package libnvidia-compiler1.
Unpacking libnvidia-compiler1 (from
libnvidia-compiler1_195.36.31-1_amd64.deb) ...
Selecting previously deselected package libnvidia-compiler.
Unpacking libnvidia-compiler (from
libnvidia-compiler_195.36.31-1_amd64.deb) ...
Selecting previously deselected package nvidia-glx-dev.
Unpacking nvidia-glx-dev (from nvidia-glx-dev_195.36.31-1_amd64.deb) ...
Unpacking nvidia-glx-ia32 (from nvidia-glx-ia32_195.36.31-1_amd64.deb) ...
Unpacking nvidia-glx (from nvidia-glx_195.36.31-1_amd64.deb) ...
Adding `diversion of /usr/lib/xorg/modules/extensions/libglx.so to
/usr/lib/nvidia/diversions/libglx.so by nvidia-glx'
Removing `diversion of /usr/lib/xorg/modules/extensions/libglx.so to
/usr/lib/nvidia/diversions/libglx.so by nvidia-glx'
Preparing to replace nvidia-kernel-dkms 195.36.24-4 (using
nvidia-kernel-dkms_195.36.31-1_amd64.deb) ...

------------------------------
Deleting module version: 195.36.24
completely from the DKMS tree.
------------------------------
Done.
Unpacking replacement nvidia-kernel-dkms ...
Preparing to replace nvidia-kernel-source 195.36.24-4 (using
nvidia-kernel-source_195.36.31-1_amd64.deb) ...
Unpacking replacement nvidia-kernel-source ...
Selecting previously deselected package nvidia-libopencl1-dev.
Unpacking nvidia-libopencl1-dev (from
nvidia-libopencl1-dev_195.36.31-1_amd64.deb) ...
Preparing to replace nvidia-libopencl1-ia32 195.36.31-0.0anbe2 (using
nvidia-libopencl1-ia32_195.36.31-1_amd64.deb) ...
Unpacking replacement nvidia-libopencl1-ia32 ...
Preparing to replace nvidia-libopencl1 195.36.31-0.0anbe2 (using
nvidia-libopencl1_195.36.31-1_amd64.deb) ...
Unpacking replacement nvidia-libopencl1 ...
Selecting previously deselected package nvidia-libvdpau-dev.
Unpacking nvidia-libvdpau-dev (from
nvidia-libvdpau-dev_195.36.31-1_amd64.deb) ...
Selecting previously deselected package nvidia-libvdpau1-ia32.
Unpacking nvidia-libvdpau1-ia32 (from
nvidia-libvdpau1-ia32_195.36.31-1_amd64.deb) ...
Selecting previously deselected package nvidia-libvdpau1.
Unpacking nvidia-libvdpau1 (from nvidia-libvdpau1_195.36.31-1_amd64.deb) ...
Preparing to replace nvidia-opencl-common 195.36.31-0.0anbe2 (using
nvidia-opencl-common_195.36.31-1_amd64.deb) ...
Unpacking replacement nvidia-opencl-common ...
Preparing to replace nvidia-opencl-icd-ia32 195.36.31-0.0anbe2 (using
nvidia-opencl-icd-ia32_195.36.31-1_amd64.deb) ...
Unpacking replacement nvidia-opencl-icd-ia32 ...
Preparing to replace nvidia-opencl-icd 195.36.31-0.0anbe2 (using
nvidia-opencl-icd_195.36.31-1_amd64.deb) ...
Unpacking replacement nvidia-opencl-icd ...
Preparing to replace nvidia-vdpau-driver-ia32 195.36.24-4 (using
nvidia-vdpau-driver-ia32_195.36.31-1_amd64.deb) ...
Unpacking replacement nvidia-vdpau-driver-ia32 ...
Preparing to replace nvidia-vdpau-driver 195.36.24-4 (using
nvidia-vdpau-driver_195.36.31-1_amd64.deb) ...
Unpacking replacement nvidia-vdpau-driver ...
Setting up libcuda1-ia32 (195.36.31-1) ...
Setting up libcuda1 (195.36.31-1) ...
dpkg: dependency problems prevent configuration of libgl1-nvidia-dev:
 libgl1-nvidia-dev depends on libgl1-nvidia-glx (= 195.36.31-1); however:
  Package libgl1-nvidia-glx is not installed.
dpkg: error processing libgl1-nvidia-dev (--install):
 dependency problems - leaving unconfigured
Setting up libnvidia-compiler-ia32 (195.36.31-1) ...
Setting up libnvidia-compiler1-ia32 (195.36.31-1) ...
Setting up libnvidia-compiler (195.36.31-1) ...
dpkg: error processing nvidia-glx (--install):
 package nvidia-glx is not ready for configuration
 cannot configure (current status `config-files')
Setting up nvidia-kernel-dkms (195.36.31-1) ...
Loading new nvidia-195.36.31 DKMS files...
Building only for 2.6.31-0-amd64
Module build for the currently running kernel was skipped since the
kernel source for this kernel does not seem to be installed.
Setting up nvidia-kernel-source (195.36.31-1) ...
Setting up nvidia-libopencl1-ia32 (195.36.31-1) ...
Setting up nvidia-libopencl1 (195.36.31-1) ...
dpkg: dependency problems prevent configuration of nvidia-libvdpau-dev:
 nvidia-libvdpau-dev depends on libvdpau-dev; however:
  Package libvdpau-dev is not installed.
dpkg: error processing nvidia-libvdpau-dev (--install):
 dependency problems - leaving unconfigured
Setting up nvidia-opencl-common (195.36.31-1) ...
Setting up nvidia-opencl-icd-ia32 (195.36.31-1) ...
Setting up nvidia-opencl-icd (195.36.31-1) ...
Setting up nvidia-vdpau-driver-ia32 (195.36.31-1) ...
Setting up nvidia-vdpau-driver (195.36.31-1) ...
Setting up libcuda1-dev (195.36.31-1) ...
Setting up libnvidia-compiler1 (195.36.31-1) ...
Setting up nvidia-libopencl1-dev (195.36.31-1) ...
Setting up nvidia-libvdpau1-ia32 (195.36.31-1) ...
Setting up nvidia-libvdpau1 (195.36.31-1) ...
Errors were encountered while processing:
 libgl1-nvidia-glx-ia32_195.36.31-1_amd64.deb
 libgl1-nvidia-glx_195.36.31-1_amd64.deb
 libgl1-nvidia-dev
 nvidia-glx
 nvidia-libvdpau-dev
(pbuild20582)root at cake:/tmp#


OK, now second pass:

(pbuild20582)root at cake:/tmp# dpkg -i *.deb
(Reading database ...
dpkg: warning: files list file for package `libgl1-nvidia-glx' missing,
assuming package has no files currently installed.
(Reading database ... 15%
dpkg: warning: files list file for package `libgl1-nvidia-glx-ia32'
missing, assuming package has no files currently installed.
(Reading database ... 17006 files and directories currently installed.)
Preparing to replace libcuda1-dev 195.36.31-1 (using
libcuda1-dev_195.36.31-1_amd64.deb) ...
Unpacking replacement libcuda1-dev ...
Preparing to replace libcuda1-ia32 195.36.31-1 (using
libcuda1-ia32_195.36.31-1_amd64.deb) ...
Unpacking replacement libcuda1-ia32 ...
Preparing to replace libcuda1 195.36.31-1 (using
libcuda1_195.36.31-1_amd64.deb) ...
Unpacking replacement libcuda1 ...
Preparing to replace libgl1-nvidia-dev 195.36.31-1 (using
libgl1-nvidia-dev_195.36.31-1_amd64.deb) ...
Unpacking replacement libgl1-nvidia-dev ...
Preparing to replace libgl1-nvidia-glx-ia32 195.36.31-1 (using
libgl1-nvidia-glx-ia32_195.36.31-1_amd64.deb) ...
Adding `diversion of /usr/lib32/libGL.so to
/usr/lib32/nvidia/diversions/libGL.so by libgl1-nvidia-glx-ia32'
Adding `diversion of /usr/lib32/libGL.so.1 to
/usr/lib32/nvidia/diversions/libGL.so.1 by libgl1-nvidia-glx-ia32'
Adding `diversion of /usr/lib32/libGL.so.1.2 to
/usr/lib32/nvidia/diversions/libGL.so.1.2 by libgl1-nvidia-glx-ia32'
Unpacking replacement libgl1-nvidia-glx-ia32 ...
Preparing to replace libgl1-nvidia-glx 195.36.31-1 (using
libgl1-nvidia-glx_195.36.31-1_amd64.deb) ...
Adding `diversion of /usr/lib/libGL.so to
/usr/lib/nvidia/diversions/libGL.so by libgl1-nvidia-glx'
Adding `diversion of /usr/lib/libGL.so.1 to
/usr/lib/nvidia/diversions/libGL.so.1 by libgl1-nvidia-glx'
Adding `diversion of /usr/lib/libGL.so.1.2 to
/usr/lib/nvidia/diversions/libGL.so.1.2 by libgl1-nvidia-glx'
Unpacking replacement libgl1-nvidia-glx ...
Preparing to replace libnvidia-compiler-ia32 195.36.31-1 (using
libnvidia-compiler-ia32_195.36.31-1_amd64.deb) ...
Unpacking replacement libnvidia-compiler-ia32 ...
Preparing to replace libnvidia-compiler1-ia32 195.36.31-1 (using
libnvidia-compiler1-ia32_195.36.31-1_amd64.deb) ...
Unpacking replacement libnvidia-compiler1-ia32 ...
Preparing to replace libnvidia-compiler1 195.36.31-1 (using
libnvidia-compiler1_195.36.31-1_amd64.deb) ...
Unpacking replacement libnvidia-compiler1 ...
Preparing to replace libnvidia-compiler 195.36.31-1 (using
libnvidia-compiler_195.36.31-1_amd64.deb) ...
Unpacking replacement libnvidia-compiler ...
Selecting previously deselected package nvidia-glx-dev.
Unpacking nvidia-glx-dev (from nvidia-glx-dev_195.36.31-1_amd64.deb) ...
Selecting previously deselected package nvidia-glx-ia32.
Unpacking nvidia-glx-ia32 (from nvidia-glx-ia32_195.36.31-1_amd64.deb) ...
Unpacking nvidia-glx (from nvidia-glx_195.36.31-1_amd64.deb) ...
Adding `diversion of /usr/lib/xorg/modules/extensions/libglx.so to
/usr/lib/nvidia/diversions/libglx.so by nvidia-glx'
Preparing to replace nvidia-kernel-dkms 195.36.31-1 (using
nvidia-kernel-dkms_195.36.31-1_amd64.deb) ...

------------------------------
Deleting module version: 195.36.31
completely from the DKMS tree.
------------------------------
Done.
Unpacking replacement nvidia-kernel-dkms ...
Preparing to replace nvidia-kernel-source 195.36.31-1 (using
nvidia-kernel-source_195.36.31-1_amd64.deb) ...
Unpacking replacement nvidia-kernel-source ...
Preparing to replace nvidia-libopencl1-dev 195.36.31-1 (using
nvidia-libopencl1-dev_195.36.31-1_amd64.deb) ...
Unpacking replacement nvidia-libopencl1-dev ...
Preparing to replace nvidia-libopencl1-ia32 195.36.31-1 (using
nvidia-libopencl1-ia32_195.36.31-1_amd64.deb) ...
Unpacking replacement nvidia-libopencl1-ia32 ...
Preparing to replace nvidia-libopencl1 195.36.31-1 (using
nvidia-libopencl1_195.36.31-1_amd64.deb) ...
Unpacking replacement nvidia-libopencl1 ...
Preparing to replace nvidia-libvdpau-dev 195.36.31-1 (using
nvidia-libvdpau-dev_195.36.31-1_amd64.deb) ...
Unpacking replacement nvidia-libvdpau-dev ...
Preparing to replace nvidia-libvdpau1-ia32 195.36.31-1 (using
nvidia-libvdpau1-ia32_195.36.31-1_amd64.deb) ...
Unpacking replacement nvidia-libvdpau1-ia32 ...
Preparing to replace nvidia-libvdpau1 195.36.31-1 (using
nvidia-libvdpau1_195.36.31-1_amd64.deb) ...
Unpacking replacement nvidia-libvdpau1 ...
Preparing to replace nvidia-opencl-common 195.36.31-1 (using
nvidia-opencl-common_195.36.31-1_amd64.deb) ...
Unpacking replacement nvidia-opencl-common ...
Preparing to replace nvidia-opencl-icd-ia32 195.36.31-1 (using
nvidia-opencl-icd-ia32_195.36.31-1_amd64.deb) ...
Unpacking replacement nvidia-opencl-icd-ia32 ...
Preparing to replace nvidia-opencl-icd 195.36.31-1 (using
nvidia-opencl-icd_195.36.31-1_amd64.deb) ...
Unpacking replacement nvidia-opencl-icd ...
Preparing to replace nvidia-vdpau-driver-ia32 195.36.31-1 (using
nvidia-vdpau-driver-ia32_195.36.31-1_amd64.deb) ...
Unpacking replacement nvidia-vdpau-driver-ia32 ...
Preparing to replace nvidia-vdpau-driver 195.36.31-1 (using
nvidia-vdpau-driver_195.36.31-1_amd64.deb) ...
Unpacking replacement nvidia-vdpau-driver ...
Setting up libcuda1-ia32 (195.36.31-1) ...
Setting up libcuda1 (195.36.31-1) ...
Setting up libgl1-nvidia-glx-ia32 (195.36.31-1) ...
Setting up libgl1-nvidia-glx (195.36.31-1) ...
Setting up libnvidia-compiler-ia32 (195.36.31-1) ...
Setting up libnvidia-compiler1-ia32 (195.36.31-1) ...
Setting up libnvidia-compiler (195.36.31-1) ...
Setting up nvidia-kernel-dkms (195.36.31-1) ...
Loading new nvidia-195.36.31 DKMS files...
Building only for 2.6.31-0-amd64
Module build for the currently running kernel was skipped since the
kernel source for this kernel does not seem to be installed.
Setting up nvidia-kernel-source (195.36.31-1) ...
Setting up nvidia-libopencl1-ia32 (195.36.31-1) ...
Setting up nvidia-libopencl1 (195.36.31-1) ...
dpkg: dependency problems prevent configuration of nvidia-libvdpau-dev:
 nvidia-libvdpau-dev depends on libvdpau-dev; however:
  Package libvdpau-dev is not installed.
dpkg: error processing nvidia-libvdpau-dev (--install):
 dependency problems - leaving unconfigured
Setting up nvidia-opencl-common (195.36.31-1) ...
Setting up nvidia-opencl-icd-ia32 (195.36.31-1) ...
Setting up nvidia-opencl-icd (195.36.31-1) ...
Setting up nvidia-vdpau-driver-ia32 (195.36.31-1) ...
Setting up nvidia-vdpau-driver (195.36.31-1) ...
Setting up libcuda1-dev (195.36.31-1) ...
Setting up libnvidia-compiler1 (195.36.31-1) ...
Setting up nvidia-glx-ia32 (195.36.31-1) ...
Setting up nvidia-libopencl1-dev (195.36.31-1) ...
Setting up nvidia-libvdpau1-ia32 (195.36.31-1) ...
Setting up nvidia-libvdpau1 (195.36.31-1) ...
Processing triggers for libgl1-nvidia-glx ...
Setting up nvidia-glx (195.36.31-1) ...
Setting up libgl1-nvidia-dev (195.36.31-1) ...
Setting up nvidia-glx-dev (195.36.31-1) ...
Processing triggers for libgl1-nvidia-glx ...
Processing triggers for nvidia-glx ...
Errors were encountered while processing:
 nvidia-libvdpau-dev
(pbuild20582)root at cake:/tmp#




More information about the Pkg-nvidia-devel mailing list