Bug#827391: nvidia-driver: Add support to Nvidia GeForce 10xx GPUs w/ driver 367.27
Luca Boccassi
luca.boccassi at gmail.com
Sat Jul 9 22:39:21 UTC 2016
On Sat, 2016-07-09 at 22:55 +0200, hikaru.debian at web.de wrote:
> Dear Luca,
>
> > Meanwhile, you can build the package from our SVN repositories following
> > the instructions on the wiki:
> >
> > https://wiki.debian.org/NvidiaGraphicsDrivers#Building_newer_releases_from_SVN
>
> I followed the instructions to the letter on Jessie, with the tar patch and
> without it (but tar from Stretch), and successfully built a bunch of packages.
>
> However, when trying to install the packages, I get errors like this one:
>
> > dpkg: error processing archive nvidia-driver_367.27-1_i386.deb (--install):
> > trying to overwrite '/DEBIAN/control', which is also in package nvidia-legacy-check 367.27-1
>
> nvidia-legacy-check 367.27-1 was already installed at that time.
> I suspect this problem may have to do with the fact, that all the files in the
> packages seem to be present multiple times.
>
> For example (note the duplicates):
>
> # dpkg -c nvidia-driver-bin_367.27-1_i386.deb
> drwxr-xr-x root/root 0 2016-07-09 19:53 ./
> drwxr-xr-x root/root 0 2016-07-09 19:53 ./usr/
> drwxr-xr-x root/root 0 2016-07-09 19:53 ./usr/lib/
> drwxr-xr-x root/root 0 2016-07-09 19:53 ./usr/lib/nvidia/
> drwxr-xr-x root/root 0 2016-07-09 19:53 ./usr/lib/nvidia/current/
> -rwxr-xr-x root/root 23697 2016-06-10 04:51 ./usr/lib/nvidia/current/nvidia-bug-report.sh
> -rwxr-xr-x root/root 182172 2016-06-10 04:27 ./usr/lib/nvidia/current/nvidia-debugdump
> drwxr-xr-x root/root 0 2016-07-09 19:53 ./usr/share/
> drwxr-xr-x root/root 0 2016-07-09 19:53 ./usr/share/lintian/
> drwxr-xr-x root/root 0 2016-07-09 19:53 ./usr/share/lintian/overrides/
> -rw-r--r-- root/root 301 2016-07-09 19:52 ./usr/share/lintian/overrides/nvidia-driver-bin
> drwxr-xr-x root/root 0 2016-07-09 19:53 ./usr/share/nvidia/
> -rw-r--r-- root/root 5225 2016-06-10 03:28 ./usr/share/nvidia/nvidia-application-profiles-367.27-rc
> -rw-r--r-- root/root 6041 2016-06-10 03:28 ./usr/share/nvidia/nvidia-application-profiles-367.27-key-documentation
> drwxr-xr-x root/root 0 2016-07-09 19:53 ./usr/share/doc/
> drwxr-xr-x root/root 0 2016-07-09 19:53 ./usr/share/doc/nvidia-driver-bin/
> -rw-r--r-- root/root 67033 2016-06-10 03:23 ./usr/share/doc/nvidia-driver-bin/changelog.gz
> -rw-r--r-- root/root 10859 2016-02-01 19:58 ./usr/share/doc/nvidia-driver-bin/copyright
> -rw-r--r-- root/root 82986 2016-06-15 19:20 ./usr/share/doc/nvidia-driver-bin/changelog.Debian.gz
> drwxr-xr-x root/root 0 2016-07-09 19:53 ./usr/share/bug/
> drwxr-xr-x root/root 0 2016-07-09 19:53 ./usr/share/bug/nvidia-driver-bin/
> -rwxr-xr-x root/root 3100 2016-02-16 14:22 ./usr/share/bug/nvidia-driver-bin/script
> -rw-r--r-- root/root 785 2016-07-09 19:52 ./usr/share/bug/nvidia-driver-bin/control
> drwxr-xr-x root/root 0 2016-07-09 19:54 ./DEBIAN/
> -rw-r--r-- root/root 864 2016-07-09 19:54 ./DEBIAN/control
> -rw-r--r-- root/root 813 2016-07-09 19:54 ./DEBIAN/md5sums
> drwxr-xr-x root/root 0 2016-07-09 19:53 ./usr/
> drwxr-xr-x root/root 0 2016-07-09 19:53 ./usr/lib/
> drwxr-xr-x root/root 0 2016-07-09 19:53 ./usr/lib/nvidia/
> drwxr-xr-x root/root 0 2016-07-09 19:53 ./usr/lib/nvidia/current/
> -rwxr-xr-x root/root 23697 2016-06-10 04:51 ./usr/lib/nvidia/current/nvidia-bug-report.sh
> -rwxr-xr-x root/root 182172 2016-06-10 04:27 ./usr/lib/nvidia/current/nvidia-debugdump
> drwxr-xr-x root/root 0 2016-07-09 19:53 ./usr/share/
> drwxr-xr-x root/root 0 2016-07-09 19:53 ./usr/share/lintian/
> drwxr-xr-x root/root 0 2016-07-09 19:53 ./usr/share/lintian/overrides/
> -rw-r--r-- root/root 301 2016-07-09 19:52 ./usr/share/lintian/overrides/nvidia-driver-bin
> drwxr-xr-x root/root 0 2016-07-09 19:53 ./usr/share/nvidia/
> -rw-r--r-- root/root 5225 2016-06-10 03:28 ./usr/share/nvidia/nvidia-application-profiles-367.27-rc
> -rw-r--r-- root/root 6041 2016-06-10 03:28 ./usr/share/nvidia/nvidia-application-profiles-367.27-key-documentation
> drwxr-xr-x root/root 0 2016-07-09 19:53 ./usr/share/doc/
> drwxr-xr-x root/root 0 2016-07-09 19:53 ./usr/share/doc/nvidia-driver-bin/
> -rw-r--r-- root/root 67033 2016-06-10 03:23 ./usr/share/doc/nvidia-driver-bin/changelog.gz
> -rw-r--r-- root/root 10859 2016-02-01 19:58 ./usr/share/doc/nvidia-driver-bin/copyright
> -rw-r--r-- root/root 82986 2016-06-15 19:20 ./usr/share/doc/nvidia-driver-bin/changelog.Debian.gz
> drwxr-xr-x root/root 0 2016-07-09 19:53 ./usr/share/bug/
> drwxr-xr-x root/root 0 2016-07-09 19:53 ./usr/share/bug/nvidia-driver-bin/
> -rwxr-xr-x root/root 3100 2016-02-16 14:22 ./usr/share/bug/nvidia-driver-bin/script
> -rw-r--r-- root/root 785 2016-07-09 19:52 ./usr/share/bug/nvidia-driver-bin/control
> drwxr-xr-x root/root 0 2016-07-09 19:53 ./usr/lib/
> drwxr-xr-x root/root 0 2016-07-09 19:53 ./usr/lib/nvidia/
> drwxr-xr-x root/root 0 2016-07-09 19:53 ./usr/lib/nvidia/current/
> -rwxr-xr-x root/root 23697 2016-06-10 04:51 ./usr/lib/nvidia/current/nvidia-bug-report.sh
> -rwxr-xr-x root/root 182172 2016-06-10 04:27 ./usr/lib/nvidia/current/nvidia-debugdump
> drwxr-xr-x root/root 0 2016-07-09 19:53 ./usr/lib/nvidia/
> drwxr-xr-x root/root 0 2016-07-09 19:53 ./usr/lib/nvidia/current/
> -rwxr-xr-x root/root 23697 2016-06-10 04:51 ./usr/lib/nvidia/current/nvidia-bug-report.sh
> -rwxr-xr-x root/root 182172 2016-06-10 04:27 ./usr/lib/nvidia/current/nvidia-debugdump
> drwxr-xr-x root/root 0 2016-07-09 19:53 ./usr/lib/nvidia/current/
> -rwxr-xr-x root/root 23697 2016-06-10 04:51 ./usr/lib/nvidia/current/nvidia-bug-report.sh
> -rwxr-xr-x root/root 182172 2016-06-10 04:27 ./usr/lib/nvidia/current/nvidia-debugdump
> -rwxr-xr-x root/root 23697 2016-06-10 04:51 ./usr/lib/nvidia/current/nvidia-bug-report.sh
> -rwxr-xr-x root/root 182172 2016-06-10 04:27 ./usr/lib/nvidia/current/nvidia-debugdump
> drwxr-xr-x root/root 0 2016-07-09 19:53 ./usr/share/
> drwxr-xr-x root/root 0 2016-07-09 19:53 ./usr/share/lintian/
> drwxr-xr-x root/root 0 2016-07-09 19:53 ./usr/share/lintian/overrides/
> -rw-r--r-- root/root 301 2016-07-09 19:52 ./usr/share/lintian/overrides/nvidia-driver-bin
> drwxr-xr-x root/root 0 2016-07-09 19:53 ./usr/share/nvidia/
> -rw-r--r-- root/root 5225 2016-06-10 03:28 ./usr/share/nvidia/nvidia-application-profiles-367.27-rc
> -rw-r--r-- root/root 6041 2016-06-10 03:28 ./usr/share/nvidia/nvidia-application-profiles-367.27-key-documentation
> drwxr-xr-x root/root 0 2016-07-09 19:53 ./usr/share/doc/
> drwxr-xr-x root/root 0 2016-07-09 19:53 ./usr/share/doc/nvidia-driver-bin/
> -rw-r--r-- root/root 67033 2016-06-10 03:23 ./usr/share/doc/nvidia-driver-bin/changelog.gz
> -rw-r--r-- root/root 10859 2016-02-01 19:58 ./usr/share/doc/nvidia-driver-bin/copyright
> -rw-r--r-- root/root 82986 2016-06-15 19:20 ./usr/share/doc/nvidia-driver-bin/changelog.Debian.gz
> drwxr-xr-x root/root 0 2016-07-09 19:53 ./usr/share/bug/
> drwxr-xr-x root/root 0 2016-07-09 19:53 ./usr/share/bug/nvidia-driver-bin/
> -rwxr-xr-x root/root 3100 2016-02-16 14:22 ./usr/share/bug/nvidia-driver-bin/script
> -rw-r--r-- root/root 785 2016-07-09 19:52 ./usr/share/bug/nvidia-driver-bin/control
> drwxr-xr-x root/root 0 2016-07-09 19:53 ./usr/share/lintian/
> drwxr-xr-x root/root 0 2016-07-09 19:53 ./usr/share/lintian/overrides/
> -rw-r--r-- root/root 301 2016-07-09 19:52 ./usr/share/lintian/overrides/nvidia-driver-bin
> drwxr-xr-x root/root 0 2016-07-09 19:53 ./usr/share/lintian/overrides/
> -rw-r--r-- root/root 301 2016-07-09 19:52 ./usr/share/lintian/overrides/nvidia-driver-bin
> -rw-r--r-- root/root 301 2016-07-09 19:52 ./usr/share/lintian/overrides/nvidia-driver-bin
> drwxr-xr-x root/root 0 2016-07-09 19:53 ./usr/share/nvidia/
> -rw-r--r-- root/root 5225 2016-06-10 03:28 ./usr/share/nvidia/nvidia-application-profiles-367.27-rc
> -rw-r--r-- root/root 6041 2016-06-10 03:28 ./usr/share/nvidia/nvidia-application-profiles-367.27-key-documentation
> -rw-r--r-- root/root 5225 2016-06-10 03:28 ./usr/share/nvidia/nvidia-application-profiles-367.27-rc
> -rw-r--r-- root/root 6041 2016-06-10 03:28 ./usr/share/nvidia/nvidia-application-profiles-367.27-key-documentation
> drwxr-xr-x root/root 0 2016-07-09 19:53 ./usr/share/doc/
> drwxr-xr-x root/root 0 2016-07-09 19:53 ./usr/share/doc/nvidia-driver-bin/
> -rw-r--r-- root/root 67033 2016-06-10 03:23 ./usr/share/doc/nvidia-driver-bin/changelog.gz
> -rw-r--r-- root/root 10859 2016-02-01 19:58 ./usr/share/doc/nvidia-driver-bin/copyright
> -rw-r--r-- root/root 82986 2016-06-15 19:20 ./usr/share/doc/nvidia-driver-bin/changelog.Debian.gz
> drwxr-xr-x root/root 0 2016-07-09 19:53 ./usr/share/doc/nvidia-driver-bin/
> -rw-r--r-- root/root 67033 2016-06-10 03:23 ./usr/share/doc/nvidia-driver-bin/changelog.gz
> -rw-r--r-- root/root 10859 2016-02-01 19:58 ./usr/share/doc/nvidia-driver-bin/copyright
> -rw-r--r-- root/root 82986 2016-06-15 19:20 ./usr/share/doc/nvidia-driver-bin/changelog.Debian.gz
> -rw-r--r-- root/root 67033 2016-06-10 03:23 ./usr/share/doc/nvidia-driver-bin/changelog.gz
> -rw-r--r-- root/root 10859 2016-02-01 19:58 ./usr/share/doc/nvidia-driver-bin/copyright
> -rw-r--r-- root/root 82986 2016-06-15 19:20 ./usr/share/doc/nvidia-driver-bin/changelog.Debian.gz
> drwxr-xr-x root/root 0 2016-07-09 19:53 ./usr/share/bug/
> drwxr-xr-x root/root 0 2016-07-09 19:53 ./usr/share/bug/nvidia-driver-bin/
> -rwxr-xr-x root/root 3100 2016-02-16 14:22 ./usr/share/bug/nvidia-driver-bin/script
> -rw-r--r-- root/root 785 2016-07-09 19:52 ./usr/share/bug/nvidia-driver-bin/control
> drwxr-xr-x root/root 0 2016-07-09 19:53 ./usr/share/bug/nvidia-driver-bin/
> -rwxr-xr-x root/root 3100 2016-02-16 14:22 ./usr/share/bug/nvidia-driver-bin/script
> -rw-r--r-- root/root 785 2016-07-09 19:52 ./usr/share/bug/nvidia-driver-bin/control
> -rwxr-xr-x root/root 3100 2016-02-16 14:22 ./usr/share/bug/nvidia-driver-bin/script
> -rw-r--r-- root/root 785 2016-07-09 19:52 ./usr/share/bug/nvidia-driver-bin/control
>
> file-roller even shows duplicates of DEBIAN/control and DEBIAN/md5sums, which
> might be the reason, dpkg is complaining.
> In other packages I see up to six identical copies of all files. Sometimes they
> all have the same correct timestamp, sometimes one of them is from 1970-01-01.
>
> Is there something missing in the instructions?
Hi,
Yes it should be made clearer, if you are on amd64 and want the 32 bit
libraries, not all packages should be installed.
Basically you'll want to install libgl1-nvidia-glx-i386 (or
nvidia-driver-libs-i386 depending on the branch) and their dependencies.
I've updated the wiki.
Kind regards,
Luca Boccassi
More information about the pkg-nvidia-devel
mailing list