[apport] package lighttpd failed to install/upgrade:

Bug #87835 reported by fumanchu
2
Affects Status Importance Assigned to Milestone
lighttpd (Ubuntu)
New
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

Tags: packaging
Revision history for this message
Soren Hansen (soren) wrote : Re: [Bug 87835] [apport] package lighttpd failed to install/upgrade:

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?

Revision history for this message
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
>

Revision history for this message
fumanchu (dobetko) wrote :

yes

Revision history for this message
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.

Revision history for this message
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
>

Revision history for this message
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?

Revision history for this message
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  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.