LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian
User Name
Password
Debian This forum is for the discussion of Debian Linux.

Notices


Reply
  Search this Thread
Old 06-27-2007, 02:32 PM   #1
tronica
Member
 
Registered: Nov 2005
Location: KCMO
Posts: 82

Rep: Reputation: 15
not able to install nvidia-glx


I'm trying install nvidia driver with apt-get install nvidia-glx,a nd i get the following

Quote:
debian:/home/tronica# apt-get install nvidia-glx
Reading package lists... Done
Building dependency tree... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.

Since you only requested a single operation it is extremely likely that
the package is simply not installable and a bug report against
that package should be filed.
The following information may help to resolve the situation:

The following packages have unmet dependencies:
nvidia-glx: Depends: nvidia-kernel-100.14.09 but it is not installable
E: Broken packages
debian:/home/tronica#
I'm not sure what to do here, i've tried adding different repos, but that didn't do anything, any ideas.
 
Old 06-27-2007, 03:01 PM   #2
pljvaldez
LQ Guru
 
Registered: Dec 2005
Location: Somewhere on the String
Distribution: Debian Wheezy (x86)
Posts: 6,094

Rep: Reputation: 272Reputation: 272Reputation: 272
Which branch of debian are you running?

Assuming it's unstable, that's because the binary package doesn't exist for nvidia-kernel. But you can download the nvidia-kernel source and then build the package yourself. You might be able to do this with module-assistant. http://wiki.debian.org/NvidiaGraphicsDrivers

Last edited by pljvaldez; 06-27-2007 at 03:05 PM.
 
Old 06-27-2007, 03:53 PM   #3
tronica
Member
 
Registered: Nov 2005
Location: KCMO
Posts: 82

Original Poster
Rep: Reputation: 15
well... its someone elses machine, and they download the debian testing netinstall, they replaced those repos with some they found, i think on here. So they could get the latest kernel. However when they try to install nvidia-glx, it gives this

what i need is some repos that contain the latest repo and the latest nvidia driver. I'm a fedora guy so this is all weird to me. thanks.
 
Old 06-27-2007, 04:42 PM   #4
HappyTux
Senior Member
 
Registered: Mar 2003
Location: Nova Scotia, Canada
Distribution: Debian AMD64
Posts: 3,618

Rep: Reputation: 104Reputation: 104
Quote:
Originally Posted by tronica
I'm trying install nvidia driver with apt-get install nvidia-glx,a nd i get the following
Code:
debian:/home/tronica# apt-get install nvidia-glx
 Reading package lists... Done
 Building dependency tree... Done
 Some packages could not be installed. This may mean that you have
 requested an impossible situation or if you are using the unstable
 distribution that some required packages have not yet been created
 or been moved out of Incoming.
 
 Since you only requested a single operation it is extremely likely that
 the package is simply not installable and a bug report against
 that package should be filed.
 The following information may help to resolve the situation:
 
 The following packages have unmet dependencies:
 nvidia-glx: Depends: nvidia-kernel-100.14.09 but it is not installable
 E: Broken packages
 debian:/home/tronica#

I'm not sure what to do here, i've tried adding different repos, but that didn't do anything, any ideas.
Well to start with you don't install the driver with the nvidia-glx package it is usually a nvidia-kernel-????????.deb package that you install for it. Can you show us the contents of your /etc/apt/sources.list and the output of the commands apt-cache search nvidia-kernel and uname -r so we can get an idea of what is going on.

Edit: BTW you should use the [ code ][ /code ] options without the spaces when including something so we don't have to copy and paste into a post the quote option makes the text disappear when quoting it ourselves.

Last edited by HappyTux; 06-27-2007 at 04:44 PM.
 
Old 06-27-2007, 04:49 PM   #5
tronica
Member
 
Registered: Nov 2005
Location: KCMO
Posts: 82

Original Poster
Rep: Reputation: 15
Code:
debian:/home/fmx# apt-cache search nvidia-kernel
nvidia-kernel-common - NVIDIA binary kernel module common files
nvidia-kernel-2.6-486 - NVIDIA binary kernel module for 2.6 series compiled for 486
nvidia-kernel-2.6-686 - NVIDIA binary kernel module for 2.6 series compiled for 686
nvidia-kernel-2.6-k7 - NVIDIA binary kernel module for 2.6 series compiled for k7
nvidia-kernel-2.6.18-4-486 - NVIDIA binary kernel module for Linux 2.6.18-4-486
nvidia-kernel-2.6.18-4-686 - NVIDIA binary kernel module for Linux 2.6.18-4-686
nvidia-kernel-2.6.18-4-k7 - NVIDIA binary kernel module for Linux 2.6.18-4-k7
nvidia-kernel-legacy-2.6-486 - NVIDIA binary kernel module for 2.6 series compiled for 486
nvidia-kernel-legacy-2.6-686 - NVIDIA binary kernel module for 2.6 series compiled for 686
nvidia-kernel-legacy-2.6-k7 - NVIDIA binary kernel module for 2.6 series compiled for k7
nvidia-kernel-legacy-2.6.18-4-486 - NVIDIA binary kernel module for Linux 2.6.18-4-486 (legacy version)
nvidia-kernel-legacy-2.6.18-4-686 - NVIDIA binary kernel module for Linux 2.6.18-4-686 (legacy version)
nvidia-kernel-legacy-2.6.18-4-k7 - NVIDIA binary kernel module for Linux 2.6.18-4-k7 (legacy version)
nvidia-glx - NVIDIA binary Xorg driver
nvidia-glx-legacy-71xx - NVIDIA binary Xorg driver (71xx legacy version)
nvidia-glx-legacy-96xx - NVIDIA binary Xorg driver (96xx legacy version)
nvidia-kernel-legacy-71xx-2.6-686 - NVIDIA binary kernel module for 2.6 series compiled for 686
nvidia-kernel-legacy-71xx-2.6-k7 - NVIDIA binary kernel module for 2.6 series compiled for k7
nvidia-kernel-legacy-71xx-2.6.18-4-686 - NVIDIA binary kernel module for Linux 2.6.18-4-686 (legacy version)
nvidia-kernel-legacy-71xx-2.6.18-4-k7 - NVIDIA binary kernel module for Linux 2.6.18-4-k7 (legacy version)
nvidia-kernel-legacy-71xx-source - NVIDIA binary kernel module source (71xx legacy version)
nvidia-kernel-legacy-96xx-2.6-686 - NVIDIA binary kernel module for 2.6 series compiled for 686
nvidia-kernel-legacy-96xx-2.6-k7 - NVIDIA binary kernel module for 2.6 series compiled for k7
nvidia-kernel-legacy-96xx-2.6.18-4-686 - NVIDIA binary kernel module for Linux 2.6.18-4-686 (legacy version)
nvidia-kernel-legacy-96xx-2.6.18-4-k7 - NVIDIA binary kernel module for Linux 2.6.18-4-k7 (legacy version)
nvidia-kernel-legacy-96xx-source - NVIDIA binary kernel module source (96xx legacy version)
nvidia-kernel-legacy-source - NVIDIA binary kernel module source (71xx legacy version)
nvidia-kernel-source - NVIDIA binary kernel module sour
Code:
debian:/home/fmx# uname -r
2.6.21-2-686
see thats what i don't under stand is the kernel doesn't match the above search. heres the sources list

Quote:
# Security updates for "stable"
deb http://security.debian.org stable/updates main contrib non-free
deb http://security.debian.org testing/updates main contrib non-free

# Security updates for "testing"
#deb http://secure-testing.debian.net/debian-secure-testing etch/security-updates main contrib non-free
#deb-src http://secure-testing.debian.net/debian-secure-testing etch/security-updates main contrib non-free

# Stable
deb http://ftp.us.debian.org/debian stable main contrib non-free
deb-src http://ftp.us.debian.org/debian stable main contrib non-free

# Testing
deb http://ftp.us.debian.org/debian testing main contrib non-free
deb-src http://ftp.us.debian.org/debian testing main contrib non-free

