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-01-2007, 06:31 PM   #1
Tortanick
Member
 
Registered: Jul 2006
Distribution: Debian Testing
Posts: 299

Rep: Reputation: 30
Apt-pinning question


I've been looking up on apt pinning and it seems pritty simple, but I have one question, I want to pin the official repose (main, contrib, non-free) above the Debian Multimedia one, how exactly do I do that?

Package: *
Pin: release a=testing
Pin-Priority: 650

I assume I just replace a=testing with something, but I have no idea what that something is.
 
Old 06-01-2007, 08:09 PM   #2
pljvaldez
Guru
 
Registered: Dec 2005
Location: Somewhere on the String
Distribution: Debian Squeeze (x86)
Posts: 6,092

Rep: Reputation: 269Reputation: 269Reputation: 269
http://www.die.net/doc/linux/man/man...erences.5.html

Looks like you want to use the origin="mywebsite.com" tag on the Pin: line.
 
Old 06-02-2007, 03:20 AM   #3
Tortanick
Member
 
Registered: Jul 2006
Distribution: Debian Testing
Posts: 299

Original Poster
Rep: Reputation: 30
Thank you, better read those release files
 
Old 06-02-2007, 10:16 AM   #4
deepclutch
Member
 
Registered: Nov 2004
Distribution: Debian Testing+Sid
Posts: 707
Blog Entries: 1

Rep: Reputation: 32
Smile apt-pinning deepclutch way ;)

here is how i run apt:
I made Sid as my default repo.
my /etc/apt/preferences file:
Code:
Package: *
Pin: release o=Debian a=unstable
Pin-Priority: 900

Package: *
Pin: release o=Debian a=experimental
Pin-Priority: 500

Package: *
Pin: release o=Debian,a=testing
Pin-Priority: 50

Package: *
Pin: release o=Debian
Pin-Priority: -1
and got an /etc/apt/apt.conf
Code:
APT::Default-Release "unstable";
APT::Cache-Limit "25165824";
APT::Authentication::TrustCDROM "true";
Acquire::http::Proxy "false";
my sources.list:
Code:
# # If you get GPG errors with this sources.list, locate the GPG key in this file
# # and run these commands (where KEY is replaced with that key)
# #
# # gpg --keyserver hkp://subkeys.pgp.net --recv-keys KEY
# # gpg --export --armor KEY |  apt-key add -

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

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

#Rarewares.org repsoitory
deb http://www.rarewares.org/debian/packages/unstable/ ./ 
deb http://www.rarewares.org/debian/packages/experimental/ ./ 
#debian multimedia repository
deb http://www.debian-multimedia.org/ sid main 
deb http://www.debian-multimedia.org/ experimental main 
#debian-unofficial repository
deb http://ftp.debian-unofficial.org/debian/ unstable main contrib non-free restricted 
# deb http://ftp.debian-unofficial.org/debian/ experimental main contrib non-free 
#kirya's repository
deb http://packages.kirya.net/debian/ unstable main contrib non-free 

#new linux kernel
# deb http://kernel-archive.buildserver.net/debian-kernel/ trunk main 

#Videolan
deb http://download.videolan.org/pub/videolan/debian/ sid main 
deb-src http://download.videolan.org/pub/videolan/debian/ sid main 

#beryl 
deb http://download.tuxfamily.org/myberyl/shame/debian-sid/beryl-svn/relatively-stable/ ./
#use this source line for unstable drivers
deb http://people.debian.org/~rdonald/nvidia/ unstable nvidia-graphics-drivers 
deb http://people.debian.org/~rdonald/nvidia/ unstable nvidia-kernel-common 
deb http://people.debian.org/~rdonald/nvidia/ unstable nvidia-settings 
deb http://people.debian.org/~rdonald/nvidia/ unstable nvidia-xconfig 
deb http://people.debian.org/~rdonald/nvidia/ unstable modules
hope this helps
 
  


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
apt-pinning question nx5000 Debian 3 04-11-2007 06:48 PM
APT Pinning not working as expected kushalkoolwal Debian 10 03-13-2006 09:54 PM
apt pinning question divukman Debian 3 12-01-2005 11:49 AM
Apt-get build-dep and Pinning McCloud Debian 2 09-07-2005 06:36 AM
apt-pinning h/w Debian 6 02-25-2004 12:57 PM


All times are GMT -5. The time now is 11:57 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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration