Editing Debian package management

Jump to navigation Jump to search
Warning: You are not logged in. Your IP address will be publicly visible if you make any edits. If you log in or create an account, your edits will be attributed to your username, along with other benefits.

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>
* PACKAGE.deb contains a tarball (ctrl-tarfile).
* the tarball contains ... .
==== what conffiles does PACKAGE.deb contain? ====
<pre>$ dpkg-deb --ctrl-tarfile PACKAGE.deb | tar xf  - --to-stdout ./conffiles</pre>
* PACKAGE.deb contains a tarball (ctrl-tarfile),
* the tarball contains ./conffiles,
* ./conffiles is only a list of what is to be treated as conffiles, it does not contain the conffiles themselves, they are an ordinary part of PACKAGE.deb


=== dpkg-query ===
=== dpkg-query ===
Please note that all contributions to wiki may be edited, altered, or removed by other contributors. If you do not want your writing to be edited mercilessly, then do not submit it here.
You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource (see Wiki:Copyrights for details). Do not submit copyrighted work without permission!
Cancel Editing help (opens in new window)