OESF Portables Forum

Everything Else => Zaurus Distro Support and Discussion => Distros, Development, and Model Specific Forums => Archived Forums => Debian => Topic started by: ZDevil on December 16, 2007, 02:16:38 am

Title: Apt Pinning
Post by: ZDevil on December 16, 2007, 02:16:38 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 (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.  
Title: Apt Pinning
Post by: scottlfa on December 16, 2007, 11:19:27 am
VERY Helpful, helps with gnumeric too which is broken in armel.

Whats the soure entry for 2or0's custom repo?  I have jpmatrix one mentioned in your signature, noticed mplayer wasn't in there.
Title: Apt Pinning
Post by: cal on January 26, 2010, 03:41:25 pm
Quote from: ZDevil
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 (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.  


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: [Select]
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.
Title: Apt Pinning
Post by: axeTail on January 27, 2010, 02:11:25 pm
Quote from: cal
Quote from: ZDevil
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 (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.  


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: [Select]
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?
Title: Apt Pinning
Post by: cal on January 27, 2010, 09:09:28 pm
Quote from: axeTail
Quote from: cal
Quote from: ZDevil
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 (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.  


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: [Select]
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?


Sorry, I don't really.
Maybe you can roll back with  sudo aptitude install <pkgname>=<version>
Title: Apt Pinning
Post by: HRH_H_Crab on February 26, 2010, 10:22:58 am
Quote from: axeTail
Thanks for the info, my udev is broken....any ideas on how to fix it?

Look at my post in the Udev and Kernel thread.