Public bug reported:

sudo apt-get update
Ign:1 http://dl.google.com/linux/chrome/deb stable InRelease                   
Hit:2 http://dl.google.com/linux/chrome/deb stable Release                     
Get:3 http://security.ubuntu.com/ubuntu xenial-security InRelease [92.2 kB]    
Hit:4 http://in.archive.ubuntu.com/ubuntu xenial InRelease                     
Hit:6 http://archive.canonical.com/ubuntu xenial InRelease                     
Get:7 http://in.archive.ubuntu.com/ubuntu xenial-updates InRelease [93.3 kB]   
Fetched 185 kB in 2s (78.3 kB/s)                                               
Reading package lists... Done
W: http://dl.google.com/linux/chrome/deb/dists/stable/Release.gpg: Signature by 
key 4CCA1EAF950CEE4AB83976DCA040830F7FAC5991 uses weak digest algorithm (SHA1)
W: http://dl.google.com/linux/chrome/deb/dists/stable/Release.gpg: Signature by 
key 3B068FB4789ABE4AEFA3BB491397BC53640DB551 uses weak digest algorithm (SHA1)


sudo apt-get install initramfs-tools
Reading package lists... Done
Building dependency tree       
Reading state information... Done
The following NEW packages will be installed:
  initramfs-tools
0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
Need to get 8,592 B of archives.
After this operation, 126 kB of additional disk space will be used.
Get:1 http://in.archive.ubuntu.com/ubuntu xenial/main amd64 initramfs-tools all 
0.122ubuntu8 [8,592 B]
Fetched 8,592 B in 1s (7,879 B/s)         
Selecting previously unselected package initramfs-tools.
(Reading database ... 430494 files and directories currently installed.)
Preparing to unpack .../initramfs-tools_0.122ubuntu8_all.deb ...
Unpacking initramfs-tools (0.122ubuntu8) ...
Processing triggers for man-db (2.7.5-1) ...
Setting up initramfs-tools (0.122ubuntu8) ...
update-initramfs: deferring update (trigger activated)
Processing triggers for initramfs-tools (0.122ubuntu8) ...
ls: cannot access '/var/lib/initramfs-tools': No such file or directory
update-initramfs: Generating /boot/initrd.img-4.4.0-21-generic
/usr/sbin/update-initramfs: 206: /usr/sbin/update-initramfs: cannot create 
/var/lib/initramfs-tools/4.4.0-21-generic: Directory nonexistent
dpkg: error processing package initramfs-tools (--configure):
 subprocess installed post-installation script returned error exit status 2
Errors were encountered while processing:
 initramfs-tools
E: Sub-process /usr/bin/dpkg returned an error code (1)

ProblemType: Package
DistroRelease: Ubuntu 16.04
Package: initramfs-tools 0.122ubuntu8
ProcVersionSignature: Ubuntu 3.19.0-26.28-generic 3.19.8-ckt4
Uname: Linux 3.19.0-26-generic x86_64
ApportVersion: 2.20.1-0ubuntu2
AptOrdering:
 initramfs-tools: Install
 initramfs-tools: Configure
 NULL: ConfigurePending
Architecture: amd64
Date: Thu May  5 17:47:32 2016
ErrorMessage: subprocess installed post-installation script returned error exit 
status 2
InstallationDate: Installed on 2015-07-10 (299 days ago)
InstallationMedia: Ubuntu 15.04 "Vivid Vervet" - Release amd64 (20150422)
PackageArchitecture: all
RelatedPackageVersions:
 dpkg 1.18.4ubuntu1
 apt  1.2.10ubuntu1
SourcePackage: initramfs-tools
Title: package initramfs-tools 0.122ubuntu8 failed to install/upgrade: 
subprocess installed post-installation script returned error exit status 2
UpgradeStatus: Upgraded to xenial on 2016-05-04 (1 days ago)

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


** Tags: amd64 apport-package xenial

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

Title:
  package initramfs-tools 0.122ubuntu8 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/1578616/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to