Skip to content

mumble: Configuration file moved to /etc/mumble/mumble-server.ini

On Debian testing, I saw that a functional test to install Mumble had failed. So I tried installing the package manually:

vagrant@freedombox:/freedombox$ sudo apt install mumble-server
The following packages were automatically installed and are no longer required:
  libgnutls-dane0t64  liblockfile-bin  liblockfile1  libmodule-scandeps-perl  libunbound8
Use 'sudo apt autoremove' to remove them.

Installing:
  mumble-server

Summary:
  Upgrading: 0, Installing: 1, Removing: 0, Not Upgrading: 0
  Download size: 0 B / 643 kB
  Space needed: 2,670 kB / 9,123 MB available

Preconfiguring packages ...
(Reading database ... 223920 files and directories currently installed.)
Preparing to unpack .../mumble-server_1.5.517-2.1_amd64.deb ...
Moving /etc/mumble-server.ini to /etc/mumble/mumble-server.ini..
mkdir: cannot create directory ‘/etc/mumble’: File exists
dpkg: error processing archive /var/cache/apt/archives/mumble-server_1.5.517-2.1_amd64.deb (--unpack):
 new mumble-server package pre-installation script subprocess returned error exit status 1
Errors were encountered while processing:
 /var/cache/apt/archives/mumble-server_1.5.517-2.1_amd64.deb
Error: Sub-process /usr/bin/dpkg returned an error code (1)

If I manually delete /etc/mumble-server.ini and /etc/mumble/, then the package can be installed.

Looks like we need to update the configuration file that we modify: https://salsa.debian.org/freedombox-team/freedombox/-/blob/main/plinth/modules/mumble/privileged.py?ref_type=heads#L14