dpkg: error processing /var/cache/apt/archives/linux-image-2.6.32-33-server_2.6.32-33.71_amd64.deb

Peng Yu pengyu.ut at gmail.com
Wed Aug 10 22:24:33 UTC 2011


On Tue, Aug 9, 2011 at 6:02 PM, James Freer <jessejazza3 at aol.co.uk> wrote:
> -----Original Message-----
> From: Peng Yu <pengyu.ut at gmail.com>
> To: Ubuntu user technical support, not for general discussions
> <ubuntu-users at lists.ubuntu.com>
> Sent: Tue, 9 Aug 2011 23:52
> Subject: dpkg: error processing
> /var/cache/apt/archives/linux-image-2.6.32-33-server_2.6.32-33.71_amd64.d
> eb
>
>
> Hi,
>
> I get the following error. Does anybody know how to fix it?
>
> ~$ sudo apt-get -f install
> Reading package lists... Done
> Building dependency tree
> Reading state information... Done
> Correcting dependencies... Done
> The following packages were automatically installed and are no longer
> required:
>  linux-headers-2.6.32-32-server linux-headers-2.6.32-32
> Use 'apt-get autoremove' to remove them.
> The following extra packages will be installed:
>  linux-image-2.6.32-33-server
> Suggested packages:
>  fdutils linux-doc-2.6.32 linux-source-2.6.32 linux-tools
> The following NEW packages will be installed:
>  linux-image-2.6.32-33-server
> 0 upgraded, 1 newly installed, 0 to remove and 28 not upgraded.
> 6 not fully installed or removed.
> Need to get 0B/31.8MB of archives.
> After this operation, 128MB 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 ... 162535 files and directories currently installed.)
> Unpacking linux-image-2.6.32-33-server (from
> .../linux-image-2.6.32-33-server_2.6.32-33.71_amd64.deb) ...
> debconf: DbDriver "config": /var/cache/debconf/config.dat is locked by
> another process: Resource temporarily unavailable
> dpkg: error processing
> /var/cache/apt/archives/linux-image-2.6.32-33-server_2.6.32-33.71_amd64.d
> eb
> (--unpack):
> subprocess new pre-installation script returned error exit status 1
> Running postrm hook script /usr/sbin/update-grub.
> Generating grub.cfg ...
> Found linux image: /boot/vmlinuz-2.6.32-32-server
> Found initrd image: /boot/initrd.img-2.6.32-32-server
> Found linux image: /boot/vmlinuz-2.6.32-28-server
> Found initrd image: /boot/initrd.img-2.6.32-28-server
> Found memtest86+ image: /boot/memtest86+.bin
> done
> Errors were encountered while processing:
>  /var/cache/apt/archives/linux-image-2.6.32-33-server_2.6.32-33.71_amd64.d
> eb
> E: Sub-process /usr/bin/dpkg returned an error code (1)
>
> --
> Regards,
> Peng
>
> Try using the verbose option as well or using aptitude - as they'll provide
> more info.

See below

~$ sudo aptitude -f install
Reading package lists... Done
Building dependency tree
Reading state information... Done
Reading extended state information
Initializing package states... Done
Writing extended state information... Done
The following packages are BROKEN:
  linux-image-server
The following NEW packages will be installed:
  linux-headers-2.6.32-28 linux-headers-2.6.32-28-server
The following packages will be REMOVED:
  linux-headers-2.6.32-32{u} linux-headers-2.6.32-32-server{u}
The following partially installed packages will be configured:
  grub-pc linux-headers-server linux-server
0 packages upgraded, 2 newly installed, 2 to remove and 28 not upgraded.
Need to get 10.7MB of archives. After unpacking 69.6kB will be freed.
The following packages have unmet dependencies:
  linux-image-server: Depends: linux-image-2.6.32-33-server but it is
not installable
The following actions will resolve these dependencies:

Install the following packages:
linux-image-2.6.32-33-server [2.6.32-33.72 (lucid-updates)]

Score is 41

Accept this solution? [Y/n/q/?] Y
The following NEW packages will be installed:
  linux-headers-2.6.32-28 linux-headers-2.6.32-28-server
linux-image-2.6.32-33-server{a}
The following packages will be REMOVED:
  linux-headers-2.6.32-32{u} linux-headers-2.6.32-32-server{u}
The following partially installed packages will be configured:
  grub-pc linux-headers-server linux-image-server linux-server
0 packages upgraded, 3 newly installed, 2 to remove and 28 not upgraded.
Need to get 10.7MB/42.5MB of archives. After unpacking 128MB will be used.
Do you want to continue? [Y/n/?] Y
Writing extended state information... Done
Get:1 http://us.archive.ubuntu.com/ubuntu/ lucid-updates/main
linux-headers-2.6.32-28 2.6.32-28.55 [9,907kB]
Get:2 http://us.archive.ubuntu.com/ubuntu/ lucid-updates/main
linux-headers-2.6.32-28-server 2.6.32-28.55 [794kB]
Fetched 10.7MB in 18s (575kB/s)
debconf: DbDriver "config": /var/cache/debconf/config.dat is locked by
another process: Resource temporarily unavailable
(Reading database ... 162535 files and directories currently installed.)
Unpacking linux-image-2.6.32-33-server (from
.../linux-image-2.6.32-33-server_2.6.32-33.72_amd64.deb) ...
debconf: DbDriver "config": /var/cache/debconf/config.dat is locked by
another process: Resource temporarily unavailable
dpkg: error processing
/var/cache/apt/archives/linux-image-2.6.32-33-server_2.6.32-33.72_amd64.deb
(--unpack):
 subprocess new pre-installation script returned error exit status 1
Running postrm hook script /usr/sbin/update-grub.
Generating grub.cfg ...




-- 
Regards,
Peng




More information about the ubuntu-users mailing list