Public bug reported: Probably caused by an attempt to fix this bug: https://bugs.launchpad.net/ubuntu/+source/icecast2/+bug/1980241
apt won't create icecast.xml when it doesn't exist. ``` root@emity-gaming:/# apt install icecast2 Reading package lists... Done Building dependency tree... Done Reading state information... Done The following packages were automatically installed and are no longer required: bridge-utils dns-root-data dnsmasq-base libbloom1 libcork16 libcorkipset1 libev4 libjsonparser1.1 linux-headers-6.5.0-15 linux-headers-6.5.0-15-generic linux-headers-6.5.0-17 linux-headers-6.5.0-17-generic linux-headers-6.5.0-26 linux-headers-6.5.0-26-generic linux-image-5.15.0-92-generic linux-image-6.5.0-15-generic linux-image-6.5.0-17-generic linux-image-6.5.0-26-generic linux-modules-5.15.0-92-generic linux-modules-6.5.0-15-generic linux-modules-6.5.0-17-generic linux-modules-6.5.0-26-generic linux-modules-extra-5.15.0-92-generic linux-modules-extra-6.5.0-15-generic linux-modules-extra-6.5.0-17-generic linux-modules-extra-6.5.0-26-generic ubuntu-fan wmdocker Use 'apt autoremove' to remove them. Suggested packages: ices2 The following NEW packages will be installed: icecast2 0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded. Need to get 0 B/1,326 kB of archives. After this operation, 2,065 kB of additional disk space will be used. Preconfiguring packages ... Selecting previously unselected package icecast2. (Reading database ... 304182 files and directories currently installed.) Preparing to unpack .../icecast2_2.4.4-4build1_amd64.deb ... Unpacking icecast2 (2.4.4-4build1) ... Setting up icecast2 (2.4.4-4build1) ... chgrp: cannot access '/etc/icecast2/icecast.xml': No such file or directory dpkg: error processing package icecast2 (--configure): installed icecast2 package post-installation script subprocess returned error exit status 1 Processing triggers for man-db (2.11.2-3) ... Errors were encountered while processing: icecast2 needrestart is being skipped since dpkg has failed E: Sub-process /usr/bin/dpkg returned an error code (1) ``` ** Affects: icecast2 (Ubuntu) Importance: Undecided Status: New ** Description changed: Probably caused by an attempt to fix this bug: https://bugs.launchpad.net/ubuntu/+source/icecast2/+bug/1980241 apt won't create icecast.xml when it doesn't exist. ``` - root@emity-gaming:/etc/icecast2# apt install icecast2 + root@emity-gaming:/# apt install icecast2 Reading package lists... Done Building dependency tree... Done Reading state information... Done - icecast2 is already the newest version (2.4.4-4build1). - sh: 0: getcwd() failed: No such file or directory - sh: 0: getcwd() failed: No such file or directory - 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. - 1 not fully installed or removed. - sh: 0: getcwd() failed: No such file or directory - After this operation, 0 B of additional disk space will be used. - Do you want to continue? [Y/n] y - sh: 0: getcwd() failed: No such file or directory + The following packages were automatically installed and are no longer required: + bridge-utils dns-root-data dnsmasq-base libbloom1 libcork16 libcorkipset1 libev4 libjsonparser1.1 + linux-headers-6.5.0-15 linux-headers-6.5.0-15-generic linux-headers-6.5.0-17 linux-headers-6.5.0-17-generic + linux-headers-6.5.0-26 linux-headers-6.5.0-26-generic linux-image-5.15.0-92-generic linux-image-6.5.0-15-generic + linux-image-6.5.0-17-generic linux-image-6.5.0-26-generic linux-modules-5.15.0-92-generic + linux-modules-6.5.0-15-generic linux-modules-6.5.0-17-generic linux-modules-6.5.0-26-generic + linux-modules-extra-5.15.0-92-generic linux-modules-extra-6.5.0-15-generic linux-modules-extra-6.5.0-17-generic + linux-modules-extra-6.5.0-26-generic ubuntu-fan wmdocker + Use 'apt autoremove' to remove them. + Suggested packages: + ices2 + The following NEW packages will be installed: + icecast2 + 0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded. + Need to get 0 B/1,326 kB of archives. + After this operation, 2,065 kB of additional disk space will be used. + Preconfiguring packages ... + Selecting previously unselected package icecast2. + (Reading database ... 304182 files and directories currently installed.) + Preparing to unpack .../icecast2_2.4.4-4build1_amd64.deb ... + Unpacking icecast2 (2.4.4-4build1) ... Setting up icecast2 (2.4.4-4build1) ... chgrp: cannot access '/etc/icecast2/icecast.xml': No such file or directory dpkg: error processing package icecast2 (--configure): installed icecast2 package post-installation script subprocess returned error exit status 1 + Processing triggers for man-db (2.11.2-3) ... Errors were encountered while processing: icecast2 needrestart is being skipped since dpkg has failed - sh: 0: getcwd() failed: No such file or directory E: Sub-process /usr/bin/dpkg returned an error code (1) ``` -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/2073022 Title: icecast.xml is not created when its not present To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/icecast2/+bug/2073022/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs