OESF | ELSI | pdaXrom | OpenZaurus | Zaurus Themes | Community Links | Ibiblio

IPB

Welcome Guest ( Log In | Register )

> Apt Pinning, A must for using mixed repos
ZDevil
post Dec 15 2007, 11:16 PM
Post #1





Group: Members
Posts: 2,003
Joined: 16-April 04
From: the Netherlands && /dev/null
Member No.: 2,882



Found a nice newbie-friendly article on apt pinning, which enables the user to prioritize the repos in /etc/apt/sources.list instead of installing/upgrading things simply based on the versioning of the packages:

http://jaqque.sbih.org/kplug/apt-pinning.html

One immediate use I thought of is to assign the highest priority to jpmatrix's custom repo, so that 2or0's mplayer won't get replaced by apt-get dist-upgrade. smile.gif
Go to the top of the page
 
+Quote Post
 
Start new topic
Replies
cal
post Jan 26 2010, 12:41 PM
Post #2





Group: Members
Posts: 112
Joined: 29-August 05
Member No.: 7,981



QUOTE(ZDevil @ Dec 16 2007, 02:16 AM) *
Found a nice newbie-friendly article on apt pinning, which enables the user to prioritize the repos in /etc/apt/sources.list instead of installing/upgrading things simply based on the versioning of the packages:

http://jaqque.sbih.org/kplug/apt-pinning.html

One immediate use I thought of is to assign the highest priority to jpmatrix's custom repo, so that 2or0's mplayer won't get replaced by apt-get dist-upgrade. smile.gif



My /etc/apt/preferences is pretty much exactly whats on that link plus a line to keep udev from upgrading. Any others? Maybe we should keep a list of potential apt pit falls.

CODE
Package: udev
Pin: version 0.114-2
Pin-Priority: 1001

Package: *
Pin: release a=stable
Pin-Priority: 700

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

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


Cal
PS my udev pin might not be at the highest possible version, but it hasn't caused a problem yet.
Go to the top of the page
 
+Quote Post
axeTail
post Jan 27 2010, 11:11 AM
Post #3





Group: Members
Posts: 76
Joined: 14-December 07
Member No.: 21,073



QUOTE(cal @ Jan 26 2010, 10:41 PM) *
QUOTE(ZDevil @ Dec 16 2007, 02:16 AM) *
Found a nice newbie-friendly article on apt pinning, which enables the user to prioritize the repos in /etc/apt/sources.list instead of installing/upgrading things simply based on the versioning of the packages:

http://jaqque.sbih.org/kplug/apt-pinning.html

One immediate use I thought of is to assign the highest priority to jpmatrix's custom repo, so that 2or0's mplayer won't get replaced by apt-get dist-upgrade. smile.gif



My /etc/apt/preferences is pretty much exactly whats on that link plus a line to keep udev from upgrading. Any others? Maybe we should keep a list of potential apt pit falls.

CODE
Package: udev
Pin: version 0.114-2
Pin-Priority: 1001

Package: *
Pin: release a=stable
Pin-Priority: 700

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

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


Cal
PS my udev pin might not be at the highest possible version, but it hasn't caused a problem yet.



Thanks for the info, my udev is broken....any ideas on how to fix it?
Go to the top of the page
 
+Quote Post

Posts in this topic


Reply to this topicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:

 



RSS Lo-Fi Version Time is now: 28th July 2014 - 06:35 PM