error while updating initramfs-tools

Questions about applications and software
Forum rules
Before you post please read how to get help
Post Reply
Jadesword
Level 1
Level 1
Posts: 36
Joined: Sat Oct 01, 2016 5:55 pm

error while updating initramfs-tools

Post by Jadesword »

I am new to Mint. My searches for a solution show that initramfs-tools is very important, but did not yield an understandable solution to the update and reinstall problems.

I am using synaptic on Mint Cinnamon 17.3. During the most recent update, a pop-up window displayed an error message: "E: initramfs-tools: subprocess installed post-installation script returned error exit status 1"

The following are the installation error messages:
Errors were encountered while processing:
initramfs-tools
E: Sub-process /usr/bin/dpkg returned an error code (1)
A package failed to install. Trying to recover:
Setting up initramfs-tools (0.103ubuntu4.4) ...
update-initramfs: deferring update (trigger activated)
Processing triggers for initramfs-tools (0.103ubuntu4.4) ...
update-initramfs: Generating /boot/initrd.img-3.19.0-32-generic
Warning: No support for locale: en_US.utf8
E: No boot partition found !
run-parts: /etc/initramfs/post-update.d//zz-flash-touch-initrd exited with return code 1
dpkg: error processing package initramfs-tools (--configure):
subprocess installed post-installation script returned error exit status 1
Processing triggers for initramfs-tools-ubuntu-touch (0.72) ...
Errors were encountered while processing:
initramfs-tools


I tried to reinstall and got the pop-up error message: "E: Internal Error, No file name for initramfs-tools:amd64"

I considered uninstall, but too many important packages would also be uninstalled.

What must I do to eliminate the error messages?
Last edited by karlchen on Sun Feb 10, 2019 7:43 am, edited 2 times in total.
Reason: No solution to be found anywhere and in particular no confirmed solution, hence removed the [solved] from the title
User avatar
kukamuumuka
Level 16
Level 16
Posts: 6730
Joined: Tue Sep 03, 2013 4:51 am
Location: Finland
Contact:

Re: error while updating initramfs-tools

Post by kukamuumuka »

Via Terminal

Code: Select all

sudo apt-get autoremove
sudo apt-get --purge remove && sudo apt-get autoclean
sudo apt-get -f install
sudo apt-get update
sudo dpkg --configure -a
Jadesword
Level 1
Level 1
Posts: 36
Joined: Sat Oct 01, 2016 5:55 pm

Re: error while updating initramfs-tools

Post by Jadesword »

Kiitän teitä apua.

I seem to be getting similar error messages. I hope going through the entire sequence of commands after seeing the error messages did not make things worse.

Code: Select all

j@j ~ $ sudo apt-get autoremove
Reading package lists... Done
Building dependency tree       
Reading state information... Done
The following packages will be REMOVED:
  libtomcrypt0 libtommath0 timelimit
0 upgraded, 0 newly installed, 3 to remove and 0 not upgraded.
1 not fully installed or removed.
After this operation, 971 kB disk space will be freed.
Do you want to continue? [Y/n] Y
(Reading database ... 315523 files and directories currently installed.)
Removing libtomcrypt0:amd64 (1.17-5) ...
Removing libtommath0 (0.42.0-1build1) ...
Removing timelimit (1.8-1) ...
Processing triggers for libc-bin (2.19-0ubuntu6.9) ...
Processing triggers for man-db (2.6.7.1-1ubuntu1) ...
Setting up initramfs-tools (0.103ubuntu4.4) ...
update-initramfs: deferring update (trigger activated)
Processing triggers for initramfs-tools (0.103ubuntu4.4) ...
update-initramfs: Generating /boot/initrd.img-3.19.0-32-generic
Warning: No support for locale: en_US.utf8
E: No boot partition found !
run-parts: /etc/initramfs/post-update.d//zz-flash-touch-initrd exited with return code 1
dpkg: error processing package initramfs-tools (--configure):
 subprocess installed post-installation script returned error exit status 1
Processing triggers for initramfs-tools-ubuntu-touch (0.72) ...
Errors were encountered while processing:
 initramfs-tools
E: Sub-process /usr/bin/dpkg returned an error code (1)

Code: Select all

j@j ~ $ sudo apt-get --purge remove && sudo apt-get autoclean
Reading package lists... Done
Building dependency tree       
Reading state information... Done
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
1 not fully installed or removed.
After this operation, 0 B of additional disk space will be used.
Setting up initramfs-tools (0.103ubuntu4.4) ...
update-initramfs: deferring update (trigger activated)
Processing triggers for initramfs-tools (0.103ubuntu4.4) ...
update-initramfs: Generating /boot/initrd.img-3.19.0-32-generic
Warning: No support for locale: en_US.utf8
E: No boot partition found !
run-parts: /etc/initramfs/post-update.d//zz-flash-touch-initrd exited with return code 1
dpkg: error processing package initramfs-tools (--configure):
 subprocess installed post-installation script returned error exit status 1
Processing triggers for initramfs-tools-ubuntu-touch (0.72) ...
Errors were encountered while processing:
 initramfs-tools
E: Sub-process /usr/bin/dpkg returned an error code (1)

Code: Select all

j@j ~ $ sudo apt-get -f install
Reading package lists... Done
Building dependency tree       
Reading state information... Done
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
1 not fully installed or removed.
After this operation, 0 B of additional disk space will be used.
Setting up initramfs-tools (0.103ubuntu4.4) ...
update-initramfs: deferring update (trigger activated)
Processing triggers for initramfs-tools (0.103ubuntu4.4) ...
update-initramfs: Generating /boot/initrd.img-3.19.0-32-generic
Warning: No support for locale: en_US.utf8
E: No boot partition found !
run-parts: /etc/initramfs/post-update.d//zz-flash-touch-initrd exited with return code 1
dpkg: error processing package initramfs-tools (--configure):
 subprocess installed post-installation script returned error exit status 1
Processing triggers for initramfs-tools-ubuntu-touch (0.72) ...
Errors were encountered while processing:
 initramfs-tools
E: Sub-process /usr/bin/dpkg returned an error code (1)

Code: Select all

j@j ~ $ sudo apt-get update
Ign http://packages.linuxmint.com rosa InRelease
Ign http://extra.linuxmint.com rosa InRelease                                  
Get:1 http://security.ubuntu.com trusty-security InRelease [65.9 kB]           
Hit http://extra.linuxmint.com rosa Release.gpg                                
Hit http://packages.linuxmint.com rosa Release.gpg                             
Ign http://archive.canonical.com trusty InRelease                              
Ign http://archive.ubuntu.com trusty InRelease                                 
Hit http://packages.linuxmint.com rosa Release                                 
Hit http://extra.linuxmint.com rosa Release                                    
Get:2 http://security.ubuntu.com trusty-security/main Sources [120 kB]         
Hit http://archive.canonical.com trusty Release.gpg                            
Get:3 http://archive.ubuntu.com trusty-updates InRelease [65.9 kB]             
Hit http://packages.linuxmint.com rosa/main Sources                            
Hit http://extra.linuxmint.com rosa/main Sources                               
Get:4 http://security.ubuntu.com trusty-security/restricted Sources [4,064 B]  
Hit http://archive.canonical.com trusty Release                                
Get:5 http://security.ubuntu.com trusty-security/universe Sources [43.6 kB]    
Hit http://extra.linuxmint.com rosa/main amd64 Packages                        
Hit http://packages.linuxmint.com rosa/upstream Sources                        
Get:6 http://security.ubuntu.com trusty-security/multiverse Sources [3,190 B]  
Hit http://archive.canonical.com trusty/partner Sources                        
Get:7 http://security.ubuntu.com trusty-security/main amd64 Packages [531 kB]  
Hit http://extra.linuxmint.com rosa/main i386 Packages                         
Hit http://packages.linuxmint.com rosa/import Sources                          
Hit http://archive.canonical.com trusty/partner amd64 Packages                 
Hit http://archive.ubuntu.com trusty Release.gpg                               
Hit http://packages.linuxmint.com rosa/main amd64 Packages                     
Get:8 http://security.ubuntu.com trusty-security/restricted amd64 Packages [13.0 kB]
Hit http://archive.canonical.com trusty/partner i386 Packages                  
Get:9 http://archive.ubuntu.com trusty-updates/main Sources [383 kB]           
Get:10 http://security.ubuntu.com trusty-security/universe amd64 Packages [138 kB]
Hit http://packages.linuxmint.com rosa/upstream amd64 Packages                 
Hit https://deb.opera.com stable InRelease                                     
Hit http://archive.canonical.com trusty/partner Translation-en                 
Get:11 http://security.ubuntu.com trusty-security/multiverse amd64 Packages [5,198 B]
Get:12 http://security.ubuntu.com trusty-security/main i386 Packages [493 kB]  
Hit http://packages.linuxmint.com rosa/import amd64 Packages                   
Hit http://archive.removed trusty-removed InRelease                          
Hit https://deb.opera.com stable/non-free amd64 Packages                       
Hit http://packages.linuxmint.com rosa/main i386 Packages                      
Get:13 http://archive.ubuntu.com trusty-updates/restricted Sources [5,360 B]   
Hit https://deb.opera.com stable/non-free i386 Packages                        
Hit http://packages.linuxmint.com rosa/upstream i386 Packages                  
Hit http://archive.removed trusty-removed/apps amd64 Packages                
Get:14 http://archive.ubuntu.com trusty-updates/universe Sources [166 kB]      
Ign http://extra.linuxmint.com rosa/main Translation-en_US                     
Get:15 http://security.ubuntu.com trusty-security/restricted i386 Packages [12.7 kB]
Hit http://packages.linuxmint.com rosa/import i386 Packages                    
Ign http://extra.linuxmint.com rosa/main Translation-en                        
Get:16 http://security.ubuntu.com trusty-security/universe i386 Packages [138 kB]
Hit http://archive.removed trusty-removed/apps i386 Packages                 
Get:17 http://archive.ubuntu.com trusty-updates/multiverse Sources [7,520 B]   
Get:18 http://security.ubuntu.com trusty-security/multiverse i386 Packages [5,339 B]
Hit http://security.ubuntu.com trusty-security/main Translation-en             
Get:19 http://archive.ubuntu.com trusty-updates/main amd64 Packages [901 kB]   
Hit http://security.ubuntu.com trusty-security/multiverse Translation-en       
Hit http://security.ubuntu.com trusty-security/restricted Translation-en       
Hit http://security.ubuntu.com trusty-security/universe Translation-en         
Get:20 http://archive.ubuntu.com trusty-updates/restricted amd64 Packages [15.9 kB]
Get:21 http://archive.ubuntu.com trusty-updates/universe amd64 Packages [376 kB]
Get:22 http://archive.ubuntu.com trusty-updates/multiverse amd64 Packages [15.0 kB]
Get:23 http://archive.ubuntu.com trusty-updates/main i386 Packages [861 kB]    
Ign https://deb.opera.com stable/non-free Translation-en_US                    
Ign https://deb.opera.com stable/non-free Translation-en                       
Ign http://archive.removed trusty-removed/apps Translation-en_US             
Get:24 http://archive.ubuntu.com trusty-updates/restricted i386 Packages [15.6 kB]
Ign http://archive.removed trusty-removed/apps Translation-en                
Get:25 http://archive.ubuntu.com trusty-updates/universe i386 Packages [377 kB]
Get:26 http://archive.ubuntu.com trusty-updates/multiverse i386 Packages [15.5 kB]
Hit http://archive.ubuntu.com trusty-updates/main Translation-en        
Hit http://archive.ubuntu.com trusty-updates/multiverse Translation-en         
Ign http://packages.linuxmint.com rosa/import Translation-en_US                
Hit http://archive.ubuntu.com trusty-updates/restricted Translation-en         
Ign http://packages.linuxmint.com rosa/import Translation-en             
Ign http://packages.linuxmint.com rosa/main Translation-en_US
Ign http://packages.linuxmint.com rosa/main Translation-en
Ign http://packages.linuxmint.com rosa/upstream Translation-en_US
Ign http://packages.linuxmint.com rosa/upstream Translation-en
Hit http://archive.ubuntu.com trusty-updates/universe Translation-en
Hit http://archive.ubuntu.com trusty Release        
Hit http://archive.ubuntu.com trusty/main Sources
Hit http://archive.ubuntu.com trusty/restricted Sources
Hit http://archive.ubuntu.com trusty/universe Sources
Hit http://archive.ubuntu.com trusty/multiverse Sources
Hit http://archive.ubuntu.com trusty/main amd64 Packages
Hit http://archive.ubuntu.com trusty/restricted amd64 Packages
Hit http://archive.ubuntu.com trusty/universe amd64 Packages
Hit http://archive.ubuntu.com trusty/multiverse amd64 Packages
Hit http://archive.ubuntu.com trusty/main i386 Packages                        
Hit http://archive.ubuntu.com trusty/restricted i386 Packages                  
Hit http://archive.ubuntu.com trusty/universe i386 Packages                    
Hit http://archive.ubuntu.com trusty/multiverse i386 Packages                  
Hit http://archive.ubuntu.com trusty/main Translation-en                       
Hit http://archive.ubuntu.com trusty/multiverse Translation-en                 
Hit http://archive.ubuntu.com trusty/restricted Translation-en                 
Hit http://archive.ubuntu.com trusty/universe Translation-en                   
Ign http://archive.ubuntu.com trusty/main Translation-en_US                    
Ign http://archive.ubuntu.com trusty/multiverse Translation-en_US              
Ign http://archive.ubuntu.com trusty/restricted Translation-en_US              
Ign http://archive.ubuntu.com trusty/universe Translation-en_US                
Fetched 4,777 kB in 10s (449 kB/s)                                             
Reading package lists... Done

