Bug#731102: apt: "apt-get source package/suite" unavailable target
package: src:apt
severity: normal
version: 0.9.13
apt-get source will currently produce errors when only source lines
are included in /etc/apt/sources.list.
$ cat /etc/apt/sources.list
deb http://ftp.debian.org/debian sid main
deb-src http://ftp.debian.org/debian sid main
deb-src http://ftp.debian.org/debian wheezy main
$ apt-get source lighttpd/stable
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Ignore unavailable target release 'stable' of package 'lighttpd'
E: Unable to find a source package for
This does work when an associated binary source line is included, but
it would be preferable to not need this since it would save some
unnecessary downloading when working with multiple suites.
$ cat /etc/apt/sources.list
deb http://ftp.debian.org/debian sid main
deb-src http://ftp.debian.org/debian sid main
deb http://ftp.debian.org/debian wheezy main
deb-src http://ftp.debian.org/debian wheezy main
$ apt-get source lighttpd/stable
[success]
In the meantime, of course "apt-get source lighttpd=version" is usable.
Thanks for considering this.
Best wishes,
Mike
Reply to: