LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
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 07-08-2008, 09:03 PM   #1
Rick069
Member
 
Registered: Feb 2005
Distribution: Arch Linux
Posts: 204

Rep: Reputation: 30
Which debian repositories


What debian repositories do I need to include in my sources.list to get everything that I may need including graphics drivers for nvidia? I'm using the most recent version of debian.
 
Old 07-08-2008, 09:36 PM   #2
Junior Hacker
Senior Member
 
Registered: Jan 2005
Location: North America
Distribution: Debian testing Mandriva Ubuntu
Posts: 2,687

Rep: Reputation: 61
At the top of the Debian forum page here at LQ is a sticky called "Post your sources.list", it may give ideas.
Personally I prefer to use the Nvidia script from nvidia's site for proprietary drivers, but that's mostly a matter of personal choice as it has proven to be easier over time for me.
Below is my sources.list for my Debian testing (Lenny) which has'nt changed in a while as it seems to be adequate for me, for Debian specific sources I use a 'fast' mirror near my area over the typical Debian sources. Lines I don't use all the time (but do on occasion) are commented out with a hash (#). The kernel entries are there for when I want to try Unstable kernels or keep the current Lenny kernel up to date.
A list of all available Debian mirrors is available in section 2.3 of the Apt how-to.
Code:
####################
##### From DVD #####
####################

#deb cdrom:[Debian GNU/Linux testing _Lenny_ - Official Snapshot i386 DVD Binary-1 20071224-09:55]/ lenny contrib main

###############################
##### From Debian Mirrors #####
###############################

deb http://debian.mirror.rafal.ca/debian/ testing main contrib non-free
deb-src http://debian.mirror.rafal.ca/debian/ testing main contrib non-free

#deb http://debian.mirror.rafal.ca/debian/ unstable main contrib non-free
#deb-src http://debian.mirror.rafal.ca/debian/ unstable main contrib non-free

##################################
##### Kernel Archive Builder #####
##################################
#gpg --keyserver hkp://wwwkeys.eu.pgp.net --recv-keys 29F335B3
#gpg --armor --export 29F335B3 | apt-key add -
#deb http://kernel-archive.buildserver.net/debian-kernel/ trunk main

####################
##### Security #####
####################
deb http://debian.mirror.iweb.ca/debian-security/ testing/updates main contrib non-free
deb-src http://debian.mirror.iweb.ca/debian-security/ testing/updates main contrib non-free

##################
##### Kernel #####
##################
deb http://mirrors.kernel.org/debian/ testing main contrib non-free
deb-src http://mirrors.kernel.org/debian/ testing main contrib non-free

#deb http://mirrors.kernel.org/debian/ unstable main contrib non-free
#deb-src http://mirrors.kernel.org/debian/ unstable main contrib non-free

######################
##### Multimedia #####
######################
#gpg --keyserver hkp://wwwkeys.eu.pgp.net --recv-keys 1F41B907
#gpg --armor --export 1F41B907 | apt-key add -
deb ftp://mirrors.powersource.cx/pub/debian-multimedia/ testing main
deb-src ftp://mirrors.powersource.cx/pub/debian-multimedia/ testing main

######################
##### Unofficial #####
######################
#gpg --keyserver subkeys.pgp.net --recv-keys 24C52AC3
#gpg --armor --export 24C52AC3 | apt-key add -
deb http://ftp.debian-unofficial.org/debian/ testing main contrib non-free restricted
deb-src http://ftp.debian-unofficial.org/debian/ testing main contrib non-free restricted

########################
#### Compiz fusion #####
########################

#wget http://download.tuxfamily.org/shames/A42A6CF5.gpg -O- | apt-key add -
deb http://download.tuxfamily.org/shames/debian-lenny/desktopfx/unstable/ ./
 
Old 07-09-2008, 06:47 AM   #3
lurko
Member
 
Registered: Jun 2006
Location: Ontario, Canada
Distribution: Debian
Posts: 448

Rep: Reputation: 35
Quote:
Originally Posted by Rick069 View Post
What debian repositories do I need to include in my sources.list to get everything that I may need including graphics drivers for nvidia? I'm using the most recent version of debian.
If your repositories look like this:
deb http://debian.mirror.rafal.ca/debian/ testing main

you want them to look this:
deb http://debian.mirror.rafal.ca/debian/ testing main contrib non-free

Ignore the specific repository address in the example, use whichever one you're using already. It's the non-free section that will include nVidia's (and ATI's) blob.

You can read about the different repository sections here. The APT HOWTO Junior Hacker linked is handy info too btw.
 
Old 07-09-2008, 02:07 PM   #4
farslayer
LQ Guru
 
Registered: Oct 2005
Location: Northeast Ohio
Distribution: linuxdebian
Posts: 7,249
Blog Entries: 5

Rep: Reputation: 191Reputation: 191
this is my complete sources list.. gets the multimedia components a well as the standard debian nvidia drivers. if you need the latest nvidia drivers then you need to download them from nvidia directly and run the install script.

Code:
deb http://ftp.uwsg.indiana.edu/linux/debian/  etch main non-free contrib
deb-src http://ftp.uwsg.indiana.edu/linux/debian/ etch main non-free contrib

deb http://security.debian.org/ etch/updates main contrib non-free
deb-src http://security.debian.org/ etch/updates main contrib non-free

deb http://www.debian-multimedia.org etch main
aptitude update
aptitude install debian-multimedia-keyring
aptitude install build-essential module-assistant
m-a update
m-a prepare
m-a a-i nvidia
aptitude install nvidia-glx


edit your xorg.conf and change the driver from nv or vesa to nvidia
 
Old 07-10-2008, 10:37 AM   #5
carlosinfl
Senior Member
 
Registered: May 2004
Location: Orlando, FL
Distribution: Arch
Posts: 2,905

Rep: Reputation: 77
I use the nvidia install script from www.nvidia.com.
 
Old 07-22-2008, 02:32 AM   #6
FredGSanford
Senior Member
 
Registered: Nov 2005
Location: USA
Distribution: Mageia 7 - Debian 10 - Artix Linux
Posts: 1,142
Blog Entries: 5

Rep: Reputation: 207Reputation: 207Reputation: 207
Does this work with Lenny also? I know to change from etch to lenny, but I've recently done a fresh install of lenny and having some problems with video. My video card is a built-in nVidia GeForce 7050. I can't get the nv driver loaded, stuck with vesa.

Thnx.

Quote:
Originally Posted by farslayer View Post
this is my complete sources list.. gets the multimedia components a well as the standard debian nvidia drivers. if you need the latest nvidia drivers then you need to download them from nvidia directly and run the install script.

Code:
deb http://ftp.uwsg.indiana.edu/linux/debian/  etch main non-free contrib
deb-src http://ftp.uwsg.indiana.edu/linux/debian/ etch main non-free contrib

deb http://security.debian.org/ etch/updates main contrib non-free
deb-src http://security.debian.org/ etch/updates main contrib non-free

deb http://www.debian-multimedia.org etch main
aptitude update
aptitude install debian-multimedia-keyring
aptitude install build-essential module-assistant
m-a update
m-a prepare
m-a a-i nvidia
aptitude install nvidia-glx


edit your xorg.conf and change the driver from nv or vesa to nvidia
 
Old 07-22-2008, 07:19 AM   #7
Tons of Fun
Member
 
Registered: Dec 2004
Location: Orlando, Florida
Distribution: Debian 10 | Kali Linux | Ubuntu 20.04 LTS
Posts: 382

Rep: Reputation: 37
In Junior Hackers list, I see the gpg entries. Did you include them in the list so that you have a record of them? I have run the commands to get the keys in my keyring, but they are not in my sources list.
 
Old 07-22-2008, 09:29 AM   #8
farslayer
LQ Guru
 
Registered: Oct 2005
Location: Northeast Ohio
Distribution: linuxdebian
Posts: 7,249
Blog Entries: 5

Rep: Reputation: 191Reputation: 191
Quote:
Originally Posted by FredGSanford View Post
Does this work with Lenny also? I know to change from etch to lenny, but I've recently done a fresh install of lenny and having some problems with video. My video card is a built-in nVidia GeForce 7050. I can't get the nv driver loaded, stuck with vesa.

Thnx.
I Believe it will work in Lenny oncve it becomes stable. But right now there is no nvidia-glx package in Lenny. You might be able to grab them from sid,

Or purge the Debian nvidia packages and just run the nvidia installer script from their site.

If you installed the nvidia drivers the 'Debian way' then you MUST not skip the purge step before using the nvidia driver else the driver fails after each reboot.
 
Old 07-22-2008, 07:54 PM   #9
Junior Hacker
Senior Member
 
Registered: Jan 2005
Location: North America
Distribution: Debian testing Mandriva Ubuntu
Posts: 2,687

Rep: Reputation: 61
Quote:
I use the nvidia install script from www.nvidia.com.
My favorite distro is Debian testing, I had troubles installing Nvidia the Debian way a year or two ago and eventually just used the script from Nvidia's site.
Now that I've upgraded to the 2.6.25-2 kernel I had issues with the Nvidia script because xen is enabled in this kernel. I've tried the fix as mentioned in this blog but it just would not fly. Further down the blog in the comments is a post by sgfxi with a link to his/their script for installing the Debian way. After doing the wget and chmod I ran command: sh sgfxi -c to initiate it from within the same directory.
This script was very easy (with internet connection) to install Nvidia drivers/module and it did a nice job with the xorg.conf file also for using Compiz fusion.
That's the way it goes I guess, one year I can't get the Debian way to work, the next year I can't get the Nvidia script to work. A little of a tedder-todder distribution.

Because it has not been mentioned yet (I think), you need to have linux-kernel-headers installed for your current running kernel in order to compile Nvidia module using either method. I have a feeling the sgfxi script will take care of that if they are not installed.

Last edited by Junior Hacker; 07-22-2008 at 08:47 PM. Reason: Forgot to mention
 
Old 07-22-2008, 08:34 PM   #10
Junior Hacker
Senior Member
 
Registered: Jan 2005
Location: North America
Distribution: Debian testing Mandriva Ubuntu
Posts: 2,687

Rep: Reputation: 61
Quote:
Originally Posted by Tons of Fun View Post
Did you include them in the list so that you have a record of them? I have run the commands to get the keys in my keyring, but they are not in my sources list.
Yes. I tend to do a fresh install once and a while. I back up my source.list and xorg.conf files and save time during configuration after installation when it comes to adding gpg keys and/or a sources.list. And some times it comes in handy when somebody else at LQ runs into the gpg error when they first run apt-get update and come here looking for help, I can copy and paste the answer to their gpg question quickly.
 
Old 07-22-2008, 08:40 PM   #11
rickh
Senior Member
 
Registered: May 2004
Location: Albuquerque, NM USA
Distribution: Debian-Lenny/Sid 32/64 Desktop: Generic AMD64-EVGA 680i Laptop: Generic Intel SIS-AC97
Posts: 4,250

Rep: Reputation: 62
Hmm! Didn't realize the subject had changed to Nvidia drivers.

I always use the Debian drivers. If you use the Nvidia scripts you will be screwed. Unfortunately, right now, you do have to get them from Sid, but that's trivial. You also need to clean up any mess left by your unsuccessful attempts to use the Nvidia or other non-debian scripts.

Nvidia video is an absolute piece of cake, but the widespread recommendation of the Nvidia script by people who should know better has turned it into a nightmare for Debian (Lenny) users.
 
Old 07-22-2008, 08:42 PM   #12
rickh
Senior Member
 
Registered: May 2004
Location: Albuquerque, NM USA
Distribution: Debian-Lenny/Sid 32/64 Desktop: Generic AMD64-EVGA 680i Laptop: Generic Intel SIS-AC97
Posts: 4,250

Rep: Reputation: 62
Quote:
...it comes in handy when somebody else at LQ runs into the gpg error when they first run apt-get update and come here looking for help...
Why not tell them to simply install the appropriate keyring.
 
Old 07-22-2008, 08:56 PM   #13
Junior Hacker
Senior Member
 
Registered: Jan 2005
Location: North America
Distribution: Debian testing Mandriva Ubuntu
Posts: 2,687

Rep: Reputation: 61
Quote:
Originally Posted by rickh View Post
Why not tell them to simply install the appropriate keyring.
Not sure what you mean by "appropriate keyring", but when I go to add my first key running one of those commands, apt will install the gnome keyring, still have to add keys for other sites.
 
Old 07-22-2008, 09:09 PM   #14
rickh
Senior Member
 
Registered: May 2004
Location: Albuquerque, NM USA
Distribution: Debian-Lenny/Sid 32/64 Desktop: Generic AMD64-EVGA 680i Laptop: Generic Intel SIS-AC97
Posts: 4,250

Rep: Reputation: 62
Quote:
Not sure what you mean by "appropriate keyring",
Code:
debian64:~# aptitude search keyring
i   debian-archive-keyring          - GnuPG archive keys of the Debian archive  
p   debian-edu-archive-keyring      - GnuPG archive keys of the Debian Edu archi
i A debian-keyring                  - GnuPG (and obsolete PGP) keys of Debian De
i   debian-multimedia-keyring       - GnuPG archive key of the debian-multimedia
p   emdebian-archive-keyring        - GnuPG archive keys for the emdebian reposi
i   sidux-archive-keyring           - GnuPG archive keys of the sidux archive   
i A sidux-keyring                   - GnuPG keys of sidux Developers            
debian64:~#
Install the keyring(s) associated with repositories you use, and you'll never be confronted with those GPG errors again.
 
Old 07-23-2008, 03:37 AM   #15
FredGSanford
Senior Member
 
Registered: Nov 2005
Location: USA
Distribution: Mageia 7 - Debian 10 - Artix Linux
Posts: 1,142
Blog Entries: 5

Rep: Reputation: 207Reputation: 207Reputation: 207
To use the non-free repository for Sid, is it the one to include the nvidia drivers? If so, I tried that and it killed X. Something was broken, this was a few days ago.
 
  


Reply



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
Good debian repositories NNP Debian 11 10-18-2007 02:23 AM
Debian repositories? dyool Ubuntu 7 08-20-2006 05:48 PM
The Debian Repositories Ace2005 MEPIS 8 07-30-2005 12:31 PM

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

All times are GMT -5. The time now is 10:20 PM.

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
Open Source Consulting | Domain Registration