Re: Find complete set of debs
On Fri, Sep 07, 2007 at 11:06:50AM +0200, Adrian von Bidder wrote:
> On Friday 07 September 2007 09.48:36 Adeodato Simó wrote:
> > * Adrian von Bidder [Fri, 07 Sep 2007 07:49:19 +0200]:
> > > No, all the other .deb packages that come from the same source pkg as
> > > the one I have. (But usually I only want i386 and all architectures.)
> > >
> > > Time to properly learn grep-dctrl, I guess, that's one tool I've
> > > completely neglected so far. I guess it should provide the info if
> > > invoked the right way.
> > I guess the hard bit is the "same version" bit. Do you mean like
> > downloading from snapshot.debian.net and stuff? Or is it assumed that
> > versions you pass to the script will be present in the mirror's pull
> > (i.e. stable or testing packages, or up to date unstable versions).
> The problem occurs right after I've installed some software, so all the
> necessary data is still available in current testing/unstable/wherever.
apt-get --download-only install \
$(apt-cache showsrc $PKG | grep Binary: | cut -d':' -f2 | tr -d ',')