*** This bug is a duplicate of bug 2167996 ***
    https://bugs.launchpad.net/bugs/2167996

Public bug reported:

I run an upgrade from the latest u24.04.5 to u26.04.1 on a Raspi 4B with
4GB RAM, OS on sdcard

and hit this failure and pressed 'S'

Processing triggers for libvlc-bin:arm64 (3.0.23-1) ...                         
                                                                                
                                 
  Processing triggers for flash-kernel (3.110ubuntu2.3) ...                     
                                                                                
                                   
  flash-kernel: requested kernel 7.0.0-1020-raspi is in state triggers-pending. 
                                                                                
                                   
  flash-kernel: quitting cleanly, anticipating a future run                     
                                                                                
                                   
  Processing triggers for linux-image-7.0.0-1020-raspi (7.0.0-1020.20) ...      
                                                                                
                                   
  /etc/kernel/postinst.d/initramfs-tools:                                       
                                                                                
                                   
  update-initramfs: Generating /boot/initrd.img-7.0.0-1020-raspi                
                                                                                
                                   
  flash-kernel: deferring update (trigger activated)                            
                                                                                
                                   
  /etc/kernel/postinst.d/zz-flash-kernel:                                       
                                                                                
                                   
  flash-kernel: deferring update (trigger activated)                            
                                                                                
                                   
  Processing triggers for libgdk-pixbuf-2.0-0:arm64 (2.44.5+dfsg-4ubuntu1) ...  
                                                                                
                                   
  Processing triggers for sgml-base (1.31+nmu1build1) ...                       
                                                                                
                                   
  Processing triggers for initramfs-tools (0.151ubuntu1) ...                    
                                                                                
                                   
  update-initramfs: Generating /boot/initrd.img-7.0.0-1020-raspi                
                                                                                
                                   
  Unsupported platform 'Raspberry Pi 4 Model B Rev 1.1'.                        
                                                                                
                                   
  run-parts: /etc/initramfs/post-update.d//flash-kernel exited with return code 
1                                                                               
                                   
  dpkg: error processing package initramfs-tools (--configure):                 
                                                                                
                                   
   old initramfs-tools package postinst maintainer script subprocess failed 
with exit status 1                                                              
                                       
  Errors were encountered while processing:                                     
                                                                                
                                   
   initramfs-tools                                                              
                                                                                
                                   
  ERROR: Cannot create report: [Errno 17] File exists: 
'/var/crash/initramfs-tools.0.crash'                                            
                                                            
  needrestart is being skipped since dpkg has failed                            
                                                                                
                                   
  packages have been installed but needrestart is suspended                     
                                                                                
                                   
  Exception during pm.DoInstall():  E:Sub-process /usr/bin/dpkg returned an 
error code (1)                                                                  
                                       
                                                                                
                                                                                
                                   
  *** Send problem report to the developers?                                    
                                                                                
                                   
                                                                                
                                                                                
                                   
  After the problem report has been sent, please fill out the form in the       
                                                                                
                                   
  automatically opened web browser.                                             
                                                                                
                                   
                                                                                
                                                                                
                                   
  What would you like to do? Your options are:                                  
                                                                                
                                   
    S: Send report (771.7 KB)                                                   
                                                                                
                                   
    V: View report                                                              
                                                                                
                                   
    K: Keep report file for sending later or copying to somewhere else          
                                                                                
                                   
    I: Cancel and ignore future crashes of this program version                 
                                                                                
                                   
    C: Cancel                                                                   
                                                                                
                                   
  Please choose (S/V/K/I/C):      
--
BTW the same happend on a Raspi 5 8GB (same OS start level, same OS target 
level)

ProblemType: Package
DistroRelease: Ubuntu 26.04
Package: initramfs-tools 0.151ubuntu1
ProcVersionSignature: Ubuntu 6.8.0-1065.69-raspi 6.8.12
Uname: Linux 6.8.0-1065-raspi aarch64
ApportVersion: 2.34.1-0ubuntu0.1
Architecture: arm64
CasperMD5CheckResult: unknown
CloudArchitecture: aarch64
CloudBuildName: server
CloudID: nocloud
CloudName: unknown
CloudPlatform: nocloud
CloudSerial:
 
CloudSubPlatform: config-disk (/dev/mmcblk0p1)
Date: Sat Oct 17 19:55:10 2026
ErrorMessage: old initramfs-tools package postinst maintainer script subprocess 
failed with exit status 1
ImageMediaBuild: 20210201.1
PackageArchitecture: all
Python3Details: /usr/bin/python3.14, Python 3.14.4, python3-minimal, 
3.14.3-0ubuntu2
PythonDetails: N/A
RebootRequiredPkgs: Error: path contained symlinks.
RelatedPackageVersions:
 dpkg 1.23.7ubuntu1
 apt  3.2.0
SourcePackage: initramfs-tools
Title: package initramfs-tools 0.151ubuntu1 failed to install/upgrade: old 
initramfs-tools package postinst maintainer script subprocess failed with exit 
status 1
UpgradeStatus: Upgraded to resolute on 2026-10-17 (0 days ago)

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


** Tags: apport-package arm64 arm64-image cloud-image raspi-image resolute

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

Title:
  package initramfs-tools 0.151ubuntu1 failed to install/upgrade: old
  initramfs-tools package postinst maintainer script subprocess failed
  with exit status 1

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


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

Reply via email to