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

Bug#175783: tetex-base: "Remove old conffiles" question is unhelpfully terse



On Wed, Jan 08, 2003 at 12:52:05PM +0900, Atsuhito Kohda wrote:
> merge 175783 175457
> thanks

Oops, missed that.

> > I realize it may be difficult to fit the list of removed conffiles
> > sensibly into the format of a debconf question. I trust that you can
> > figure something out. :-)
> 
> I didn't want to show all filenames to a user and it was
> only bothering a user without any gain.
> 
> Here is my temporary modification but as I'm not native English
> speaker, I would be very happy if anyone will refine this.
> 
> Description: Remove old conffiles?
>  Old conffiles which tetex-base shipped out were found.  Most of them were
>  map files for dvips and now removed in the upstream.
>  .
>  If you think you have modified such files, then it might be possible
>  not to accept this option and preserve them.  You can find the list of them
>  in /var/lib/dpkg/info/tetex-base.config but, for almost 99% of you,
>  it is strongly recommended to remove these files right now!

Perhaps tetex-base could detect itself whether you've modified any of
these old conffiles? If the new tetex-base hasn't been installed yet,
then you can use 'dpkg -s' to extract the old base md5sums and compare
them with what's on the system; this would therefore have to be done in
the preinst. Then you could even possibly remove unmodified files
without having to ask, and only bother the user for modified files.

Also, as I've said, the config script won't be in
/var/lib/dpkg/info/tetex-base.config at the point when users are
answering this question. You'd have the same problem if it were in the
preinst as above, I think. Doing it in the postinst would work somewhat
with the current code, but will be too late for my suggestion above. I'm
not sure what to do about this.

Regards,

-- 
Colin Watson                                  [cjwatson@flatline.org.uk]



Reply to: