package libapache2-mod-php5 5.3.5-1ubuntu7.2 failed to install/upgrade: subprocess installed post-installation script returned error exit status 1

Bug #783706 reported by Ron
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
php5 (Ubuntu)
Invalid
Undecided
Unassigned

Bug Description

Binary package hint: php5

?

ProblemType: Package
DistroRelease: Ubuntu 11.04
Package: libapache2-mod-php5 5.3.5-1ubuntu7.2
ProcVersionSignature: Ubuntu 2.6.38-8.42-generic-pae 2.6.38.2
Uname: Linux 2.6.38-8-generic-pae i686
NonfreeKernelModules: nvidia
Architecture: i386
Date: Mon May 16 13:52:38 2011
ErrorMessage: subprocess installed post-installation script returned error exit status 1
InstallationMedia: Ubuntu 10.10 "Maverick Meerkat" - Release i386 (20101007)
SourcePackage: php5
Title: package libapache2-mod-php5 5.3.5-1ubuntu7.2 failed to install/upgrade: subprocess installed post-installation script returned error exit status 1
UpgradeStatus: Upgraded to natty on 2011-04-29 (17 days ago)

Revision history for this message
Ron (swamp-rh) wrote :
Revision history for this message
Clint Byrum (clint-fewbar) wrote :

Hi Ron, this is a temporary issue that occasionallly comes up if some other configuration script is accessing the debconf database:

debconf: DbDriver "config": /var/cache/debconf/config.dat is locked by another process: Resource temporarily unavailable

Please try your updates/upgrades again and they should work just fine.

Closing as Invalid.

Changed in php5 (Ubuntu):
status: New → Invalid
Revision history for this message
Ron (swamp-rh) wrote : Re: [Bug 783706] Re: package libapache2-mod-php5 5.3.5-1ubuntu7.2 failed to install/upgrade: subprocess installed post-installation script returned error exit status 1

Did as suggested with the following result:

The following packages will be upgraded:
   postfix
1 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
29 not fully installed or removed.
Need to get 0 B/1,165 kB of archives.
After this operation, 0 B of additional disk space will be used.
Do you want to continue [Y/n]? Y
debconf: DbDriver "config": /var/cache/debconf/config.dat is locked by
another process: Resource temporarily unavailable
(Reading database ... 181555 files and directories currently installed.)
Preparing to replace postfix 2.8.2-1ubuntu1 (using
.../postfix_2.8.2-1ubuntu2.1_i386.deb) ...
debconf: DbDriver "config": /var/cache/debconf/config.dat is locked by
another process: Resource temporarily unavailable
dpkg: error processing
/var/cache/apt/archives/postfix_2.8.2-1ubuntu2.1_i386.deb (--unpack):
  subprocess new pre-installation script returned error exit status 1
Errors were encountered while processing:
  /var/cache/apt/archives/postfix_2.8.2-1ubuntu2.1_i386.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)

Can't seem to get past this error. It's been a couple of weeks.. Almost
makes one think of what MS windows 7 is like. ( almost but never)

The only way to make sure people you agree with can speak is to support the rights of people you don't agree with.

-Eleanor Holmes Norton, US Congressional Delegate

On 11-05-16 05:18 PM, Clint Byrum wrote:
> Hi Ron, this is a temporary issue that occasionallly comes up if some
> other configuration script is accessing the debconf database:
>
> debconf: DbDriver "config": /var/cache/debconf/config.dat is locked by
> another process: Resource temporarily unavailable
>
> Please try your updates/upgrades again and they should work just fine.
>
> Closing as Invalid.
>
> ** Changed in: php5 (Ubuntu)
> Status: New => Invalid
>

Revision history for this message
Clint Byrum (clint-fewbar) wrote : Re: [Bug 783706] Re: package libapache2-mod-php5 5.3.5-1ubuntu7.2 failed to install/upgrade: subprocess installed post-installation script returned error exit status 1

Excerpts from Ron's message of Tue May 17 00:18:20 UTC 2011:
> Did as suggested with the following result:
>
>
> The following packages will be upgraded:
> postfix
> 1 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
> 29 not fully installed or removed.
> Need to get 0 B/1,165 kB of archives.
> After this operation, 0 B of additional disk space will be used.
> Do you want to continue [Y/n]? Y
> debconf: DbDriver "config": /var/cache/debconf/config.dat is locked by
> another process: Resource temporarily unavailable
> (Reading database ... 181555 files and directories currently installed.)
> Preparing to replace postfix 2.8.2-1ubuntu1 (using
> .../postfix_2.8.2-1ubuntu2.1_i386.deb) ...
> debconf: DbDriver "config": /var/cache/debconf/config.dat is locked by
> another process: Resource temporarily unavailable
> dpkg: error processing
> /var/cache/apt/archives/postfix_2.8.2-1ubuntu2.1_i386.deb (--unpack):
> subprocess new pre-installation script returned error exit status 1
> Errors were encountered while processing:
> /var/cache/apt/archives/postfix_2.8.2-1ubuntu2.1_i386.deb
> E: Sub-process /usr/bin/dpkg returned an error code (1)
>
>
> Can't seem to get past this error. It's been a couple of weeks.. Almost
> makes one think of what MS windows 7 is like. ( almost but never)

Ron, I understand the frustration. Its entirely possible there is
another process holding this file open that shouldn't be, which would
be a bug. Can you open a Terminal and add the output of this command to
the bug report:

sudo fuser -vu /var/cache/debconf/config.dat

It should show the process which has config.dat locked. If you determine
that its ok to kill that process, you can run:

sudo kill #####

Where ##### is the process ID shown in the output of fuser.

Revision history for this message
Ron (swamp-rh) wrote : Re: [Bug 783706] Re: package libapache2-mod-php5 5.3.5-1ubuntu7.2 failed to install/upgrade: subprocess installed post-installation script returned error exit status 1

I ran command as suggested, with a process as :

                      USER PID ACCESS COMMAND
/var/cache/debconf/config.dat:
                      root 13393 F.... (root)frontend
I killed process and update/ upgrade finished without error.

Thanks, we can call this a fix.

The only way to make sure people you agree with can speak is to support the rights of people you don't agree with.

-Eleanor Holmes Norton, US Congressional Delegate

On 11-05-18 10:04 AM, Clint Byrum wrote:
> Excerpts from Ron's message of Tue May 17 00:18:20 UTC 2011:
>> Did as suggested with the following result:
>>
>>
>> The following packages will be upgraded:
>> postfix
>> 1 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
>> 29 not fully installed or removed.
>> Need to get 0 B/1,165 kB of archives.
>> After this operation, 0 B of additional disk space will be used.
>> Do you want to continue [Y/n]? Y
>> debconf: DbDriver "config": /var/cache/debconf/config.dat is locked by
>> another process: Resource temporarily unavailable
>> (Reading database ... 181555 files and directories currently installed.)
>> Preparing to replace postfix 2.8.2-1ubuntu1 (using
>> .../postfix_2.8.2-1ubuntu2.1_i386.deb) ...
>> debconf: DbDriver "config": /var/cache/debconf/config.dat is locked by
>> another process: Resource temporarily unavailable
>> dpkg: error processing
>> /var/cache/apt/archives/postfix_2.8.2-1ubuntu2.1_i386.deb (--unpack):
>> subprocess new pre-installation script returned error exit status 1
>> Errors were encountered while processing:
>> /var/cache/apt/archives/postfix_2.8.2-1ubuntu2.1_i386.deb
>> E: Sub-process /usr/bin/dpkg returned an error code (1)
>>
>>
>> Can't seem to get past this error. It's been a couple of weeks.. Almost
>> makes one think of what MS windows 7 is like. ( almost but never)
> Ron, I understand the frustration. Its entirely possible there is
> another process holding this file open that shouldn't be, which would
> be a bug. Can you open a Terminal and add the output of this command to
> the bug report:
>
> sudo fuser -vu /var/cache/debconf/config.dat
>
> It should show the process which has config.dat locked. If you determine
> that its ok to kill that process, you can run:
>
> sudo kill #####
>
> Where ##### is the process ID shown in the output of fuser.
>

Revision history for this message
Clint Byrum (clint-fewbar) wrote : Re: [Bug 783706] Re: package libapache2-mod-php5 5.3.5-1ubuntu7.2 failed to install/upgrade: subprocess installed post-installation script returned error exit status 1

Excerpts from Ron's message of Wed May 18 19:40:25 UTC 2011:
> I ran command as suggested, with a process as :
>
> USER PID ACCESS COMMAND
> /var/cache/debconf/config.dat:
> root 13393 F.... (root)frontend
> I killed process and update/ upgrade finished without error.
>
> Thanks, we can call this a fix.

Thanks for the patience to work through it Ron. I think there's still a bug, but
it seems unlikely we'll be able to figure it out. Its also just possible a window
asking for configuration details was minimized or somehow otherwise hidden.

Revision history for this message
Ron (swamp-rh) wrote : Re: [Bug 783706] Re: package libapache2-mod-php5 5.3.5-1ubuntu7.2 failed to install/upgrade: subprocess installed post-installation script returned error exit status 1

update failed with the following info.

Ign http://ppa.launchpad.net natty/main Translation-en_CA
Ign http://ppa.launchpad.net natty/main Translation-en
Fetched 2,779 B in 8s (326 B/s)
E: Could not get lock /var/lib/dpkg/lock - open (11: Resource
temporarily unavailable)
E: Unable to lock the administration directory (/var/lib/dpkg/), is
another process using it?

Used sudo fuser -vu /var/lib/dpkg with no info returned

The only way to make sure people you agree with can speak is to support the rights of people you don't agree with.

-Eleanor Holmes Norton, US Congressional Delegate

On 11-05-18 04:06 PM, Clint Byrum wrote:
> Excerpts from Ron's message of Wed May 18 19:40:25 UTC 2011:
>> I ran command as suggested, with a process as :
>>
>> USER PID ACCESS COMMAND
>> /var/cache/debconf/config.dat:
>> root 13393 F.... (root)frontend
>> I killed process and update/ upgrade finished without error.
>>
>> Thanks, we can call this a fix.
> Thanks for the patience to work through it Ron. I think there's still a bug, but
> it seems unlikely we'll be able to figure it out. Its also just possible a window
> asking for configuration details was minimized or somehow otherwise hidden.
>

Revision history for this message
Clint Byrum (clint-fewbar) wrote : Re: [Bug 783706] Re: package libapache2-mod-php5 5.3.5-1ubuntu7.2 failed to install/upgrade: subprocess installed post-installation script returned error exit status 1

Excerpts from Ron's message of Fri May 20 05:36:56 UTC 2011:
> update failed with the following info.
>
> Ign http://ppa.launchpad.net natty/main Translation-en_CA
> Ign http://ppa.launchpad.net natty/main Translation-en
> Fetched 2,779 B in 8s (326 B/s)
> E: Could not get lock /var/lib/dpkg/lock - open (11: Resource
> temporarily unavailable)
> E: Unable to lock the administration directory (/var/lib/dpkg/), is
> another process using it?
>
> Used sudo fuser -vu /var/lib/dpkg with no info returned

Ron, the file would have been /var/lib/dpkg/lock

I'm guessing something is going wrong on your system if this
has crept up in another, slightly different way. Either way,
this is a different error, and, therefore, a different bug
so please open a new report if you feel that it is something
wrong with the software.

I notice that you have some PPA's enabled, I wonder if maybe you have
some packages that have damaged your system in some way.

Revision history for this message
Ron (swamp-rh) wrote : Re: [Bug 783706] Re: package libapache2-mod-php5 5.3.5-1ubuntu7.2 failed to install/upgrade: subprocess installed post-installation script returned error exit status 1

I was thinking the same thing. I'm looking for an iso file to
re-install everything.

The only way to make sure people you agree with can speak is to support the rights of people you don't agree with.

-Eleanor Holmes Norton, US Congressional Delegate

On 11-05-20 10:44 AM, Clint Byrum wrote:
> Excerpts from Ron's message of Fri May 20 05:36:56 UTC 2011:
>> update failed with the following info.
>>
>> Ign http://ppa.launchpad.net natty/main Translation-en_CA
>> Ign http://ppa.launchpad.net natty/main Translation-en
>> Fetched 2,779 B in 8s (326 B/s)
>> E: Could not get lock /var/lib/dpkg/lock - open (11: Resource
>> temporarily unavailable)
>> E: Unable to lock the administration directory (/var/lib/dpkg/), is
>> another process using it?
>>
>> Used sudo fuser -vu /var/lib/dpkg with no info returned
> Ron, the file would have been /var/lib/dpkg/lock
>
> I'm guessing something is going wrong on your system if this
> has crept up in another, slightly different way. Either way,
> this is a different error, and, therefore, a different bug
> so please open a new report if you feel that it is something
> wrong with the software.
>
> I notice that you have some PPA's enabled, I wonder if maybe you have
> some packages that have damaged your system in some way.
>

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.