[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#246818: Deleting conffiles in maintainer scripts and the need to resurrect them later...



Florent Rougon <f.rougon@free.fr> schrieb:

>> We could well keep deleting it. We need a mechanism to resurrect it,
>> anyway. Probably involving a grep over
>> /var/lib/dpkg/info/tetex-{base,extra}.conffiles. 
>
> I have the feeling something is broken here: the argument "a conffile
> deletion is a modification to the conffile, thus must be preserved on
> upgrades" strikes me as striving for a uniform handling by dpkg for both
> textual modifications of conffiles and deletion. Which means that the
> admin should be prompted when he changed (= deleted, in our case) the
> conffile and the package being upgraded has a new version of that file.
> Which would allow to resurrect the conffile simply by modifying it in
> the package version you want it to reappear in. If that doesn't work, I
> would be inclined to think this is a dpkg bug...

It is not, it was a Frank bug. Yes, all we need is modify omega.map.

Well, there is one dpkg bug, namely that it is not very clever: woody's
dpkg shows an empty diff. It is fixed in unstable, but for upgrading
I'll add a debconf note.

Regards, Frank
-- 
Frank Küster, Biozentrum der Univ. Basel
Abt. Biophysikalische Chemie




Reply to: