shows conffile prompt on upgrade

Bug #518775 reported by Michael Vogt
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
brltty (Ubuntu)
Fix Released
High
Michael Vogt
Lucid
Fix Released
High
Michael Vogt

Bug Description

Binary package hint: brltty

During a automatic upgrade from karmic to lucid the brltty package shows a config file prompt:

Setting up brltty (4.1-2ubuntu4) ...
Installing new version of config file /etc/brltty/brltty-al.hlp ...
Installing new version of config file /etc/brltty/brltty-at.hlp ...
Installing new version of config file /etc/brltty/brltty-ba.hlp ...
Installing new version of config file /etc/brltty/brltty-bd.hlp ...
Installing new version of config file /etc/brltty/brltty-bm.hlp ...
Installing new version of config file /etc/brltty/brltty-bn.hlp ...
Installing new version of config file /etc/brltty/brltty-cb.hlp ...
Installing new version of config file /etc/brltty/brltty-ec.hlp ...
Installing new version of config file /etc/brltty/brltty-eu.hlp ...
Installing new version of config file /etc/brltty/brltty-fs.hlp ...
Installing new version of config file /etc/brltty/brltty-ht.hlp ...
Installing new version of config file /etc/brltty/brltty-il.hlp ...
Installing new version of config file /etc/brltty/brltty-lt.hlp ...
Installing new version of config file /etc/brltty/brltty-mb.hlp ...
Installing new version of config file /etc/brltty/brltty-md.hlp ...
Installing new version of config file /etc/brltty/brltty-mn.hlp ...
Installing new version of config file /etc/brltty/brltty-tn.hlp ...
Installing new version of config file /etc/brltty/brltty-ts.hlp ...
Installing new version of config file /etc/brltty/brltty-tt.hlp ...
Installing new version of config file /etc/brltty/brltty-vd.hlp ...
Installing new version of config file /etc/brltty/brltty-vo.hlp ...
Installing new version of config file /etc/brltty/brltty-vr.hlp ...
Installing new version of config file /etc/brltty/brltty-vs.hlp ...
Installing new version of config file /etc/brltty/countries.cti ...
Installing new version of config file /etc/brltty/en-us-g2.ctb ...
Installing new version of config file /etc/brltty/fr-abrege.ctb ...
Installing new version of config file /etc/brltty/fr-integral.ctb ...
Installing new version of config file /etc/brltty/zh-tw-ucb.ctb ...

Configuration file `/etc/default/brltty'
 ==> File on system created by you or by a script.
 ==> File also in package provided by package maintainer.
   What would you like to do about it ? Your options are:
    Y or I : install the package maintainer's version
    N or O : keep your currently-installed version
      D : show the differences between the versions
      Z : background this process to examine the situation
Setting up cpp (4:4.4.2-3ubuntu1) ...
 The default action is to keep your current version.
*** brltty (Y/I/N/O/D/Z) [default=N] ?

Related branches

Revision history for this message
Michael Vogt (mvo) wrote :

Setting to high because it breaks automatic testing via autotest/stepmaker.

Changed in brltty (Ubuntu Lucid):
importance: Undecided → High
Revision history for this message
Michael Vogt (mvo) wrote :

In a clean chroot:

# apt-get install brltty
# md5sum /etc/default/brltty
59911d8dcc8f4ad3cdc13e9845aa73a6 /etc/default/brltty

In /var/lib/dpkg/status:
Package: brltty
Conffiles:
 /etc/init.d/brltty ce2860b7fe9e720d69cf173aaed7d3ac

Revision history for this message
Michael Vogt (mvo) wrote :

(A clean karmic chroot I should add).

Revision history for this message
Michael Vogt (mvo) wrote :

Comment #2 is wrong of course (jetlag!). The problem is only there in lucid, there /etc/default/brltty is added as a conffile with:

Package: brltty
Conffiles:
 /etc/default/brltty 5fc074088bb87145ece73c6c2d66d396

The karmic
# md5sum /etc/default/brltty
59911d8dcc8f4ad3cdc13e9845aa73a6 /etc/default/brltty

So on upgrade a prompt is triggered.

Michael Vogt (mvo)
Changed in brltty (Ubuntu Lucid):
status: New → In Progress
assignee: nobody → Michael Vogt (mvo)
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package brltty - 4.1-2ubuntu5

---------------
brltty (4.1-2ubuntu5) lucid; urgency=low

  * debian/brltty.default:
    - add RUN_BRLTTY=no here instead of in the brltty.postinst
  * debian/brltty.postinst:
    - do not create /etc/default/brltty here, its part of the package
  * debian/brltty.preinst:
    - remove our (non conffile) version of /etc/default/brltty
      on upgrade
  (LP: #518775)
 -- Michael Vogt <email address hidden> Mon, 08 Feb 2010 13:44:47 +0100

Changed in brltty (Ubuntu Lucid):
status: In Progress → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.