[Bug 734113] Re: package mysql-server-5.1 (not installed) failed to install/upgrade: subprocess new pre-installation script returned error exit status 1

James John McGinnis 734113 at bugs.launchpad.net
Thu Mar 17 22:24:12 UTC 2011


Second attempt to install mysql:

It would not install via Ubuntu Software Center  (Installing Mythtv
which mysql is a dependency). Attempted to install broken package via
apt-get. Now I get the following error.

$ sudo apt-get install -f
Reading package lists... Done
Building dependency tree       
Reading state information... Done
Correcting dependencies... Done
The following extra packages will be installed:
  mysql-server-5.1
Suggested packages:
  tinyca
The following NEW packages will be installed:
  mysql-server-5.1
0 upgraded, 1 newly installed, 0 to remove and 12 not upgraded.
19 not fully installed or removed.
Need to get 0B/7,105kB of archives.
After this operation, 15.7MB of additional disk space will be used.
Do you want to continue [Y/n]? Y
Preconfiguring packages ...
(Reading database ... 632817 files and directories currently installed.)
Unpacking mysql-server-5.1 (from .../mysql-server-5.1_5.1.41-3ubuntu12.10_amd64.deb) ...
useradd: cannot lock /etc/shadow; try again later.
adduser: `/usr/sbin/useradd -d /var/lib/mysql -g mysql -s /bin/false -u 121 mysql' returned error code 1. Exiting.
dpkg: error processing /var/cache/apt/archives/mysql-server-5.1_5.1.41-3ubuntu12.10_amd64.deb (--unpack):
 subprocess new pre-installation script returned error exit status 1
Errors were encountered while processing:
 /var/cache/apt/archives/mysql-server-5.1_5.1.41-3ubuntu12.10_amd64.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)

-- 
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to mysql-dfsg-5.1 in ubuntu.
https://bugs.launchpad.net/bugs/734113

Title:
  package mysql-server-5.1 (not installed) failed to install/upgrade:
  subprocess new pre-installation script returned error exit status 1



More information about the Ubuntu-server-bugs mailing list