[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: installing nvidia card in lenny apt source.list not quite right...



On Mon, Apr 21, 2008 at 10:50:23PM +0000, Michael Fothergill wrote:
> OK here's my output: 
> 
> debian:/etc/apt# uname -r
> 2.6.24-1-amd64
> debian:/etc/apt# apt-get install module-assistant gcc nvidia-kernel-common
> Reading package lists... Done
> Building dependency tree       
> Reading state information... Done
> 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.
> The following extra packages will be installed:
>   gcc-4.2 libc6-dev linux-libc-dev
> Suggested packages:
>   autoconf automake1.9 bison flex gcc-doc gcc-multilib libtool manpages-dev gcc-4.2-doc gcc-4.2-locales gcc-4.2-multilib libgcc1-dbg libgomp1-dbg libmudflap0-4.2-dbg
>   libmudflap0-4.2-dev glibc-doc build-essential
> Recommended packages:
>   nvidia-kernel-source nvidia-kernel
> The following NEW packages will be installed
>   gcc gcc-4.2 libc6-dev linux-libc-dev module-assistant nvidia-kernel-common
> 0 upgraded, 6 newly installed, 0 to remove and 0 not upgraded.
> Need to get 0B/3742kB of archives.
> After this operation, 17.1MB of additional disk space will be used.
> Do you want to continue [Y/n]? y
> Selecting previously deselected package gcc-4.2.
> (Reading database ... 92011 files and directories currently installed.)
> Unpacking gcc-4.2 (from .../gcc-4.2_4.2.3-3_amd64.deb) ...
> Selecting previously deselected package gcc.
> Unpacking gcc (from .../gcc_4.2.2-2_amd64.deb) ...
> Selecting previously deselected package linux-libc-dev.
> Unpacking linux-libc-dev (from .../linux-libc-dev_2.6.24-5_amd64.deb) ...
> Selecting previously deselected package libc6-dev.
> Unpacking libc6-dev (from .../libc6-dev_2.7-10_amd64.deb) ...
> Selecting previously deselected package module-assistant.
> Unpacking module-assistant (from .../module-assistant_0.10.11.0_all.deb) ...
> Selecting previously deselected package nvidia-kernel-common.
> Unpacking nvidia-kernel-common (from .../nvidia-kernel-common_20051028+1-0.1_all.deb) ...
> Setting up gcc-4.2 (4.2.3-3) ...
> Setting up gcc (4:4.2.2-2) ...
> Setting up linux-libc-dev (2.6.24-5) ...
> Setting up libc6-dev (2.7-10) ...
> Setting up module-assistant (0.10.11.0) ...
> Setting up nvidia-kernel-common (20051028+1-0.1) ...
> 
> ************************************************************************
> *
> * The update-modules command is deprecated and should not be used!
> *
> ************************************************************************
> 
> update-rc.d: warning: /etc/init.d/nvidia-kernel missing LSB style header
> debian:/etc/apt# m-a update
> 
> Updated infos about 85 packages
> debian:/etc/apt# m-a prepare
> Getting source for kernel version: 2.6.24-1-amd64
> apt-get install linux-headers-2.6.24-1-amd64 
> Reading package lists... Done
> Building dependency tree       
> Reading state information... Done
> 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.
> The following extra packages will be installed:
>   cpp-4.1 gcc-4.1 gcc-4.1-base libmudflap0 libmudflap0-dev linux-headers-2.6.24-1-common linux-kbuild-2.6.24
> Suggested packages:
>   gcc-4.1-locales gcc-4.1-doc gcc-4.1-multilib
> The following NEW packages will be installed
>   cpp-4.1 gcc-4.1 gcc-4.1-base libmudflap0 libmudflap0-dev linux-headers-2.6.24-1-amd64 linux-headers-2.6.24-1-common linux-kbuild-2.6.24
> 0 upgraded, 8 newly installed, 0 to remove and 0 not upgraded.
> Need to get 96.1kB/7471kB of archives.
> After this operation, 40.7MB of additional disk space will be used.
> Do you want to continue [Y/n]? y
> Get: 1 http://http.us.debian.org testing/main libmudflap0 4.3.0-3 [96.1kB]
> Fetched 96.1kB in 7s (12.7kB/s)                                                                                                                                       
> Selecting previously deselected package gcc-4.1-base.
> (Reading database ... 93223 files and directories currently installed.)
> Unpacking gcc-4.1-base (from .../gcc-4.1-base_4.1.2-19_amd64.deb) ...
> Selecting previously deselected package cpp-4.1.
> Unpacking cpp-4.1 (from .../cpp-4.1_4.1.2-19_amd64.deb) ...
> Selecting previously deselected package gcc-4.1.
> Unpacking gcc-4.1 (from .../gcc-4.1_4.1.2-19_amd64.deb) ...
> Selecting previously deselected package libmudflap0.
> Unpacking libmudflap0 (from .../libmudflap0_4.3.0-3_amd64.deb) ...
> Selecting previously deselected package libmudflap0-dev.
> Unpacking libmudflap0-dev (from .../libmudflap0-dev_4.1.2-19_amd64.deb) ...
> Selecting previously deselected package linux-headers-2.6.24-1-common.
> Unpacking linux-headers-2.6.24-1-common (from .../linux-headers-2.6.24-1-common_2.6.24-5_amd64.deb) ...
> Selecting previously deselected package linux-kbuild-2.6.24.
> Unpacking linux-kbuild-2.6.24 (from .../linux-kbuild-2.6.24_2.6.24-1_amd64.deb) ...
> Selecting previously deselected package linux-headers-2.6.24-1-amd64.
> Unpacking linux-headers-2.6.24-1-amd64 (from .../linux-headers-2.6.24-1-amd64_2.6.24-5_amd64.deb) ...
> Setting up gcc-4.1-base (4.1.2-19) ...
> Setting up cpp-4.1 (4.1.2-19) ...
> Setting up gcc-4.1 (4.1.2-19) ...
> Setting up libmudflap0 (4.3.0-3) ...
> Setting up libmudflap0-dev (4.1.2-19) ...
> Setting up linux-headers-2.6.24-1-common (2.6.24-5) ...
> Setting up linux-kbuild-2.6.24 (2.6.24-1) ...
> Setting up linux-headers-2.6.24-1-amd64 (2.6.24-5) ...
> Creating symlink...
> apt-get install build-essential 
> Reading package lists... Done
> Building dependency tree       
> Reading state information... Done
> 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.
> The following extra packages will be installed:
>   g++ g++-4.2 libstdc++6-4.2-dev
> Suggested packages:
>   g++-multilib g++-4.2-multilib gcc-4.2-doc libstdc++6-4.2-dbg libstdc++6-4.2-doc
> The following NEW packages will be installed
>   build-essential g++ g++-4.2 libstdc++6-4.2-dev
> 0 upgraded, 4 newly installed, 0 to remove and 0 not upgraded.
> Need to get 0B/4282kB of archives.
> After this operation, 16.3MB of additional disk space will be used.
> Do you want to continue [Y/n]? y
> Selecting previously deselected package libstdc++6-4.2-dev.
> (Reading database ... 101699 files and directories currently installed.)
> Unpacking libstdc++6-4.2-dev (from .../libstdc++6-4.2-dev_4.2.3-3_amd64.deb) ...
> Selecting previously deselected package g++-4.2.
> Unpacking g++-4.2 (from .../g++-4.2_4.2.3-3_amd64.deb) ...
> Selecting previously deselected package g++.
> Unpacking g++ (from .../g++_4.2.2-2_amd64.deb) ...
> Selecting previously deselected package build-essential.
> Unpacking build-essential (from .../build-essential_11.3_amd64.deb) ...
> Setting up libstdc++6-4.2-dev (4.2.3-3) ...
> Setting up g++-4.2 (4.2.3-3) ...
> Setting up g++ (4:4.2.2-2) ...
> Setting up build-essential (11.3) ...
> 
> Done!
> debian:/etc/apt# m-a auto-install nvidia
> 
> 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
> Creating symlink...
> 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

OK, what does 'apt-cache search nvidia-kernel' say on your system?

It might work with 'm-a a-i -t nvidia-kernel' rather than 'nvidia'.  I
think something was renamed a little while ago and perhaps module
asistant in testing is a bit out of date on the current naming.

> Updated infos about 1 packages
> debian:/etc/apt# pwd
> /etc/apt
> debian:/etc/apt# more sources.list
> #
> # deb cdrom:[Debian GNU/Linux testing _Lenny_ - Official Snapshot amd64 DVD Binary-1 20080407-11:52]/ lenny contrib main
> 
> deb cdrom:[Debian GNU/Linux testing _Lenny_ - Official Snapshot amd64 DVD Binary-5 20080407-11:52]/ lenny contrib main
> deb cdrom:[Debian GNU/Linux testing _Lenny_ - Official Snapshot amd64 DVD Binary-4 20080407-11:52]/ lenny contrib main
> deb cdrom:[Debian GNU/Linux testing _Lenny_ - Official Snapshot amd64 DVD Binary-3 20080407-11:52]/ lenny contrib main
> deb cdrom:[Debian GNU/Linux testing _Lenny_ - Official Snapshot amd64 DVD Binary-2 20080407-11:52]/ lenny contrib main
> deb cdrom:[Debian GNU/Linux testing _Lenny_ - Official Snapshot amd64 DVD Binary-1 20080407-11:52]/ lenny contrib main
> 
> # Line commented out by installer because it failed to verify:
>  deb http://security.debian.org/ lenny/updates main contrib
> # Line commented out by installer because it failed to verify:
>  deb-src http://security.debian.org/ lenny/updates main contrib
> 
> deb http://http.us.debian.org/debian testing main contrib non-free
> deb http://non-us.debian.org/debian-non-US testing/non-US main contrib non-free
> deb-src http://http.us.debian.org/debian testing main contrib non-free
> deb-src http://non-us.debian.org/debian-non-US testing/non-US main contrib non-free

There is no such thing as non-us.debian.org anymore.  Delete those.

-- 
Len Sorensen


Reply to: