[Pkg-roundcube-maintainers] Bug#478170: roundcube: files missing after install

Vincent Bernat bernat at debian.org
Sun Apr 27 18:35:56 UTC 2008


severity 478170 minor
tags 478170 + wontfix
thanks

OoO  Pendant le  repas du  dimanche 27  avril 2008,  vers  19:51, Teodor
<mteodor at gmail.com> disait:

> Package: roundcube
> Version: 0.1.1-1
> Severity: normal

> The following files are reported to be included in the package:
> piti:~# dpkg -L roundcube
> [..]
> /etc/default/roundcube
> /etc/logrotate.d/roundcube
> /etc/cron.daily/roundcube

> None of the above files exists after the packages was installed:
> piti:~# ls -l /etc/default/roundcube
> ls: cannot access /etc/default/roundcube: No such file or directory
> piti:~# ls -l /etc/logrotate.d/roundcube
> ls: cannot access /etc/logrotate.d/roundcube: No such file or directory
> piti:~# ls -l /etc/cron.daily/roundcube
> ls: cannot access /etc/cron.daily/roundcube: No such file or directory

> The above files should either contain a minimal config or be removed
> from the package.

Hi!

If   you    install   earlier    versions   of   roundcube,    you   get
/etc/default/roundcube.     This    file    has   been    replaced    by
/etc/default/roundcube-core     (because    roundcube    is     now    a
metapackage). Since  we don't want to  bother users that  did not modify
this file, we ship this file instead:

,----
| # This file conflicts with /etc/default/roundcube-core. If you have
| # modified it, report your modifications to
| # /etc/default/roundcube-core. If this file is left empty or
| # untouched, it will be deleted.
| 
| # If you leave the following marker, this file will be deleted during
| # the next upgrade:
| # 75321 DELETE 75321
`----

If the  user did not  modify the file,  it is replaced without  any user
interaction and deleted in postinst.  Otherwise, the user is prompted to
replace or keep the file. He  can see the message and take any necessary
actions.

This is a fix for bug #456546.

We could just  not remove the file and this  will clutter the filesystem
with 3 useless files. Someone will surely fill a bug about this. I could
also manage  those three special  files by hand  and duplicate a  lot of
things to manage stuff like prompting user for replacement.

In fact, I don't exactly see the point of your bug report. Why not being
in sync with dpkg file database is a bug?
-- 
Program defensively.
            - The Elements of Programming Style (Kernighan & Plauger)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 188 bytes
Desc: not available
Url : http://lists.alioth.debian.org/pipermail/pkg-roundcube-maintainers/attachments/20080427/49466c33/attachment.pgp 


More information about the Pkg-roundcube-maintainers mailing list