Просмотр исходного кода

dpkg(1): further improve explanation about conffiles

* man/dpkg.1: Refer to configuration files in the explanation about
package's states because all configuration files (conffiles and
non-conffiles) should be properly handled by the packages. conffiles are
handled by dpkg itself, and non-conffile configuration files by the
configuration scripts. Explain this in the paragraph about removal
of packages.
Raphael Hertzog лет назад: 18
Родитель
Сommit
3840cdc470
1 измененных файлов с 8 добавлено и 4 удалено
  1. 8 4
      man/dpkg.1

+ 8 - 4
man/dpkg.1

@@ -51,7 +51,7 @@ be changed mainly with \fBdselect\fP.
 The package is not installed on your system.
 The package is not installed on your system.
 .TP
 .TP
 .B config\-files
 .B config\-files
-Only the conffiles of the package exist on the system.
+Only the configuration files of the package exist on the system.
 .TP
 .TP
 .B half\-installed
 .B half\-installed
 The installation of the package has been started, but not completed for
 The installation of the package has been started, but not completed for
@@ -79,11 +79,11 @@ The package is selected for installation.
 .TP
 .TP
 .B deinstall
 .B deinstall
 The package is selected for deinstallation (i.e. we want to remove all
 The package is selected for deinstallation (i.e. we want to remove all
-files, except conffiles).
+files, except configuration files).
 .TP
 .TP
 .B purge
 .B purge
 The package is selected to be purged (i.e. we want to remove everything,
 The package is selected to be purged (i.e. we want to remove everything,
-even conffiles).
+even configuration files).
 .SS PACKAGE FLAGS
 .SS PACKAGE FLAGS
 .TP
 .TP
 .B hold
 .B hold
@@ -164,7 +164,11 @@ file). \fB\-P\fP or \fB\-\-purge\fP removes everything, including
 conffiles. If \fB\-a\fP or \fB\-\-pending\fP is given instead of a package
 conffiles. If \fB\-a\fP or \fB\-\-pending\fP is given instead of a package
 name, then all packages unpacked, but marked to be removed or purged
 name, then all packages unpacked, but marked to be removed or purged
 in file \fI/var/lib/dpkg/status\fP, are removed or purged,
 in file \fI/var/lib/dpkg/status\fP, are removed or purged,
-respectively.
+respectively. Note: some configuration files might be unknown to
+\fBdpkg\fP because they are created and handled separately through the
+configuration scripts. In that case, \fBdpkg\fP won't remove them by
+itself, but the package's \fIpostrm\fP script (which is called by
+\fBdpkg\fP), has to take care of their removal during purge.
 
 
 Removing of a package consists of the following steps:
 Removing of a package consists of the following steps:
 .br
 .br