Public bug reported:

$ lsb_release -rd
Description:    Ubuntu 11.04
Release:        11.04

$ apt-get install linux-image-server
E: Could not open lock file /var/lib/dpkg/lock - open (13: Permission denied)
E: Unable to lock the administration directory (/var/lib/dpkg/), are you root?
user@user-HP-Compaq-8200-Elite-CMT-PC:/$ sudo apt-get install 
linux-image-server 
Reading package lists... Done
Building dependency tree       
Reading state information... Done
The following extra packages will be installed:
  linux-image-2.6.38-13-server
Suggested packages:
  fdutils linux-doc-2.6.38 linux-source-2.6.38 linux-tools
The following NEW packages will be installed:
  linux-image-2.6.38-13-server linux-image-server
0 upgraded, 2 newly installed, 0 to remove and 1 not upgraded.
Need to get 36.4 MB of archives.
After this operation, 148 MB of additional disk space will be used.
Do you want to continue [Y/n]? Y
Get:1 http://us.archive.ubuntu.com/ubuntu/ natty-updates/main 
linux-image-2.6.38-13-server amd64 2.6.38-13.54 [36.3 MB]
Get:2 http://us.archive.ubuntu.com/ubuntu/ natty-updates/main 
linux-image-server amd64 2.6.38.13.28 [2,530 B]
Fetched 36.4 MB in 8min 12s (73.8 kB/s)                                        
Selecting previously deselected package linux-image-2.6.38-13-server.
(Reading database ... 180487 files and directories currently installed.)
Unpacking linux-image-2.6.38-13-server (from 
.../linux-image-2.6.38-13-server_2.6.38-13.54_amd64.deb) ...
Done.
Selecting previously deselected package linux-image-server.
Unpacking linux-image-server (from 
.../linux-image-server_2.6.38.13.28_amd64.deb) ...
Setting up linux-image-2.6.38-13-server (2.6.38-13.54) ...
Running depmod.
update-initramfs: Generating /boot/initrd.img-2.6.38-13-server
E: /usr/share/initramfs-tools/hooks/fixrtc failed with return 1.
update-initramfs: failed for /boot/initrd.img-2.6.38-13-server
Failed to create initrd image.
dpkg: error processing linux-image-2.6.38-13-server (--configure):
 subprocess installed post-installation script returned error exit status 2
dpkg: dependency problems prevent configuration of linux-image-server:
 linux-image-server depends on linux-image-2.6.38-13-server; however:
  Package linux-image-2.6.38-13-server is not configured yet.
dpkg: error processing linux-image-server (--configure):
 dependency problems - leaving unconfigured
No apport report written because the error message indicates its a followup 
error from a previous failure.
                          Errors were encountered while processing:
 linux-image-2.6.38-13-server
 linux-image-server
E: Sub-process /usr/bin/dpkg returned an error code (1)

ProblemType: Package
DistroRelease: Ubuntu 11.04
Package: linux-image-2.6.38-13-server 2.6.38-13.54
ProcVersionSignature: Ubuntu 2.6.38-13.54-generic 2.6.38.8
Uname: Linux 2.6.38-13-generic x86_64
AptOrdering:
 linux-image-2.6.38-13-server: Install
 linux-image-server: Install
 linux-image-2.6.38-13-server: Configure
 linux-image-server: Configure
Architecture: amd64
Date: Wed Feb  1 15:44:28 2012
ErrorMessage: subprocess installed post-installation script returned error exit 
status 2
InstallationMedia: Ubuntu 10.10 "Maverick Meerkat" - Release amd64 (20101007)
SourcePackage: initramfs-tools
Title: package linux-image-2.6.38-13-server 2.6.38-13.54 failed to 
install/upgrade: subprocess installed post-installation script returned error 
exit status 2
UpgradeStatus: Upgraded to natty on 2012-02-01 (0 days ago)

** Affects: initramfs-tools (Ubuntu)
     Importance: Undecided
         Status: New


** Tags: amd64 apport-package natty

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/925214

Title:
  package linux-image-2.6.38-13-server 2.6.38-13.54 failed to
  install/upgrade: subprocess installed post-installation script
  returned error exit status 2

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/initramfs-tools/+bug/925214/+subscriptions

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to