Re: installing nvidia card in lenny apt source.list not quite right...
On Tue, Apr 22, 2008 at 04:50:46PM +0000, Michael Fothergill wrote:
> I tried this but it did not work.
>
> Here is my output:
>
> debian:/home/mikef# cd /usr/src
> debian:/usr/src# ls
> linux linux-kbuild-2.6.24
> linux-headers-2.6.24-1-amd64 linux-OLDVERSION.1208822724
> linux-headers-2.6.24-1-common
> debian:/usr/src# ls -la
> total 20
> drwxrwsr-x 5 root src 4096 2008-04-22 01:05 .
> drwxr-xr-x 11 root root 4096 2008-04-11 01:54 ..
> lrwxrwxrwx 1 root src 37 2008-04-22 01:05 linux -> /usr/src/linux-headers-2.6.24-1-amd64
> drwxr-xr-x 4 root root 4096 2008-04-22 01:04 linux-headers-2.6.24-1-amd64
> drwxr-xr-x 18 root root 4096 2008-04-22 01:04 linux-headers-2.6.24-1-common
> drwxr-xr-x 3 root root 4096 2008-04-22 01:04 linux-kbuild-2.6.24
> lrwxrwxrwx 1 root src 28 2008-04-22 01:04 linux-OLDVERSION.1208822724 -> linux-headers-2.6.24-1-amd64
> debian:/usr/src# ln -s nvidia-kernel.tar.gz nvidia-kernel-source.tar.gz
> debian:/usr/src# m-a auto-install nvidia
You clearly don't even have the nvidia source package installed.
apt-get install nvidia-kernel or nvidia-kernel-source (whatever the
package is currently called).
> Updated infos about 1 packages
> Getting source for kernel version: 2.6.24-1-amd64
> Kernel headers available in /lib/modules/2.6.24-1-amd64/build
> apt-get install build-essential
> Reading package lists... Done
> Building dependency tree
> Reading state information... Done
> build-essential is already the newest version.
> The following packages were automatically installed and are no longer required:
> libxklavier11 libtotem-plparser7 refblas3 lapack3 libhsqldb-java-gcj
> libportaudio2 libsuitesparse libneon27-gnutls libg2c0 libsndfile1
> gcc-3.4-base
> Use 'apt-get autoremove' to remove them.
> 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
>
> Done!
> download
> Reading package lists... Done
> Building dependency tree
> Reading state information... Done
> Package nvidia-kernel-source is not available, but is referred to by another package.
> This may mean that the package is missing, has been obsoleted, or
> is only available from another source
> E: Package nvidia-kernel-source has no installation candidate
>
> Updated infos about 1 packages
> debian:/usr/src# m-a a-i -t nvidia-kernel
> .
> Updated infos about 1 packages
> Getting source for kernel version: 2.6.24-1-amd64
> Kernel headers available in /lib/modules/2.6.24-1-amd64/build
> apt-get install build-essential
> Reading package lists... Done
> Building dependency tree
> Reading state information... Done
> build-essential is already the newest version.
> The following packages were automatically installed and are no longer required:
> libxklavier11 libtotem-plparser7 refblas3 lapack3 libhsqldb-java-gcj
> libportaudio2 libsuitesparse libneon27-gnutls libg2c0 libsndfile1
> gcc-3.4-base
> Use 'apt-get autoremove' to remove them.
> 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
>
> Done!
> download
> Reading package lists... Done
> Building dependency tree
> Reading state information... Done
> Package nvidia-kernel-source is not available, but is referred to by another package.
> This may mean that the package is missing, has been obsoleted, or
> is only available from another source
> E: Package nvidia-kernel-source has no installation candidate
> Installation of the nvidia-kernel-source source failed.
>
> Ignoring this package. Maybe you need to add something to sources.list, maybe
> the contrib and non-free archives.
>
> Updating info about nvidia-kernel-source
>
> Updated infos about 1 packages
> debian:/usr/src# pwd
> /usr/src
> debian:/usr/src# ls
> linux linux-kbuild-2.6.24
> linux-headers-2.6.24-1-amd64 linux-OLDVERSION.1208822724
> linux-headers-2.6.24-1-common nvidia-kernel-source.tar.gz
> debian:/usr/src# ls -l
> total 12
> lrwxrwxrwx 1 root src 37 2008-04-22 01:05 linux -> /usr/src/linux-headers-2.6.24-1-amd64
> drwxr-xr-x 4 root root 4096 2008-04-22 01:04 linux-headers-2.6.24-1-amd64
> drwxr-xr-x 18 root root 4096 2008-04-22 01:04 linux-headers-2.6.24-1-common
> drwxr-xr-x 3 root root 4096 2008-04-22 01:04 linux-kbuild-2.6.24
> lrwxrwxrwx 1 root src 28 2008-04-22 01:04 linux-OLDVERSION.1208822724 -> linux-headers-2.6.24-1-amd64
> lrwxrwxrwx 1 root src 20 2008-04-22 19:41 nvidia-kernel-source.tar.gz -> nvidia-kernel.tar.gz
> debian:/usr/src#
>
> Should I not have more files than this in my source directory?
Yes you should.
--
Len Sorensen
Reply to: