Ok, I have found the cause of the problem.  Yaws could not start because
I also had wwwoffled running, which listens on the same ports 8080 and
8443.  After I stopped wwwoffled ("/etc/init.d/wwwoffled stop"), I tried
again.  First attempt failed, but this was because yaws install script
tries to do a restart of yaws, which fails when it is not running.
Therefore doing a "/etc/init.d/yaws start" before "apt-get purge yaws"
allowed it to uninstall smoothly.

I still consider this a usability bug, because for many users like me
who want to set up a small home web server and try out all the relevant
packages, the installers should check if ports are in use and at least
display a warning, automatically fall over to a new port number, or
prompt the user for a preferred port number.

The way it is now, it fails to install in such a way that it also fails
to uninstall, and you have to hunt around for the cause just to even get
rid of the package.

Now that I know the cause of the problem, I will probably reinstall yaws
at some later time (when I finish my Masters) :-)

-- 
package yaws 1.82-2 failed to install/upgrade: subprocess installed pre-removal 
script returned error exit status 1
https://bugs.launchpad.net/bugs/616911
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to