how to apt-get package pinning with lmde
Posted: Fri Dec 30, 2011 3:29 am
I'm a big fan of Debian which is one thing that caused me to take a look at lmde and one of the issues I'm having in making the switch is with package pinning.
In Debian I have my apt-get setup so that my preferences are like this:
which is so nice because when installing packages I can just go:
and it will install the unstable version or which ever version I choose. I can even do
and downgrade if I choose. It makes doing upgrades and installing and managing packages so nice when using apt-get.
but I can't figure out how to make lmde work the same way.
My sources.list looks like this:
and I can figure out how to configure it so that there is one for oldstable and one for stable and one for testing and one for unstable.
It looks like:
packages.linuxmin.com is for stable
debian.linuxmint.com/latest is for testing
debian.linuxmint.com/incoming is for unstable
is this right?
if so , how do I get to oldstable? and how to I configure my apt-get pref file so I can go
etc...
In Debian I have my apt-get setup so that my preferences are like this:
Code: Select all
Package: *
Pin: release a=stable
Pin-Priority: 700
Package: *
Pin: release a=testing
Pin-Priority: 650
Package: *
Pin: release a=unstable
Pin-Priority: 600
Package: *
Pin: release a=oldstable
Pin-Priority: 550
Code: Select all
apt-get install gimp/unstable
Code: Select all
apt-get install gimp/oldstable
but I can't figure out how to make lmde work the same way.
My sources.list looks like this:
Code: Select all
deb http://packages.linuxmint.com/ debian main upstream import backport
deb http://debian.linuxmint.com/latest testing main contrib non-free
deb http://debian.linuxmint.com/latest/security testing/updates main contrib non-free
deb http://debian.linuxmint.com/latest/multimedia testing main non-free
deb http://debian.linuxmint.com/incoming testing main contrib non-free
deb http://debian.linuxmint.com/incoming/security testing/updates main contrib non-free
deb http://debian.linuxmint.com/incoming/multimedia testing main non-free
It looks like:
packages.linuxmin.com is for stable
debian.linuxmint.com/latest is for testing
debian.linuxmint.com/incoming is for unstable
is this right?
if so , how do I get to oldstable? and how to I configure my apt-get pref file so I can go
Code: Select all
apt-get install gimp/stable