[Bug 616911] Re: package yaws 1.82-2 failed to install/upgrade: subprocess installed pre-removal script returned error exit status 1

2011-02-19 Thread Karl Å
Thank you thank you thank you Matthew, I was going mental trying to get this 
package to stop breaking my upgrades.
Not being able to run a package because a port is busy is ok, not being able to 
uninstall or reinstall a package because a very commonly used port is busy is a 
bad bad bug IMHO

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/616911

Title:
  package yaws 1.82-2 failed to install/upgrade: subprocess installed
  pre-removal script returned error exit status 1

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


[Bug 616911] Re: package yaws 1.82-2 failed to install/upgrade: subprocess installed pre-removal script returned error exit status 1

2010-08-12 Thread Matthew Breithaupt

** Attachment added: Dependencies.txt
   
https://bugs.launchpad.net/bugs/616911/+attachment/1486415/+files/Dependencies.txt

** Attachment added: Dmesg.txt
   https://bugs.launchpad.net/bugs/616911/+attachment/1486416/+files/Dmesg.txt

** Attachment added: DpkgTerminalLog.txt
   
https://bugs.launchpad.net/bugs/616911/+attachment/1486417/+files/DpkgTerminalLog.txt

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


[Bug 616911] Re: package yaws 1.82-2 failed to install/upgrade: subprocess installed pre-removal script returned error exit status 1

2010-08-12 Thread Matthew Breithaupt
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