[Linux-disciples] Pulling mutt from Debian unstable, but nothing else

Stephen R Laniel steve at stevereads.com
Thu May 7 18:18:33 EDT 2009


I know this is a juvenile question, so
my apologies, but: I want to install
mutt from Debian sid, but no other
packages from sid. (Mutt in the latest
Ubuntu is irritatingly broken in the way
it handles certificates. I can find a
web discussion of this, if people are
interested.)

So how would I do that? Obviously I'd
add a Debian repo to my
/etc/apt/sources.list. Then how do I
tell Ubuntu that *only* mutt is to come
from Debian? I assume pinning is
involved. So my /etc/apt/preferences
might look like

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

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

(cribbed and modified from
http://jaqque.sbih.org/kplug/apt-pinning.html
)

Then I added a 'sid' line to
sources.list:

deb http://http.us.debian.org/debian sid main contrib non-free

But when I ran

sudo apt-get update && sudo apt-get upgrade

it told me I had a number of packages to
upgrade. That's not the behavior I
expected. I expected that, if I didn't
specify a repo -- via the '-t' argument
to apt-get -- then it would assume I
wanted to install out of Jaunty. It
doesn't seem to have done that.

Can any pinning masters explain things
for me?

-- 
Stephen R. Laniel
steve at stevereads.com
Cell: +(617) 308-5571
http://stevereads.com/
PGP key: http://stevereads.com/slaniel.key


More information about the Linux-disciples mailing list