On Fri, 11 Dec 2009, Mike Hommey wrote: > On Fri, Dec 11, 2009 at 01:40:34PM +0100, Raphael Hertzog wrote: > > On Fri, 11 Dec 2009, Mike Hommey wrote: > > > There are currently 2 problems with the way the .orig.tar.gz file is > > > extracted during dpkg-source -b: > > > - When a package-ver.orig directory pre-exists, it gets removed. > > > > With format 1.0, there are many -s* options precisely to control this > > (you may want to try -ss or -sk). Those options do not exist anymore with > > newer formats however. Newer formats also don't wipe out the .orig dir, > > they create temporary directories near the source tree. > > The problem is that the .orig directory may not be corresponding to the > tarball, and i see no option in dpkg-source that prevents bad things > from happening.
It's also partly due to this that those options are gone in newer formats. I think -sk is fine though, it overwrites the .orig but leaves it in place. For -ss the warning is in the manual page: This option must be used with care - if the directory and tarfile do not match a bad source archive will be generated. Cheers, -- Raphaƫl Hertzog -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org