conf file prompt during upgrade from Focal to Jammy

Bug #1981611 reported by Brian Murray
10
This bug affects 1 person
Affects Status Importance Assigned to Milestone
speech-dispatcher (Ubuntu)
Fix Released
High
Unassigned
Jammy
Fix Released
Undecided
Unassigned

Bug Description

* Impact
A conffile prompt is displayed on upgrade

* Test Case
upgrade speech-dispatcher from the focal to the jammy-proposed version, there should be no conffile prompt

* Regression potential
the change only remove a .mainscript line to remove the conffile, if the change was incorrect the prompt could still be there or a an old conffile could be not removed on upgrade

-----------------

I was performing a distribution upgrade of an Ubuntu Desktop install of Ubuntu 20.04 to Ubuntu 22.04 when I encountered a debconf prompt regarding a speech-dispatcher config file which I had not modified. From /var/log/dist-upgrade/apt-term.log:

Setting up speech-dispatcher (0.11.1-1) ...^M
Installing new version of config file /etc/speech-dispatcher/modules/cicero.conf ...^M
Installing new version of config file /etc/speech-dispatcher/modules/dtk-generic.conf ...^M
Installing new version of config file /etc/speech-dispatcher/modules/epos-generic.conf ...^M
Installing new version of config file /etc/speech-dispatcher/modules/espeak-mbrola-generic.conf ...^M
Installing new version of config file /etc/speech-dispatcher/modules/espeak-ng-mbrola-generic.conf ...^M
Installing new version of config file /etc/speech-dispatcher/modules/espeak-ng.conf ...^M
Installing new version of config file /etc/speech-dispatcher/modules/espeak.conf ...^M
Installing new version of config file /etc/speech-dispatcher/modules/festival.conf ...^M
Installing new version of config file /etc/speech-dispatcher/modules/flite.conf ...^M
Installing new version of config file /etc/speech-dispatcher/modules/llia_phon-generic.conf ...^M
^M
Configuration file '/etc/speech-dispatcher/modules/mary-generic.conf'^M
 ==> Deleted (by you or by a script) since installation.^M
 ==> Package distributor has shipped an updated version.^M
   What would you like to do about it ? Your options are:^M
    Y or I : install the package maintainer's version^M
    N or O : keep your currently-installed version^M
      D : show the differences between the versions^M
      Z : start a shell to examine the situation^M
 The default action is to keep your current version.^M
*** mary-generic.conf (Y/I/N/O/D/Z) [default=N] ? n^M
Installing new version of config file /etc/speech-dispatcher/modules/swift-generic.conf ...^M
Installing new version of config file /etc/speech-dispatcher/speechd.conf ...^M
Removing obsolete conffile /etc/speech-dispatcher/modules/mary-generic.conf ...^M
Removing obsolete conffile /etc/speech-dispatcher/modules/espeak-generic.conf ...^M
Removing obsolete conffile /etc/speech-dispatcher/modules/pico-generic.conf ...^M
Removing obsolete conffile /etc/speech-dispatcher/modules/ivona.conf ...^M
speech-dispatcherd.service is a disabled or a static unit not running, not starting it.^M
Removing obsolete conffile /etc/speech-dispatcher/modules/baratinoo.conf ...^M
Removing obsolete conffile /etc/speech-dispatcher/modules/ibmtts.conf ...^M
Removing obsolete conffile /etc/speech-dispatcher/modules/kali.conf ...^M

Revision history for this message
Brian Murray (brian-murray) wrote :

Here's a screenshot of the actual prompt.

tags: added: cuqa-manual-testing rls-jj-incoming
Revision history for this message
Brian Murray (brian-murray) wrote :

I was also able to recreate this in a chroot by installing speech-dispatcher, editing sources.list from focal to jammy, and running apt-get dist-upgrade.

summary: - debconf prompt during upgrade from Focal to Jammy
+ config file prompt during upgrade from Focal to Jammy
summary: - config file prompt during upgrade from Focal to Jammy
+ conf file prompt during upgrade from Focal to Jammy
Revision history for this message
Steve Langasek (vorlon) wrote :

debian/speech-dispatcher.maintscript in the jammy version of speech-dispatcher removes /etc/speech-dispatcher/modules/mary-generic.conf but this package version also ships it. Should be a one-line fix.

Bug would not be noticed in Debian because the maintscript entry has a version check of 0.10.1-2~ for this removal and Debian stable ships 0.10.2-2+deb11u1; so in Debian it's a removal and reintroduction in separate releases.

Changed in speech-dispatcher (Ubuntu):
status: New → Triaged
importance: Undecided → High
Changed in speech-dispatcher (Ubuntu):
status: Triaged → Fix Committed
description: updated
Revision history for this message
Łukasz Zemczak (sil2100) wrote : Please test proposed package

Hello Brian, or anyone else affected,

Accepted speech-dispatcher into jammy-proposed. The package will build now and be available at https://launchpad.net/ubuntu/+source/speech-dispatcher/0.11.1-1ubuntu1 in a few hours, and then in the -proposed repository.

Please help us by testing this new package. See https://wiki.ubuntu.com/Testing/EnableProposed for documentation on how to enable and use -proposed. Your feedback will aid us getting this update out to other Ubuntu users.

If this package fixes the bug for you, please add a comment to this bug, mentioning the version of the package you tested, what testing has been performed on the package and change the tag from verification-needed-jammy to verification-done-jammy. If it does not fix the bug for you, please add a comment stating that, and change the tag to verification-failed-jammy. In either case, without details of your testing we will not be able to proceed.

Further information regarding the verification process can be found at https://wiki.ubuntu.com/QATeam/PerformingSRUVerification . Thank you in advance for helping!

N.B. The updated package will be released to -updates after the bug(s) fixed by this package have been verified and the package has been in -proposed for a minimum of 7 days.

Changed in speech-dispatcher (Ubuntu Jammy):
status: New → Fix Committed
tags: added: verification-needed verification-needed-jammy
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package speech-dispatcher - 0.11.1-3ubuntu1

---------------
speech-dispatcher (0.11.1-3ubuntu1) kinetic; urgency=medium

  * debian/speech-dispatcher.maintscript:
    - don't remove mary-generic.conf on upgrade, it's included in the
      package again. Fix conffile prompt on update (lp: #1981611)

 -- Sebastien Bacher <email address hidden> Thu, 21 Jul 2022 17:15:31 +0200

Changed in speech-dispatcher (Ubuntu):
status: Fix Committed → Fix Released
Revision history for this message
Brian Murray (brian-murray) wrote :

I tested an upgrade in a chroot from focal to jammy with -proposed enabled (since ubuntu-release-upgrader will disable -proposed) and I did not receive a conffile prompt.

Setting up speech-dispatcher (0.11.1-1ubuntu1) ...
Installing new version of config file /etc/speech-dispatcher/modules/cicero.conf ...
Installing new version of config file /etc/speech-dispatcher/modules/dtk-generic.conf ...
Installing new version of config file /etc/speech-dispatcher/modules/epos-generic.conf ...
Installing new version of config file /etc/speech-dispatcher/modules/espeak-mbrola-generic.conf ...
Installing new version of config file /etc/speech-dispatcher/modules/espeak-ng-mbrola-generic.conf ...
Installing new version of config file /etc/speech-dispatcher/modules/espeak-ng.conf ...
Installing new version of config file /etc/speech-dispatcher/modules/espeak.conf ...
Installing new version of config file /etc/speech-dispatcher/modules/festival.conf ...
Installing new version of config file /etc/speech-dispatcher/modules/flite.conf ...
Installing new version of config file /etc/speech-dispatcher/modules/llia_phon-generic.conf ...
Installing new version of config file /etc/speech-dispatcher/modules/mary-generic.conf ...
Installing new version of config file /etc/speech-dispatcher/modules/swift-generic.conf ...
Installing new version of config file /etc/speech-dispatcher/speechd.conf ...
Removing obsolete conffile /etc/speech-dispatcher/modules/espeak-generic.conf ...
Removing obsolete conffile /etc/speech-dispatcher/modules/pico-generic.conf ...
Removing obsolete conffile /etc/speech-dispatcher/modules/ivona.conf ...
Removing obsolete conffile /etc/speech-dispatcher/modules/baratinoo.conf ...
Removing obsolete conffile /etc/speech-dispatcher/modules/ibmtts.conf ...
Removing obsolete conffile /etc/speech-dispatcher/modules/kali.conf ...
Setting up libgssapi3-heimdal:amd64 (7.7.0+dfsg-3ubuntu1) ...
Setting up g++-9 (9.4.0-5ubuntu1) ...
Setting up g++ (4:11.2.0-1ubuntu1) ...
Setting up gnupg (2.2.27-3ubuntu2.1) ...
Setting up build-essential (12.9ubuntu3) ...
Processing triggers for libc-bin (2.35-0ubuntu3.1) ...
(focal-amd64)root@impulse:~# grep proposed /etc/apt/sources.list
deb http://192.168.10.7/ubuntu/ jammy-proposed main restricted universe multiverse
deb-src http://192.168.10.7/ubuntu/ jammy-proposed main restricted universe multiverse

tags: added: verification-done verification-done-jammy
removed: rls-jj-incoming verification-needed verification-needed-jammy
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package speech-dispatcher - 0.11.1-1ubuntu1

---------------
speech-dispatcher (0.11.1-1ubuntu1) jammy; urgency=medium

  * debian/speech-dispatcher.maintscript:
    - don't remove mary-generic.conf on upgrade, it's included in the
      package again. Fix conffile prompt on update (lp: #1981611)

 -- Sebastien Bacher <email address hidden> Thu, 21 Jul 2022 17:15:31 +0200

Changed in speech-dispatcher (Ubuntu Jammy):
status: Fix Committed → Fix Released
Revision history for this message
Łukasz Zemczak (sil2100) wrote : Update Released

The verification of the Stable Release Update for speech-dispatcher has completed successfully and the package is now being released to -updates. Subsequently, the Ubuntu Stable Release Updates Team is being unsubscribed and will not receive messages about this bug report. In the event that you encounter a regression using the package from -updates please report a new bug using ubuntu-bug and tag the bug report regression-update so we can easily find any regressions.

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.