how to apt-get package pinning with lmde

deb http://debian.linuxmint.com

how to apt-get package pinning with lmde

Postby hoshi411 on 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:

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


which is so nice because when installing packages I can just go:

Code: Select all
apt-get install gimp/unstable


and it will install the unstable version or which ever version I choose. I can even do
Code: Select all
apt-get install gimp/oldstable


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:

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


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

Code: Select all
apt-get install gimp/stable


etc...
hoshi411
Level 1
Level 1
 
Posts: 12
Joined: Wed Mar 23, 2011 2:30 pm

Linux Mint is funded by ads and donations.
 

Re: how to apt-get package pinning with lmde

Postby Gerd50 on Fri Dec 30, 2011 7:09 am

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?

No, it's not. The first one is for mint specific packages. Latest testing is for tested update packages. Incoming testing is for
guinea pigs who want to test packages in order to find bugs before they reach latest testing.

I think apt-pinning like you know it makes sense only if you use

Code: Select all
deb http://packages.linuxmint.com/ debian main upstream import

plus original debian sources.

viewtopic.php?f=197&t=79533
I believe in everything, except humans.

LM9, Debian Testing Xfce, Debian Sid Xfce - CPU/Amd64 2,6Ghz, Graphics/Nvidia 9600 GT, Sound/SB Audigy4 emu10K1
User avatar
Gerd50
Level 5
Level 5
 
Posts: 738
Joined: Wed Jul 22, 2009 3:42 pm
Location: Fishtown, Germany


Return to Update Packs Repositories

Who is online

Users browsing this forum: No registered users and 2 guests