package acidlab 0.9.6b20-24 failed to install/upgrade: subprocess post-installation script returned error exit status 1

Bug #298796 reported by yehoramb
10
This bug affects 1 person
Affects Status Importance Assigned to Milestone
acidlab (Debian)
Fix Released
Unknown
acidlab (Ubuntu)
Won't Fix
Undecided
Unassigned

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

Revision history for this message
yehoramb (yehoramb) wrote :
Revision history for this message
Savvas Radevic (medigeek) wrote :

Hi, I tried to reproduce this, but I can't.
Did you have any other versions before? If so, which?

Changed in acidlab:
status: New → Incomplete
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
Download full text (4.8 KiB)

Hi,

What I did to solve it was to copy a new /etc/acidlab/acid_conf.php. the
file was not there when the installation finished...
It was a clean new installation.

Let me know if you want to test something here.

--
Regards,
Yehoram Ben-Yaacov

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

> Hi, I tried to reproduce this, but I can't.
> Did you have any other versions before? If so, which?
>
> --
> 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: New
>
> 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.
>
> Settin...

Read more...

Revision history for this message
Savvas Radevic (medigeek) 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

Revision history for this message
yehoramb (yehoramb) wrote :
Download full text (5.3 KiB)

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

Read more...

Revision history for this message
Savvas Radevic (medigeek) wrote :

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)

Changed in acidlab:
status: Incomplete → Confirmed
Revision history for this message
Savvas Radevic (medigeek) wrote :

OK, it looks like to resolve this you have to do: sudo dpkg-reconfigure --force acidlab
..and customize it from there.

Or:
sudo apt-get purge acidlab
sudo rm -rf /etc/acidlab
sudo apt-get update
sudo apt-get upgrade
sudo apt-get install acidlab

But I think the debian package should be able to resolve this automatically

Revision history for this message
Savvas Radevic (medigeek) wrote :

The actual problem seems to be the fact that if the folder /etc/acidlab is manually removed, it blocks further reinstalls.
Filed upstream

Revision history for this message
yehoramb (yehoramb) wrote :
Download full text (5.2 KiB)

Hello,

I have just noticed that you placed all the e-mails on bugs.launchpad. The
problem is that me phone number and skype use appear there too.
Can you please remove them?

You can find it at:
https://bugs.launchpad.net/ubuntu/+source/acidlab/+bug/298796

Thanks for your help.
Yehoram

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

> The actual problem seems to be the fact that if the folder /etc/acidlab is
> manually removed, it blocks further reinstalls.
> Filed upstream
>
> ** Bug watch added: Debian Bug tracker #506322
> http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=506322
>
> ** Also affects: acidlab (Debian) via
> http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=506322
> Importance: Unknown
> Status: Unknown
>
> --
> 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: Confirmed
> Status in "acidlab" source package in Debian: Unknown
>
> 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.
> En...

Read more...

Revision history for this message
Savvas Radevic (medigeek) wrote :

File a request ("ask a question") at: http://answers.launchpad.net/launchpad
Tell them which private information you want to be removed from your comments at this bug report.

Revision history for this message
yehoramb (yehoramb) wrote :
Download full text (4.7 KiB)

Thanks

On Tue, Jan 20, 2009 at 10:53 AM, Savvas Radevic <email address hidden> wrote:

> File a request ("ask a question") at:
> http://answers.launchpad.net/launchpad
> Tell them which private information you want to be removed from your
> comments at this bug report.
>
> --
> 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: Confirmed
> Status in "acidlab" source package in Debian: Unknown
>
> 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) ...
>
> ...

Read more...

Changed in acidlab:
status: Unknown → New
Revision history for this message
Andreas Moog (ampelbein) wrote :

Acidlab has been removed from debian and ubuntu.

Changed in acidlab (Ubuntu):
status: Confirmed → Won't Fix
Changed in acidlab (Debian):
status: New → Fix Released
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.