On Sun, Aug 22, 2004 at 09:35:44PM -0600, Paul E Condon wrote: > I am trying to understand how to use dpkg-deb from reading the man page. > I've been downloading deb packages and installing them on my system > using aptitude and apt-get. Now I would like to burn a CD that contains > a usable debian archive of these packages. I think I should be able to > do this using > > dpkg-deb -b <directory> <archive> > > but I can't find a plausible candidate for <directory>. It should, I > think, be somewhere in /var , but I don't find a directory that has > a " DEBIAN subdirectory ". In a standard sarge installation, what is > the right string to use for <directory>? > > I suppose <archive> is the path to an empty directory that I wish to > populate with the reconstructed debs, correct?
dpkg-deb only makes one deb. You can't reconstruct packages. Unless you've used apt-get clean, you'll find the debs you've apt-getted in /var/cache/apt/archives. There might be a similar directory for aptitude, but it's more likely aptitude uses the apt cache. -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]