Le jeudi 30 avril 2015 18:00:39, vous avez écrit :
> but should the user not choose not
> to use cme to manage the configuration via the install prompt in apt/dpkg,
> the only copy of the needed configuration in order to get lcdproc to do
> anything useful is buried down in /usr/share/doc/lcdproc/LCDd.conf.gz, and
> no indication of this fact is given to the end user at install time. To the
> naive user who has never installed lcdproc before, they would not know to
> look for this file there instead of the Debian standard location of /etc/,
> as was previously managed by dpkg.

That's a valid point. I'll modify the message shown to user to specify where 
to find the original configuration file.

> As a solution to both of these issues, it seems that it would make a lot of
> sense to separately package "cme" and set "libconfig-model-lcdproc-perl"
> only as a Recommends or ideally, imo, a Suggests instead of Depends for
> lcdproc. 

I also need to update lcdproc dependency list as the layout of cme and 
libconfig-model-perl has changed.

Regarding the dependendies, I have to consider 2 scenario:
- if cme is recommended or suggested, people may get upgrade problem 
  with lcdproc because they forgot to install cme (or removed it by mistake).
-  if cme is required, some people don't like having more packages installed.

I think the first scenario is a usability concern and harder to recover from. 
The second problem is more subjective.

Hence cme will stay a required dependency.

> Obvously, you would then set "cme" as a Depends on
> "libconfig-model-lcdproc-perl", so that you could actually make use of the
> suggested package. You would also need to restore /etc/LCDd.conf as a dpkg
> conffile, so that it retains all of the benefits of being managed by dpkg.

Can't have both. This is decided at packaging time: any file installed in /etc/ 
is a conffile and cannot be modified by a script. That's why LCDd.conf landed 
in 
/usr/share/doc .

All the best

-- 
https://github.com/dod38fr/config-model/ -o- http://search.cpan.org/~ddumont/
    http://ddumont.wordpress.com/        -o-   irc: dod at irc.debian.org

Attachment: signature.asc
Description: This is a digitally signed message part.

Reply via email to