[apport] package lighttpd failed to install/upgrade:

Bug #87835 reported by fumanchu on 2007-02-25
2
Affects Status Importance Assigned to Milestone
lighttpd (Ubuntu)
Medium
MOTU

Bug Description

Binary package hint: lighttpd

Upgrade from Edgy to feisty failed

ProblemType: Package
Date: Sun Feb 25 13:50:06 2007
ErrorMessage:
 ErrorMessage: el subproceso post-installation script devolvió el código de salida de error 1
Package: lighttpd
SourcePackage: lighttpd

On Sun, Feb 25, 2007 at 05:26:21PM -0000, fumanchu wrote:
> Binary package hint: lighttpd Upgrade from Edgy to feisty failed
>
> ProblemType: Package
> Date: Sun Feb 25 13:50:06 2007
> ErrorMessage:
> ErrorMessage: el subproceso post-installation script devolvió el código de salida de error 1
> Package: lighttpd
> SourcePackage: lighttpd

Do you by any chance have Apache installed as well?

fumanchu (dobetko) wrote :

yes

On 2/25/07, Soren Hansen <email address hidden> wrote:
>
> On Sun, Feb 25, 2007 at 05:26:21PM -0000, fumanchu wrote:
> > Binary package hint: lighttpd Upgrade from Edgy to feisty failed
> >
> > ProblemType: Package
> > Date: Sun Feb 25 13:50:06 2007
> > ErrorMessage:
> > ErrorMessage: el subproceso post-installation script devolvió el código
> de salida de error 1
> > Package: lighttpd
> > SourcePackage: lighttpd
>
> Do you by any chance have Apache installed as well?
>
> --
> [apport] package lighttpd failed to install/upgrade:
> https://launchpad.net/bugs/87835
>

fumanchu (dobetko) wrote :

yes

Soren Hansen (soren) wrote :

On Sun, Feb 25, 2007 at 07:21:35PM -0000, fumanchu wrote:
> > Do you by any chance have Apache installed as well?
> yes

Ok. That's probably the reason. One of them is listening on port 80 and
when the other one tries to restart (IIRC they both do that in their
postinst script) it fails.. The solution is to stop apache and then
upgrade lighttpd.

The only real solution to this problem is to tell the user that the
upgrade failed because something is listening on port 80. There's really
no actual workaround since installing two webservers, both listening on
port 80, is not a very good idea to begin with.

fumanchu (dobetko) wrote :

actually.. the binary for apache is still there but is not installed...
sorry about that..

root@ubuntu:/home/harry# dpkg -r apache
dpkg - atención: el paquete apache no está instalado. NOT INSTALLED
 no se tendrá en cuenta la petición de desinstalarlo

root@ubuntu:/home/harry# dpkg -r apache2
dpkg - atención: el paquete apache2 no está instalado. NOT INSTALLED
 no se tendrá en cuenta la petición de desinstalarlo

On 2/25/07, Soren Hansen <email address hidden> wrote:
>
> On Sun, Feb 25, 2007 at 07:21:35PM -0000, fumanchu wrote:
> > > Do you by any chance have Apache installed as well?
> > yes
>
> Ok. That's probably the reason. One of them is listening on port 80 and
> when the other one tries to restart (IIRC they both do that in their
> postinst script) it fails.. The solution is to stop apache and then
> upgrade lighttpd.
>
> The only real solution to this problem is to tell the user that the
> upgrade failed because something is listening on port 80. There's really
> no actual workaround since installing two webservers, both listening on
> port 80, is not a very good idea to begin with.
>
> --
> [apport] package lighttpd failed to install/upgrade:
> https://launchpad.net/bugs/87835
>

Soren Hansen (soren) wrote :

On Sun, Feb 25, 2007 at 10:52:44PM -0000, fumanchu wrote:
> actually.. the binary for apache is still there but is not installed...
> sorry about that..

I don't understand. The binary is there? Does that mean that you have
compiled and installed Apache from source?

fumanchu (dobetko) wrote :

nope.. it was installed from repositories..
apache2ctl is in /usr/sbin

don't know really what happened...

anyways, apache2 is not running nor loading at boot time

On 2/25/07, Soren Hansen <email address hidden> wrote:
>
> On Sun, Feb 25, 2007 at 10:52:44PM -0000, fumanchu wrote:
> > actually.. the binary for apache is still there but is not installed...
> > sorry about that..
>
> I don't understand. The binary is there? Does that mean that you have
> compiled and installed Apache from source?
>
> --
> [apport] package lighttpd failed to install/upgrade:
> https://launchpad.net/bugs/87835
>

Changed in lighttpd:
assignee: nobody → motu
importance: Undecided → Medium
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers