[Bug 336368] [NEW] E: /var/cache/apt/archives/mysql-server-5.0_5.0.67-0ubuntu6_amd64.deb: subprocess pre-installation script returned error exit status 1

Paul Howard howsoft at mindspring.com
Sun Mar 1 19:49:04 GMT 2009


Public bug reported:

Attempting to install bacula from the ubuntu repositories.


paul at Galadriel-Ubuntu64-Sandbox:~$ lsb_release -rd
Description:	Ubuntu 8.10
Release:	8.10

paul at Galadriel-Ubuntu64-Sandbox:~$ apt-cache policy bacula
bacula:
  Installed: 2.4.2-1ubuntu6
  Candidate: 2.4.2-1ubuntu6
  Version table:
 *** 2.4.2-1ubuntu6 0
        500 http://us.archive.ubuntu.com intrepid/main Packages
        100 /var/lib/dpkg/status
paul at Galadriel-Ubuntu64-Sandbox:~$ 


Preconfiguring packages ...
Selecting previously deselected package bacula-common.
(Reading database ... 114485 files and directories currently installed.)
Unpacking bacula-common (from .../bacula-common_2.4.2-1ubuntu6_amd64.deb) ...
Adding user 'bacula'... Ok.
Selecting previously deselected package bacula-console.
Unpacking bacula-console (from .../bacula-console_2.4.2-1ubuntu6_amd64.deb) ...
Selecting previously deselected package exim4-config.
Unpacking exim4-config (from .../exim4-config_4.69-5ubuntu2_all.deb) ...
Selecting previously deselected package exim4-base.
Unpacking exim4-base (from .../exim4-base_4.69-5ubuntu2_amd64.deb) ...
Selecting previously deselected package exim4-daemon-light.
Unpacking exim4-daemon-light (from .../exim4-daemon-light_4.69-5ubuntu2_amd64.deb) ...
Selecting previously deselected package exim4.
Unpacking exim4 (from .../exim4_4.69-5ubuntu2_all.deb) ...
Selecting previously deselected package bsd-mailx.
Unpacking bsd-mailx (from .../bsd-mailx_8.1.2-0.20071201cvs-3_amd64.deb) ...
Selecting previously deselected package mailx.
Unpacking mailx (from .../mailx_1%3a20071201-3_all.deb) ...
Selecting previously deselected package gawk.
Unpacking gawk (from .../gawk_1%3a3.1.6.dfsg-0ubuntu1_amd64.deb) ...
Processing triggers for man-db ...
Processing triggers for doc-base ...
Processing 4 added doc-base file(s)...
Registering documents with scrollkeeper...
Setting up bacula-common (2.4.2-1ubuntu6) ...

Selecting previously deselected package bacula-director-common.
(Reading database ... 114912 files and directories currently installed.)
Unpacking bacula-director-common (from .../bacula-director-common_2.4.2-1ubuntu6_amd64.deb) ...
Selecting previously deselected package libnet-daemon-perl.
Unpacking libnet-daemon-perl (from .../libnet-daemon-perl_0.38-1.1_all.deb) ...
Selecting previously deselected package libplrpc-perl.
Unpacking libplrpc-perl (from .../libplrpc-perl_0.2017-1.1_all.deb) ...
Selecting previously deselected package libdbi-perl.
Unpacking libdbi-perl (from .../libdbi-perl_1.605-1_amd64.deb) ...
Selecting previously deselected package mysql-common.
Unpacking mysql-common (from .../mysql-common_5.0.67-0ubuntu6_all.deb) ...
Selecting previously deselected package libmysqlclient15off.
Unpacking libmysqlclient15off (from .../libmysqlclient15off_5.0.67-0ubuntu6_amd64.deb) ...
Selecting previously deselected package libdbd-mysql-perl.
Unpacking libdbd-mysql-perl (from .../libdbd-mysql-perl_4.007-1build1_amd64.deb) ...
Selecting previously deselected package mysql-client-5.0.
Unpacking mysql-client-5.0 (from .../mysql-client-5.0_5.0.67-0ubuntu6_amd64.deb) ...
Selecting previously deselected package mysql-client.
Unpacking mysql-client (from .../mysql-client_5.0.67-0ubuntu6_all.deb) ...
Selecting previously deselected package bacula-director-mysql.
Unpacking bacula-director-mysql (from .../bacula-director-mysql_2.4.2-1ubuntu6_amd64.deb) ...
Selecting previously deselected package mtx.
Unpacking mtx (from .../mtx_1.3.11-1ubuntu1_amd64.deb) ...
Selecting previously deselected package bacula-sd.
Unpacking bacula-sd (from .../bacula-sd_2.4.2-1ubuntu6_amd64.deb) ...
Processing triggers for man-db ...
Setting up mysql-common (5.0.67-0ubuntu6) ...
Selecting previously deselected package mysql-server-5.0.
(Reading database ... 115263 files and directories currently installed.)
Unpacking mysql-server-5.0 (from .../mysql-server-5.0_5.0.67-0ubuntu6_amd64.deb) ...
Your account has expired; please contact your system administrator
chfn: PAM authentication failed
adduser: `/usr/bin/chfn -f MySQL Server mysql' returned error code 1. Exiting.
dpkg: error processing /var/cache/apt/archives/mysql-server-5.0_5.0.67-0ubuntu6_amd64.deb (--unpack):
 subprocess pre-installation script returned error exit status 1
Selecting previously deselected package bacula-sd-mysql.
Unpacking bacula-sd-mysql (from .../bacula-sd-mysql_2.4.2-1ubuntu6_amd64.deb) ...
Selecting previously deselected package bacula-server.
Unpacking bacula-server (from .../bacula-server_2.4.2-1ubuntu6_all.deb) ...
Selecting previously deselected package bacula-fd.
Unpacking bacula-fd (from .../bacula-fd_2.4.2-1ubuntu6_amd64.deb) ...
Selecting previously deselected package bacula-client.
Unpacking bacula-client (from .../bacula-client_2.4.2-1ubuntu6_all.deb) ...
Selecting previously deselected package bacula.
Unpacking bacula (from .../bacula_2.4.2-1ubuntu6_all.deb) ...
Selecting previously deselected package bacula-traymonitor.
Unpacking bacula-traymonitor (from .../bacula-traymonitor_2.4.2-1ubuntu6_amd64.deb) ...
Selecting previously deselected package mysql-server.
Unpacking mysql-server (from .../mysql-server_5.0.67-0ubuntu6_all.deb) ...
Processing triggers for man-db ...
Errors were encountered while processing:
 /var/cache/apt/archives/mysql-server-5.0_5.0.67-0ubuntu6_amd64.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)
A package failed to install.  Trying to recover:
Setting up exim4-config (4.69-5ubuntu2) ...
Adding system-user for exim (v4)

Setting up libmysqlclient15off (5.0.67-0ubuntu6) ...

Setting up gawk (1:3.1.6.dfsg-0ubuntu1) ...

Setting up bacula-traymonitor (2.4.2-1ubuntu6) ...

Setting up libnet-daemon-perl (0.38-1.1) ...
Setting up bacula-console (2.4.2-1ubuntu6) ...

Setting up bacula-fd (2.4.2-1ubuntu6) ...

Setting up libplrpc-perl (0.2017-1.1) ...
Setting up exim4-base (4.69-5ubuntu2) ...

Setting up mtx (1.3.11-1ubuntu1) ...
Setting up bacula-client (2.4.2-1ubuntu6) ...
dpkg: dependency problems prevent configuration of mysql-server:
 mysql-server depends on mysql-server-5.0; however:
  Package mysql-server-5.0 is not installed.
dpkg: error processing mysql-server (--configure):
 dependency problems - leaving unconfigured
Setting up libdbi-perl (1.605-1) ...
Setting up exim4-daemon-light (4.69-5ubuntu2) ...
 * Starting MTA
   ...done.

Setting up libdbd-mysql-perl (4.007-1build1) ...
Setting up bacula-sd (2.4.2-1ubuntu6) ...

Setting up bacula-sd-mysql (2.4.2-1ubuntu6) ...
Setting up bsd-mailx (8.1.2-0.20071201cvs-3) ...

Setting up exim4 (4.69-5ubuntu2) ...

Setting up mysql-client-5.0 (5.0.67-0ubuntu6) ...
Setting up bacula-director-common (2.4.2-1ubuntu6) ...

Setting up mailx (1:20071201-3) ...
Setting up mysql-client (5.0.67-0ubuntu6) ...
Setting up bacula-director-mysql (2.4.2-1ubuntu6) ...
Processing configuration ...Failed to connect to database: Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2) at -e line 5, <> line 1.
Failed to create database (incorrect admin username/password?)
It's also possible that mysql-server wasn't running.  After install
is completed, you will need to make sure mysql-server is running
and that you supplied correct information. Try:
sudo dpkg-reconfigure bacula-director-mysql

Setting up bacula-server (2.4.2-1ubuntu6) ...
Setting up bacula (2.4.2-1ubuntu6) ...
Processing triggers for libc6 ...
ldconfig deferred processing now taking place
Errors were encountered while processing:
 mysql-server

ProblemType: Package
Architecture: amd64
DistroRelease: Ubuntu 8.10
ErrorMessage: subprocess pre-installation script returned error exit status 1
Package: mysql-server-5.0 5.0.67-0ubuntu6
SourcePackage: mysql-dfsg-5.0
Title: package mysql-server-5.0 5.0.67-0ubuntu6 failed to install/upgrade: subprocess pre-installation script returned error exit status 1
Uname: Linux 2.6.27-11-generic x86_64

** Affects: mysql-dfsg-5.0 (Ubuntu)
     Importance: Undecided
         Status: New


** Tags: apport-package

-- 
E: /var/cache/apt/archives/mysql-server-5.0_5.0.67-0ubuntu6_amd64.deb: subprocess pre-installation script returned error exit status 1
https://bugs.launchpad.net/bugs/336368
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to mysql-dfsg-5.0 in ubuntu.



More information about the Ubuntu-server-bugs mailing list