Bug#331668: build-dep and pinning
Hi,
I was pondering about this a bit and I don't think it can be
supported. The best that can be done seems to be to allow:
# apt-get build-dep evolution -t unstable
to get evolution from unstable (that should work in the next apt
upload to experimental).
The problem is that there will be packages with different source than
binary version number (because of bin-NMUs). E.g.:
$ apt-cache madison dpkg
dpkg | 1.13.11.0.1 | http://ftp.debian.org sid/main Packages
dpkg | 1.13.11 | http://ftp.debian.org sid/main Sources
If apt [build-dep|source] would use the version number from the
canidate version (1.13.11.0.1) it would not be able to find a matching
source and a "apt-get [build-dep|source] dpkg" would fail. Most users
would see this as a regression (also it's technically correct that it
can't find a matching source :)
Cheers,
Michael
--
Linux is not The Answer. Yes is the answer. Linux is The Question. - Neo
Reply to: