sources.list for debian sid source code

ben ben at
Sat Jun 17 03:13:48 UTC 2006

On Sat, 17 Jun 2006 08:14:20 +1000
Cameron Hutchison <lists at> wrote:

> I'm trying to figure out how to set up my /etc/apt/sources.list so
> that I can add a deb-src line for Debian unstable. But I only want to
> fetch sources from that source when explicitly specified.
> So if I do an
> $ apt-get source foo
> it should pull the sources for foo from dapper sources (as I currently
> habe it set up).
> I'd like to do
> $ apt-get source xterm/sid
> or something like that to get the sources for xterm from Debian sid.
> I want to be able to selectively backport sources from debian
> unstable. At the moment I only need to do this with xterm (xterm-208
> in dapper has a bug that affects me that was fixed in xterm-210) -
> and I understand the potential problems that may arise given that
> Ubuntu is not Debian.
> I think the way to do this has something to do with apt preferences
> and pinning, but I'm not sure how to set it up.
> Thanks

sudo apt-get source -t sid xterm

ben <ben at>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 191 bytes
Desc: not available
URL: <>

More information about the ubuntu-users mailing list