Editing Debian package management
Jump to navigation
Jump to search
The edit can be undone. Please check the comparison below to verify that this is what you want to do, and then publish the changes below to finish undoing the edit.
Latest revision | Your text | ||
Line 108: | Line 108: | ||
<pre>$ dpkg-deb --info PACKAGE.deb</pre> | <pre>$ dpkg-deb --info PACKAGE.deb</pre> | ||
==== what is the content of the ctrl-tarfile you can extract from PACKAGE.deb? ==== | ==== what conffiles does PACKAGE.deb contain? ==== | ||
<pre>$ dpkg-deb --ctrl-tarfile PACKAGE.deb | tar xf - --to-stdout ./conffiles</pre> | |||
* PACKAGE.deb contains a tarball, | |||
* the tarball contains ./conffiles, | |||
* ./conffiles lists the conffiles. | |||
Maybe you want to try this first: | |||
===== what is the content of the ctrl-tarfile you can extract from PACKAGE.deb? ===== | |||
<pre>$ dpkg-deb --ctrl-tarfile PACKAGE.deb | tar tvf - | <pre>$ dpkg-deb --ctrl-tarfile PACKAGE.deb | tar tvf - | ||
drwxr-xr-x root/root 0 2018-08-27 17:39 ./ | drwxr-xr-x root/root 0 2018-08-27 17:39 ./ | ||
Line 115: | Line 124: | ||
-rw-r--r-- root/root 1071 2018-08-27 17:36 ./conffiles | -rw-r--r-- root/root 1071 2018-08-27 17:36 ./conffiles | ||
-rwxr-xr-x root/root 1228 2018-08-27 17:39 ./postinst</pre> | -rwxr-xr-x root/root 1228 2018-08-27 17:39 ./postinst</pre> | ||
=== dpkg-query === | === dpkg-query === |