Review your favorite Linux distribution.
Go Back > Forums > Linux Forums > Linux - Distributions > Debian
User Name
Debian This forum is for the discussion of Debian Linux.


  Search this Thread
Old 03-01-2005, 04:11 PM   #1
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 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?

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

Rep: Reputation: 30
This document describes the whole concept of Apt-pinning well:

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
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.


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 > Forums > Linux Forums > Linux - Distributions > Debian

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

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