最近、Ubuntu 12.04.1 LTS x86_64で更新を行いましたが、あるマシンで、[y / N]を尋ねる組み込み端末プロンプトが表示されたときに、誤って更新ダイアログを閉じました。これにより、まだインストールされていないパッケージでインストール後のトリガーが壊れました。Synapticを開いても問題は解決せず、dpkgについて言及しています...
$ sudo dpkg --configure -a
Setting up linux-image-3.2.0-36-generic-pae (3.2.0-36.57) ...
Running depmod.
update-initramfs: deferring update (hook will be called later)
Examining /etc/kernel/postinst.d.
run-parts: executing /etc/kernel/postinst.d/initramfs-tools 3.2.0-36-generic-pae /boot/vmlinuz-3.2.0-36-generic-pae
update-initramfs: Generating /boot/initrd.img-3.2.0-36-generic-pae
run-parts: executing /etc/kernel/postinst.d/pm-utils 3.2.0-36-generic-pae /boot/vmlinuz-3.2.0-36-generic-pae
run-parts: executing /etc/kernel/postinst.d/update-notifier 3.2.0-36-generic-pae /boot/vmlinuz-3.2.0-36-generic-pae
run-parts: executing /etc/kernel/postinst.d/zz-update-grub 3.2.0-36-generic-pae /boot/vmlinuz-3.2.0-36-generic-pae
debconf: DbDriver "config": /var/cache/debconf/config.dat is locked by another process: Resource temporarily unavailable
run-parts: /etc/kernel/postinst.d/zz-update-grub exited with return code 1
Failed to process /etc/kernel/postinst.d at /var/lib/dpkg/info/linux-image-3.2.0-36-generic-pae.postinst line 1010.
dpkg: error processing linux-image-3.2.0-36-generic-pae (--configure):
subprocess installed post-installation script returned error exit status 2
dpkg: dependency problems prevent configuration of linux-image-generic-pae:
linux-image-generic-pae depends on linux-image-3.2.0-36-generic-pae; however:
Package linux-image-3.2.0-36-generic-pae is not configured yet.
dpkg: error processing linux-image-generic-pae (--configure):
dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of linux-image:
linux-image depends on linux-image-generic-pae (= 3.2.0.36.43); however:
Package linux-image-generic-pae is not configured yet.
dpkg: error processing linux-image (--configure):
dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of linux-generic-pae:
linux-generic-pae depends on linux-image-generic-pae (= 3.2.0.36.43); however:
Package linux-image-generic-pae is not configured yet.
dpkg: error processing linux-generic-pae (--configure):
dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of linux:
linux depends on linux-image (= 3.2.0.36.43); however:
Package linux-image is not configured yet.
dpkg: error processing linux (--configure):
dependency problems - leaving unconfigured
Errors were encountered while processing:
linux-image-3.2.0-36-generic-pae
linux-image-generic-pae
linux-image
linux-generic-pae
linux
$
アップデートをロールバックして再適用するにはどうすればよいですか、または壊れたアップデートを強制的に再インストールするにはどうすればよいですか?