Code: Select all

j@j ~ $ sudo dpkg --configure -a
Setting up initramfs-tools (0.103ubuntu4.4) ...
update-initramfs: deferring update (trigger activated)
Processing triggers for initramfs-tools (0.103ubuntu4.4) ...
update-initramfs: Generating /boot/initrd.img-3.19.0-32-generic
Warning: No support for locale: en_US.utf8
E: No boot partition found !
run-parts: /etc/initramfs/post-update.d//zz-flash-touch-initrd exited with return code 1
dpkg: error processing package initramfs-tools (--configure):
 subprocess installed post-installation script returned error exit status 1
Processing triggers for initramfs-tools-ubuntu-touch (0.72) ...
Errors were encountered while processing:
 initramfs-tools
j@j ~ $
Last edited by karlchen on Sun Oct 02, 2016 4:20 pm, edited 1 time in total.
Reason: added [code] tags around each apt command and its screen output in order to make reading easier
Laurent85
Level 16
Level 16
Posts: 6964
Joined: Tue May 26, 2015 10:11 am

Re: error while updating initramfs-tools

Post by Laurent85 »

Did you install any package related to ubuntu touch or android ?

Post the following command results:

Code: Select all

apt purge initramfs-tools-ubuntu-touch --simulate
Image
Jadesword
Level 1
Level 1
Posts: 36
Joined: Sat Oct 01, 2016 5:55 pm

Re: error while updating initramfs-tools

Post by Jadesword »

Merci pour votre aide. Votre suggestion est le plus apprécié.

Upon deleting initramfs-tools-ubuntu-touch and repeating the first group of commands, I found that the error messages no longer occurred with the minor exceptions of the pid>0 and locale not supported. Since the program is not running there should not be a pid and since it is a boot routine, locale will not have been loaded and does not require support. If I am wrong, you may let me know. In the mean time, I think the solution has passed the suggested tests. Now I need to figure out how to mark this as solved.
Post Reply

Return to “Software & Applications”