[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Whoops- extracting source for deb.

On Sun, Oct 07, 2001 at 09:06:16PM +0100, Hereward Cooper wrote:
> I accidently deleted the source directory of my package, but have a copy
> of the .deb it generated. When I run dpkg-source -x <package-name> it
> gives me a couple of errors that i know about (as I was play around with
> it), and so stops. Is there anyway I can force extract the source from
> the deb, regardless of the errors?

The source is not contained in the .deb, so no. If you mean the .dsc,
then you can unpack it manually by untarring the .orig.tar.gz and
applying the .diff.gz over it (using 'zcat ../foo.diff.gz | patch -p1'
or thereabouts).


Colin Watson                                  [cjwatson@flatline.org.uk]

Reply to: