Comment 0 for bug 2073022

Revision history for this message
Deniil (cyberplebeian) wrote :

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
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
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
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)
```