LinuxQuestions.org
Support LQ: Use code LQ3 and save $3 on Domain Registration
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 03-01-2005, 04:11 PM   #1
sard
LQ Newbie
 
Registered: Feb 2005
Location: UK
Distribution: Debian Unstable
Posts: 17

Rep: Reputation: 0
Pinning syntax?


When pinning how can you work out from the url of the repository what should go in the o= and a= sections?

for example what should I put for

deb mentors.debian.net/debian/ unstable main contrib non-free

Package: *
Pin: release o= ,a=
Pin-Priority: 300

Also pin-priorities greater than 1000 will be downgraded, to are there any other special numbers?

Thanks.
 
Old 03-01-2005, 04:21 PM   #2
dastrike
Member
 
Registered: Apr 2004
Location: Stockholm, Sweden
Distribution: Debian 'sid'
Posts: 250

Rep: Reputation: 30
This document describes the whole concept of Apt-pinning well: http://jaqque.sbih.org/kplug/apt-pinning.html


I've never used the o= one in such. And as the value for the a= one, it is typically one of: stable, testing, unstable, experimental, woody, sarge, sid.
 
Old 03-02-2005, 03:18 AM   #3
sard
LQ Newbie
 
Registered: Feb 2005
Location: UK
Distribution: Debian Unstable
Posts: 17

Original Poster
Rep: Reputation: 0
I want to use pinning because Iím going to add some unofficial third party repositories. I only want them to be used if the package canít be found in the main Debian ones.

I think the o= bit has to be used for this but the link you posted seems to explain pinning the official repositories only.
 
  


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 divukman Debian 3 12-01-2005 10:49 AM
pinning packages ptawe Debian 1 07-29-2005 09:35 AM
Package pinning problem postb99 Debian 2 03-22-2005 02:09 PM
Pinning, Testing and Unstable r3dhatter Debian 1 12-28-2004 07:52 AM
apt-pinning h/w Debian 6 02-25-2004 11:57 AM


All times are GMT -5. The time now is 01:45 AM.

Main Menu
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