[Bug 1578616] Re: package initramfs-tools 0.122ubuntu8 failed to install/upgrade: subprocess installed post-installation script returned error exit status 2

Benjamin Drung 1578616 at bugs.launchpad.net
Fri Oct 4 09:43:20 UTC 2024


Thank you for taking the time to report this bug and helping to make
Ubuntu better.

Ubuntu 16.04 (xenial) reached end-of-standard-support on April 29, 2021.

See this document for currently supported Ubuntu releases:
https://wiki.ubuntu.com/Releases

We appreciate that this bug may be old and you might not be interested
in discussing it anymore. But if you are then please upgrade to the
latest Ubuntu version and re-test. If you then find the bug is still
present in the newer Ubuntu version, please add a comment here telling
us which new version it is in.

** Changed in: initramfs-tools (Ubuntu)
       Status: Confirmed => Incomplete

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to initramfs-tools in 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

Status in initramfs-tools package in Ubuntu:
  Incomplete

Bug description:
  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)

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




More information about the foundations-bugs mailing list