how to apt-get package pinning with lmde

Archived topics about LMDE 1 and LMDE 2
Locked
hoshi411

how to apt-get package pinning with lmde

Post by hoshi411 »

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...
Last edited by LockBot on Wed Dec 28, 2022 7:16 am, edited 1 time in total.
Reason: Topic automatically closed 6 months after creation. New replies are no longer allowed.
Gerd50

Re: how to apt-get package pinning with lmde

Post by Gerd50 »

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.

http://forums.linuxmint.com/viewtopic.php?f=197&t=79533
Locked

Return to “LMDE Archive”