[Bug 592899] Re: package mysql-server-5.1 5.1.41-3ubuntu12.1 failed to install/upgrade: ErrorMessage: subprocess new pre-removal script returned error exit status 1

dreamline bernie at yardon.org
Tue Jun 15 23:59:33 BST 2010


Hi Mathias,

Not as far as I was aware.

Thunderbird and Chrome were the only apps running at the time.

A similar problem occurred when I upgraded from Karmic to Lucid, but a 
reboot sorted the issue.

I had to manually remove my MySQL directory from /etc before I could 
remove the package via apt-get --remove. Prior to me doing this, the 
upgrade kept freezing on trying to replace MySQL.

Cheers
Bernie

On 15/06/10 17:07, Mathias Gug wrote:
> According to the apt terminal log file:
>
> Preparing to replace mysql-server-5.1 5.1.41-3ubuntu12.1 (using
> .../mysql-server-5.1_5.1.41-3ubuntu12.3_amd64.deb) ...
>
> debconf: DbDriver "config": /var/cache/debconf/config.dat is locked by
> another process: Resource temporarily unavailable
>
> dpkg: warning: old pre-removal script returned error exit status 1
>
> dpkg - trying script from the new package instead ...
>
> debconf: DbDriver "config": /var/cache/debconf/config.dat is locked by
> another process: Resource temporarily unavailable
>
> dpkg: error processing /var/cache/apt/archives/mysql-
> server-5.1_5.1.41-3ubuntu12.3_amd64.deb (--unpack):
>
>   subprocess new pre-removal script returned error exit status 1
>
> debconf: DbDriver "config": /var/cache/debconf/config.dat is locked by
> another process: Resource temporarily unavailable
>
> dpkg: error while cleaning up:
>
>   subprocess installed post-installation script returned error exit
> status 1
>
> Preparing to replace openoffice.org-emailmerge 1:3.2.0-7ubuntu4 (using
> .../openoffice.org-emailmerge_1%3a3.2.0-7ubuntu4.1_all.deb) ...
>
> debconf: DbDriver "config": /var/cache/debconf/config.dat is locked by
> another process: Resource temporarily unavailable
>
> dpkg: warning: old pre-removal script returned error exit status 1
>
> dpkg - trying script from the new package instead ...
>
> debconf: DbDriver "config": /var/cache/debconf/config.dat is locked by
> another process: Resource temporarily unavailable
>
> dpkg: error processing /var/cache/apt/archives/openoffice.org-
> emailmerge_1%3a3.2.0-7ubuntu4.1_all.deb (--unpack):
>
>   subprocess new pre-removal script returned error exit status 1
>
>
> It seems that another process was using the debconf database at the same time. Was there another process installing a package at the same as the upgrade?
>
> ** Changed in: mysql-dfsg-5.1 (Ubuntu)
>     Importance: Undecided =>  Low
>
> ** Changed in: mysql-dfsg-5.1 (Ubuntu)
>         Status: New =>  Incomplete
>
>

-- 
package mysql-server-5.1 5.1.41-3ubuntu12.1 failed to install/upgrade: ErrorMessage: subprocess new pre-removal script returned error exit status 1
https://bugs.launchpad.net/bugs/592899
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to mysql-dfsg-5.1 in ubuntu.



More information about the Ubuntu-server-bugs mailing list