try to purge the files with
apt-get --purge remove icecast2
This should delete all the icecast files, then install it again.
I don't know if this is supported wit icecast2, but maybe you could
also use dpkg-reconfigure.
On 2/25/16, Steve Matzura <sm at noisynotes.com>
wrote:> I installed icecast 2.40 using the standard apt-get install command on
> my Debian 8.2 (Weezie) system, but I accidentally chose the incorrect
> answer to the dialog asking if I wanted to answer configuration
> questions or edit the XML myself. I then removed icecast2 in the
> normal 'apt-get remove' manner. I followed this by executing the
> install command again. Icecast2 re-installed, but bypassed the
> question I really wanted to answer, so I removed it again, but this
> time I also removed the /etc/icecast2 directory, /etc/init.d/icecast2
> and /etc/logrotate.d/icecast2 manually. I installed a third time,
> thinking I now had a clean environment. The installation ran to
> completion, but generated an error, exit status 1, from a script that
> tried to chmod /etc/icecast2/icecast.xml, which did not get created
> during the installation, nor did I get the question asking whether I
> wanted to answer sconfig questions or edit it myself. What do I have
> to do in order to make the installation ask me the question it
> originally did? Or, put another way, what do I have to do to clean up
> from the mess I've obviously made and start over?
>
> Thanks in advance.
> _______________________________________________
> Icecast mailing list
> Icecast at xiph.org
> http://lists.xiph.org/mailman/listinfo/icecast
>