Re: apt-get source picks the wrong repository
On Tue, 20 Dec 2005 12:41, Daniel Webb wrote:
> On Mon, Dec 19, 2005 at 08:38:57PM +1100, Andrew Vaughan wrote:
> > If you have deb-src lines pointing at stable and unstable apt-get
> > source will get the latest (ie, unstable) version. Use apt-get source
> > <pkg>=<version> to get other versions.
> >
> > From the apt-get manpage
> >
> > source source causes apt-get to fetch source packages. APT will
<snip>
> $ apt-get source fakeroot=unstable
> Reading Package Lists... Done
> Building Dependency Tree... Done
> E: Unable to find a source package for fakeroot
$ apt-cache showsrc fakeroot |grep ^Version:
Version: 1.2.10
Version: 1.5.6
$ apt-get source fakeroot=1.2.10
HTH
Andrew
Reply to: