Re: /etc/Xsession
Hartmut Figge <h.figge@gmx.de> wrote:
> Nach Vergewisserung, dass diese Datei in x11-common steckt, versuchte
> ich zunächst ein 'sudo apt-get install --reinstall x11-common'. Lief
> auch durch, aber die /etc/Xsession fehlte immer noch.
Wie zu erwarten war. Die Datei ist in /etc, und sie ist im Paket, also
ist es ein "conffile". Die Policy meint dazu:
,----
| 10.7.3 Behavior
|
| Configuration file handling must conform to the following behavior:
|
| * local changes must be preserved during a package upgrade, and
| * configuration files must be preserved when the package is
| removed, and only deleted when the package is purged.
|
| The easy way to achieve this behavior is to make the configuration
| file a conffile.
`----
Und das Löschen einer Datei ist halt auch ein "local change". Abhilfe:
dpkg --force-confmiss
Gruß, Frank
--
Frank Küster
Single Molecule Spectroscopy, Protein Folding @ Inst. f. Biochemie, Univ. Zürich
Debian Developer (teTeX)
Reply to: