** Description changed:

  error during do-release-upgrade (24.04 > 25.04)
  
+ $ sudo apt upgrade initramfs-tools
+ initramfs-tools is already the newest version (0.147ubuntu1).
+ initramfs-tools set to manually installed.
+ 
+ Setting up initramfs-tools (0.147ubuntu1) ...
+ update-initramfs: deferring update (trigger activated)
+ Processing triggers for initramfs-tools (0.147ubuntu1) ...
+ /usr/sbin/update-initramfs: invalid option -- 's'
+ 
+ Usage: update-initramfs {-c|-d|-u} [-k version] [-v] [-b directory]
+ 
+ Options:
+  -k version   Specify kernel version or 'all'
+  -c           Create a new initramfs
+  -u           Update an existing initramfs
+  -d           Remove an existing initramfs
+  -b directory Set alternate boot directory
+  -v           Be verbose
+ 
+ See update-initramfs(8) for further details.
+ 
+ dpkg: error processing package initramfs-tools (--configure):
+  installed initramfs-tools package post-installation script subprocess 
returned error exit status 2
+ Errors were encountered while processing:
+  initramfs-tools
+ Error: Sub-process /usr/bin/dpkg returned an error code (1)
+ 
+ $ apt-cache policy initramfs-tools
  initramfs-tools:
-   Installed: 0.147ubuntu1
-   Candidate: 0.147ubuntu1
-   Version table:
-  *** 0.147ubuntu1 500
-         500 http://np.archive.ubuntu.com/ubuntu plucky/main amd64 Packages
-         500 http://np.archive.ubuntu.com/ubuntu plucky/main i386 Packages
-         100 /var/lib/dpkg/status
+   Installed: 0.147ubuntu1
+   Candidate: 0.147ubuntu1
+   Version table:
+  *** 0.147ubuntu1 500
+         500 http://np.archive.ubuntu.com/ubuntu plucky/main amd64 Packages
+         500 http://np.archive.ubuntu.com/ubuntu plucky/main i386 Packages
+         100 /var/lib/dpkg/status
  
  ProblemType: Package
  DistroRelease: Ubuntu 25.04
  Package: initramfs-tools 0.147ubuntu1
  ProcVersionSignature: Ubuntu 6.14.0-36.36~24.04.1-generic 6.14.11
  Uname: Linux 6.14.0-36-generic x86_64
  ApportVersion: 2.32.0-0ubuntu5.3
  Architecture: amd64
  CasperMD5CheckResult: pass
  Date: Tue Dec  2 19:38:00 2025
  ErrorMessage: installed initramfs-tools package post-installation script 
subprocess returned error exit status 2
  InstallationDate: Installed on 2025-05-19 (197 days ago)
  InstallationMedia: Ubuntu 24.04.2 LTS "Noble Numbat" - Release amd64 
(20250215)
  PackageArchitecture: all
  Python3Details: /usr/bin/python3.13, Python 3.13.3, python3-minimal, 3.13.3-1
  PythonDetails: N/A
  RebootRequiredPkgs: Error: path contained symlinks.
  RelatedPackageVersions:
-  dpkg 1.22.18ubuntu2.2
-  apt  3.0.0
+  dpkg 1.22.18ubuntu2.2
+  apt  3.0.0
  SourcePackage: initramfs-tools
  Title: package initramfs-tools 0.147ubuntu1 failed to install/upgrade: 
installed initramfs-tools package post-installation script subprocess returned 
error exit status 2
  UpgradeStatus: Upgraded to plucky on 2025-12-02 (0 days ago)

** Description changed:

- error during do-release-upgrade (24.04 > 25.04)
+ error during+after do-release-upgrade (24.04 > 25.04)
  
  $ sudo apt upgrade initramfs-tools
  initramfs-tools is already the newest version (0.147ubuntu1).
  initramfs-tools set to manually installed.
  
  Setting up initramfs-tools (0.147ubuntu1) ...
  update-initramfs: deferring update (trigger activated)
  Processing triggers for initramfs-tools (0.147ubuntu1) ...
  /usr/sbin/update-initramfs: invalid option -- 's'
  
  Usage: update-initramfs {-c|-d|-u} [-k version] [-v] [-b directory]
  
  Options:
-  -k version   Specify kernel version or 'all'
-  -c           Create a new initramfs
-  -u           Update an existing initramfs
-  -d           Remove an existing initramfs
-  -b directory Set alternate boot directory
-  -v           Be verbose
+  -k version   Specify kernel version or 'all'
+  -c           Create a new initramfs
+  -u           Update an existing initramfs
+  -d           Remove an existing initramfs
+  -b directory Set alternate boot directory
+  -v           Be verbose
  
  See update-initramfs(8) for further details.
  
  dpkg: error processing package initramfs-tools (--configure):
-  installed initramfs-tools package post-installation script subprocess 
returned error exit status 2
+  installed initramfs-tools package post-installation script subprocess 
returned error exit status 2
  Errors were encountered while processing:
-  initramfs-tools
+  initramfs-tools
  Error: Sub-process /usr/bin/dpkg returned an error code (1)
  
  $ apt-cache policy initramfs-tools
  initramfs-tools:
    Installed: 0.147ubuntu1
    Candidate: 0.147ubuntu1
    Version table:
   *** 0.147ubuntu1 500
          500 http://np.archive.ubuntu.com/ubuntu plucky/main amd64 Packages
          500 http://np.archive.ubuntu.com/ubuntu plucky/main i386 Packages
          100 /var/lib/dpkg/status
  
  ProblemType: Package
  DistroRelease: Ubuntu 25.04
  Package: initramfs-tools 0.147ubuntu1
  ProcVersionSignature: Ubuntu 6.14.0-36.36~24.04.1-generic 6.14.11
  Uname: Linux 6.14.0-36-generic x86_64
  ApportVersion: 2.32.0-0ubuntu5.3
  Architecture: amd64
  CasperMD5CheckResult: pass
  Date: Tue Dec  2 19:38:00 2025
  ErrorMessage: installed initramfs-tools package post-installation script 
subprocess returned error exit status 2
  InstallationDate: Installed on 2025-05-19 (197 days ago)
  InstallationMedia: Ubuntu 24.04.2 LTS "Noble Numbat" - Release amd64 
(20250215)
  PackageArchitecture: all
  Python3Details: /usr/bin/python3.13, Python 3.13.3, python3-minimal, 3.13.3-1
  PythonDetails: N/A
  RebootRequiredPkgs: Error: path contained symlinks.
  RelatedPackageVersions:
   dpkg 1.22.18ubuntu2.2
   apt  3.0.0
  SourcePackage: initramfs-tools
  Title: package initramfs-tools 0.147ubuntu1 failed to install/upgrade: 
installed initramfs-tools package post-installation script subprocess returned 
error exit status 2
  UpgradeStatus: Upgraded to plucky on 2025-12-02 (0 days ago)

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

Title:
  package initramfs-tools 0.147ubuntu1 failed to install/upgrade:
  installed initramfs-tools package post-installation script subprocess
  returned error exit status 2

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


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

Reply via email to