Comment 5 for bug 298796

Revision history for this message
yehoramb (yehoramb) wrote : Re: [Bug 298796] Re: package acidlab 0.9.6b20-24 failed to install/upgrade: subprocess post-installation script returned error exit status 1

Don't know why but it is not a one time bug for me...
I first tried it on 8.04 --> failed with the same error.
Then I upgraded to 8.10 and had some time to try it again. Again, the same
error.
I tried to clean everything several times (Thinking I messed something) but
without any success.
Every time I can see that acid_conf.php was not created under /etc/acidlab/.

One last thing, I use snort-mysql and not snort.

hope this help.

--
Regards,
Yehoram Ben-Yaacov

On Thu, Nov 20, 2008 at 1:11 PM, Savvas Radevic <email address hidden> wrote:

> I've tested it several times on 8.10 intrepid, new installations
> (along with the packages that were mentioned in the dpkg log), but the
> install finishes successfully, perhaps it was a one-time bug.
>
> Backup your acidlab configuration if you want, but can you purge acidlab?
> sudo apt-get purge acidlab
> sudo rm -rf /etc/acidlab
>
> ..and install it again:
> sudo apt-get install acidlab
>
> --
> package acidlab 0.9.6b20-24 failed to install/upgrade: subprocess
> post-installation script returned error exit status 1
> https://bugs.launchpad.net/bugs/298796
> You received this bug notification because you are a direct subscriber
> of the bug.
>
> Status in "acidlab" source package in Ubuntu: Incomplete
>
> Bug description:
> Binary package hint: acidlab
>
> Description: Ubuntu 8.10
> Release: 8.10
>
> The version of the package I'm using: acidlab (0.9.6b20-24)
>
> Console output:
> Preconfiguring packages ...
> Selecting previously deselected package apache2-utils.
> (Reading database ... 150698 files and directories currently installed.)
> Unpacking apache2-utils (from .../apache2-utils_2.2.9-7ubuntu3_i386.deb)
> ...
> Selecting previously deselected package apache2.2-common.
> Unpacking apache2.2-common (from
> .../apache2.2-common_2.2.9-7ubuntu3_i386.deb) ...
> Selecting previously deselected package apache2-mpm-prefork.
> Unpacking apache2-mpm-prefork (from
> .../apache2-mpm-prefork_2.2.9-7ubuntu3_i386.deb) ...
> Selecting previously deselected package php5-common.
> Unpacking php5-common (from .../php5-common_5.2.6-2ubuntu4_i386.deb) ...
> Selecting previously deselected package libapache2-mod-php5.
> Unpacking libapache2-mod-php5 (from
> .../libapache2-mod-php5_5.2.6-2ubuntu4_i386.deb) ...
> Selecting previously deselected package php5.
> Unpacking php5 (from .../php5_5.2.6-2ubuntu4_all.deb) ...
> Selecting previously deselected package libphp-adodb.
> Unpacking libphp-adodb (from .../libphp-adodb_5.04a-1_all.deb) ...
> Selecting previously deselected package php5-gd.
> Unpacking php5-gd (from .../php5-gd_5.2.6-2ubuntu4_i386.deb) ...
> Selecting previously deselected package php5-mysql.
> Unpacking php5-mysql (from .../php5-mysql_5.2.6-2ubuntu4_i386.deb) ...
> Selecting previously deselected package acidlab.
> Unpacking acidlab (from .../acidlab_0.9.6b20-24_all.deb) ...
> Processing triggers for man-db ...
> Processing triggers for ufw ...
> Setting up apache2-utils (2.2.9-7ubuntu3) ...
> Setting up apache2.2-common (2.2.9-7ubuntu3) ...
> Enabling site default.
> Enabling module alias.
> Enabling module autoindex.
> Enabling module dir.
> Enabling module env.
> Enabling module mime.
> Enabling module negotiation.
> Enabling module setenvif.
> Enabling module status.
> Enabling module auth_basic.
> Enabling module deflate.
> Enabling module authz_default.
> Enabling module authz_user.
> Enabling module authz_groupfile.
> Enabling module authn_file.
> Enabling module authz_host.
>
> Setting up apache2-mpm-prefork (2.2.9-7ubuntu3) ...
> * Starting web server apache2
> apache2: Could not reliably determine the server's fully qualified domain
> name, using 127.0.1.1 for ServerName
> ...done.
>
> Setting up php5-common (5.2.6-2ubuntu4) ...
> Setting up libapache2-mod-php5 (5.2.6-2ubuntu4) ...
>
> Creating config file /etc/php5/apache2/php.ini with new version
> * Reloading web server config apache2
> apache2: Could not reliably determine the server's fully qualified domain
> name, using 127.0.1.1 for ServerName
> ...done.
>
> Setting up php5 (5.2.6-2ubuntu4) ...
> Setting up libphp-adodb (5.04a-1) ...
>
> Setting up php5-gd (5.2.6-2ubuntu4) ...
>
> Setting up php5-mysql (5.2.6-2ubuntu4) ...
>
> Setting up acidlab (0.9.6b20-24) ...
> Not replacing deleted config file /etc/acidlab/acid_conf.php
> chmod: cannot access `/etc/acidlab/acid_conf.php': No such file or
> directory
> dpkg: error processing acidlab (--configure):
> subprocess post-installation script returned error exit status 1
> Errors were encountered while processing:
> acidlab
> E: Sub-process /usr/bin/dpkg returned an error code (1)
> A package failed to install. Trying to recover:
> Setting up acidlab (0.9.6b20-24) ...
> Not replacing deleted config file /etc/acidlab/acid_conf.php
> chmod: cannot access `/etc/acidlab/acid_conf.php': No such file or
> directory
> dpkg: error processing acidlab (--configure):
> subprocess post-installation script returned error exit status 1
> Errors were encountered while processing:
> acidlab
>
> ProblemType: Package
> Architecture: i386
> DistroRelease: Ubuntu 8.10
> ErrorMessage: subprocess post-installation script returned error exit
> status 1
> Package: acidlab 0.9.6b20-24
> PackageArchitecture: all
> SourcePackage: acidlab
> Title: package acidlab 0.9.6b20-24 failed to install/upgrade: subprocess
> post-installation script returned error exit status 1
> Uname: Linux 2.6.27-7-generic i686