What's the three kinds of files when using apt-get source xxx
ogra at ubuntu.com
Fri Jan 29 14:37:01 UTC 2010
Am Freitag, den 29.01.2010, 20:12 +0800 schrieb Thomas Dean:
> Hello everyone,
> I have a question about "apt-get source xxx".When I use apt-get source
> xxx, it downloads three kinds of files like these:
this contains all debian and ubuntu patches as well as the complete
packaging information ...
the plain upstream source as you would get it by downloading the tarball
at for example www.xxx.org/download ...
the metadata that contains checksums and the like to make sure the right
diff.gz and orig.tar.gz are used together...
> What are they used for? May I delete the diff file and the dsc file?
you may do what you want but then you will miss the patches and fixes
carried by the package and only have the plain upstream source.
note that apt-get source also unpacks the tgz and applies the diff.gz to
the unpacked source ... if you cd xxx/ after apt-get source you can use
debiuld or dpkg-buildpackage to roll a binary from the source in the
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 198 bytes
Desc: Dies ist ein digital signierter Nachrichtenteil
More information about the ubuntu-users