# Unstable
deb http://ftp.us.debian.org/debian unstable main contrib non-free
deb-src http://ftp.us.debian.org/debian unstable main contrib non-free

#mplayer
deb http://www.debian-multimedia.org stable main
deb http://www.debian-multimedia.org testing main
deb http://www.debian-multimedia.org sid main

#deb http://ftp.de.debian.org/debian experimental main contrib non-free
#deb-src http://ftp.de.debian.org/debian experimental main contrib non-free

#debian-unofficial repository
deb http://ftp.debian-unofficial.org/debian unstable main contrib non-free restricted







#Christian Marillat Repository
deb http://www.debian-multimedia.org unstable main

# Beryl
deb http://debian.beryl-project.org/ etch main
#deb http://download.tuxfamily.org/mybery...tively-stable/ ./

# VLC
deb http://download.videolan.org/pub/videolan/debian sid main




Last edited by tronica; 06-27-2007 at 04:51 PM.
 
Old 06-27-2007, 05:22 PM   #6
HappyTux
Senior Member
 
Registered: Mar 2003
Location: Nova Scotia, Canada
Distribution: Debian AMD64
Posts: 3,618

Rep: Reputation: 104Reputation: 104
Quote:
Originally Posted by tronica
Code:
debian:/home/fmx# apt-cache search nvidia-kernel
nvidia-kernel-common - NVIDIA binary kernel module common files
nvidia-kernel-2.6-486 - NVIDIA binary kernel module for 2.6 series compiled for 486
nvidia-kernel-2.6-686 - NVIDIA binary kernel module for 2.6 series compiled for 686
nvidia-kernel-2.6-k7 - NVIDIA binary kernel module for 2.6 series compiled for k7
nvidia-kernel-2.6.18-4-486 - NVIDIA binary kernel module for Linux 2.6.18-4-486
nvidia-kernel-2.6.18-4-686 - NVIDIA binary kernel module for Linux 2.6.18-4-686
nvidia-kernel-2.6.18-4-k7 - NVIDIA binary kernel module for Linux 2.6.18-4-k7
nvidia-kernel-legacy-2.6-486 - NVIDIA binary kernel module for 2.6 series compiled for 486
nvidia-kernel-legacy-2.6-686 - NVIDIA binary kernel module for 2.6 series compiled for 686
nvidia-kernel-legacy-2.6-k7 - NVIDIA binary kernel module for 2.6 series compiled for k7
nvidia-kernel-legacy-2.6.18-4-486 - NVIDIA binary kernel module for Linux 2.6.18-4-486 (legacy version)
nvidia-kernel-legacy-2.6.18-4-686 - NVIDIA binary kernel module for Linux 2.6.18-4-686 (legacy version)
nvidia-kernel-legacy-2.6.18-4-k7 - NVIDIA binary kernel module for Linux 2.6.18-4-k7 (legacy version)
nvidia-glx - NVIDIA binary Xorg driver
nvidia-glx-legacy-71xx - NVIDIA binary Xorg driver (71xx legacy version)
nvidia-glx-legacy-96xx - NVIDIA binary Xorg driver (96xx legacy version)
nvidia-kernel-legacy-71xx-2.6-686 - NVIDIA binary kernel module for 2.6 series compiled for 686
nvidia-kernel-legacy-71xx-2.6-k7 - NVIDIA binary kernel module for 2.6 series compiled for k7
nvidia-kernel-legacy-71xx-2.6.18-4-686 - NVIDIA binary kernel module for Linux 2.6.18-4-686 (legacy version)
nvidia-kernel-legacy-71xx-2.6.18-4-k7 - NVIDIA binary kernel module for Linux 2.6.18-4-k7 (legacy version)
nvidia-kernel-legacy-71xx-source - NVIDIA binary kernel module source (71xx legacy version)
nvidia-kernel-legacy-96xx-2.6-686 - NVIDIA binary kernel module for 2.6 series compiled for 686
nvidia-kernel-legacy-96xx-2.6-k7 - NVIDIA binary kernel module for 2.6 series compiled for k7
nvidia-kernel-legacy-96xx-2.6.18-4-686 - NVIDIA binary kernel module for Linux 2.6.18-4-686 (legacy version)
nvidia-kernel-legacy-96xx-2.6.18-4-k7 - NVIDIA binary kernel module for Linux 2.6.18-4-k7 (legacy version)
nvidia-kernel-legacy-96xx-source - NVIDIA binary kernel module source (96xx legacy version)
nvidia-kernel-legacy-source - NVIDIA binary kernel module source (71xx legacy version)
nvidia-kernel-source - NVIDIA binary kernel module sour
Code:
debian:/home/fmx# uname -r
2.6.21-2-686


see thats what i don't under stand is the kernel doesn't match the above search. heres the sources list
That I take it means you have got the kernel you are using from unstable then?? As you see already the output shows above that you have no candidate to install a 2.6.21- which means you will have to build your own. Try something like this:

Code:
apt-get install module-assistant
m-a prepare
apt-get install nvidia-kernel-common nvidia-kernel-source=100.14.09-1
m-a a-i -i -t -f nvidia
apt-get install nvidia-glx
dpkg-reconfigure xserver-xorg
Now you would need to make sure that the proper changes have been done to xorg.conf by having chosen the nvidia driver during the reconfigure step and restart the X server.

Now here try the below for a sources.list it will still give you the vlc which is available in Debian already and the mplayer is a duplicate anyways.

Code:
 # Testing
 deb http://ftp.us.debian.org/debian testing main contrib non-free
 deb-src http://ftp.us.debian.org/debian testing main contrib non-free
 
 # Unstable
 deb http://ftp.us.debian.org/debian unstable main contrib non-free
 deb-src http://ftp.us.debian.org/debian unstable main contrib non-free
 
 #deb http://ftp.de.debian.org/debian experimental main contrib non-free
 #deb-src http://ftp.de.debian.org/debian experimental main contrib non-free 
 
 #debian-unofficial repository
 deb http://ftp.debian-unofficial.org/debian unstable main contrib non-free restricted
 
 #Christian Marillat Repository various multimedia apps codecs ...
 deb http://www.debian-multimedia.org unstable main
 
 # Beryl
 deb http://debian.beryl-project.org/ etch main
 #deb http://download.tuxfamily.org/mybery...tively-stable/ ./
Now you should also create/modify these two files as well.
Code:
cat /etc/apt/preferences
Package: *
Pin: origin debian-multimedia.org
Pin-Priority: 990

Package: *
Pin: release testing
Pin-Priority: 900

Package: *
Pin: release unstable
Pin-Priority: 600

HappyTux:/home/stephen# cat /etc/apt/apt.conf

APT::Default-Release "testing";
APT::Get::Show-Versions "true";
APT::Cache-Limit 20000000;
APT::Get::Purge;
APT::Clean-Installed;
The preferences file will make sure that any packages that are available in the Marillat Repository are installed over any Debian packages with testing as your default release. Using this setup if you want/need any packages from unstable you install using apt-get install package/unstable or for a bunch of packages from their apt-get install -t unstable package1 package2 package3. once you have these two files in place you would have wanted to do a apt-get update then apt-get dist-upgrade to make sure you have no old stable packages laying around.
 
Old 06-27-2007, 10:15 PM   #7
JackieBrown
Member
 
Registered: Dec 2004
Location: San Antonio, TX
Distribution: Debian-AMD64 Sid
Posts: 481

Rep: Reputation: 31
You build that kernel with module assistant and then install nvidia-glx
 
Old 06-27-2007, 10:28 PM   #8
Junior Hacker
Senior Member
 
Registered: Jan 2005
Location: North America
Distribution: Debian testing Mandriva Ubuntu
Posts: 2,687

Rep: Reputation: 61
I could not install nvidia with the Debian way or binaries from nvidia with that kernel. But I did google the errors I got and found a patched driver for my Debian testing i386 with pretty much the same kernel.
http://www.linuxquestions.org/questi...87#post2775487
 
Old 06-28-2007, 02:14 PM   #9
GSX
Member
 
Registered: Feb 2005
Location: Germany
Distribution: Debian Etch, kernel 2.6.18
Posts: 103

Rep: Reputation: 15
Hi,

did you try to install the nvidia-driver provided by nvidia?


http://www.nvidia.com/object/unix.html




This driver worked for me on stable, testing and unstable..
just have a look for your kernel- sources, headers and tree and some compiler stuff

Last edited by GSX; 06-28-2007 at 02:18 PM.
 
Old 07-12-2007, 11:38 AM   #10
Red Knuckles
Member
 
Registered: Jan 2006
Location: Colorado USA
Distribution: Debian AMD 64 Testing, Sabayon Linux x86-64 3.4, and Ubuntu AMD 64 7.04
Posts: 235

Rep: Reputation: 30
Quote:
Originally Posted by HappyTux

Now you should also create/modify these two files as well.
Code:
cat /etc/apt/preferences
Package: *
Pin: origin debian-multimedia.org
Pin-Priority: 990

Package: *
Pin: release testing
Pin-Priority: 900

Package: *
Pin: release unstable
Pin-Priority: 600

HappyTux:/home/stephen# cat /etc/apt/apt.conf

APT::Default-Release "testing";
APT::Get::Show-Versions "true";
APT::Cache-Limit 20000000;
APT::Get::Purge;
APT::Clean-Installed;
The preferences file will make sure that any packages that are available in the Marillat Repository are installed over any Debian packages with testing as your default release. Using this setup if you want/need any packages from unstable you install using apt-get install package/unstable or for a bunch of packages from their apt-get install -t unstable package1 package2 package3. once you have these two files in place you would have wanted to do a apt-get update then apt-get dist-upgrade to make sure you have no old stable packages laying around.

Will creating [in my case] these 2 files as above work with aptitude as well? My /etc/apt/sources.list is very similar to yours.
 
Old 07-12-2007, 01:30 PM   #11
HappyTux
Senior Member
 
Registered: Mar 2003
Location: Nova Scotia, Canada
Distribution: Debian AMD64
Posts: 3,618

Rep: Reputation: 104Reputation: 104
Quote:
Originally Posted by Red Knuckles
Will creating [in my case] these 2 files as above work with aptitude as well? My /etc/apt/sources.list is very similar to yours.
That is a good question I really have no idea about as I never have used aptitude you can always try creating the files and testing it out with aptitude though.
 
Old 07-12-2007, 02:25 PM   #12
Red Knuckles
Member
 
Registered: Jan 2006
Location: Colorado USA
Distribution: Debian AMD 64 Testing, Sabayon Linux x86-64 3.4, and Ubuntu AMD 64 7.04
Posts: 235

Rep: Reputation: 30
Quote:
Originally Posted by HappyTux
That is a good question I really have no idea about as I never have used aptitude you can always try creating the files and testing it out with aptitude though.
I tried it both ways and it is different with aptitude. To use your method, which I like, one should stick with apt-get. Of course that means you can go back to using synaptic to manage packages as well right as synaptic is controlled by apt not aptitude.
 
Old 07-12-2007, 03:22 PM   #13
HappyTux
Senior Member
 
Registered: Mar 2003
Location: Nova Scotia, Canada
Distribution: Debian AMD64
Posts: 3,618

Rep: Reputation: 104Reputation: 104
Quote:
Originally Posted by Red Knuckles
To use your method, which I like, one should stick with apt-get. Of course that means you can go back to using synaptic to manage packages as well right as synaptic is controlled by apt not aptitude.
Yes that is how it would work.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
nvidia-glx-legacy & GLX errors Codegen Ubuntu 5 03-11-2007 03:18 PM
Nvidia GeForce 4 MX 440 poor performance nvidia glx drivers jollyjoice Linux - Hardware 7 06-07-2006 09:02 AM
nvidia legacy driver and nvidia-glx questions darkleaf Linux - Software 6 06-27-2005 02:42 PM
GLX Missing after nvidia install GDarkBladE Linux - Hardware 1 03-07-2005 12:19 AM
NVIDIA-GLX and General NVIDIA Problems g452 Slackware 7 05-30-2004 02:10 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian

All times are GMT -5. The time now is 09:35 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration