I get this error when updating the system or trying to install an app

Questions about other topics - please check if your question fits better in another category before posting here
Forum rules
Before you post read how to get help. Topics in this forum are automatically closed 6 months after creation.
Locked
George1981
Level 1
Level 1
Posts: 11
Joined: Tue Apr 03, 2018 5:22 am
Location: Greece

I get this error when updating the system or trying to install an app

Post by George1981 »

Code: Select all

E: linux-firmware: subprocess installed post-installation script returned error exit status 1
E: linux-image-4.13.0-38-generic: subprocess installed post-installation script returned error exit status 2
E: linux-image-extra-4.13.0-38-generic: dependency problems - leaving unconfigured
E: initramfs-tools: subprocess installed post-installation script returned error exit status 1

=========================================================

E: mkinitramfs failure find 1 cpio 1 gzip 1
update-initramfs: failed for /boot/initrd.img-4.10.0-38-generic with 1.
dpkg: error processing package linux-firmware (--configure):
 subprocess installed post-installation script returned error exit status 1
dpkg: dependency problems prevent configuration of linux-image-extra-4.13.0-38-generic:
 linux-image-extra-4.13.0-38-generic depends on linux-image-4.13.0-38-generic; however:
  Package linux-image-4.13.0-38-generic is not configured yet.

dpkg: error processing package linux-image-extra-4.13.0-38-generic (--configure):
 dependency problems - leaving unconfigured
Processing triggers for initramfs-tools (0.122ubuntu8.11) ...
update-initramfs: Generating /boot/initrd.img-4.10.0-38-generic
Warning: No support for locale: en_US.utf8

gzip: stdout: No space left on device
cpio: write error: Broken pipe
find: ‘standard output’: Broken pipe
find: write error
E: mkinitramfs failure find 1 cpio 1 gzip 1
update-initramfs: failed for /boot/initrd.img-4.10.0-38-generic with 1.
dpkg: error processing package initramfs-tools (--configure):
 subprocess installed post-installation script returned error exit status 1
Can anyone help me with this problem? I have this problem with my laptop. I have installed Linux Mint 18.3 'Sylvia' 64bit. I have installed it following the same way I 've installed it on my desktop and I do not get this problem with the desktop install
I searched for the utf 8 support I have this output when I use the locale -a command. Am I missing something?

Code: Select all

C
C.UTF-8
el_GR.utf8
en_AG
en_AG.utf8
en_AU.utf8
en_BW.utf8
en_CA.utf8
en_DK.utf8
en_GB.utf8
en_HK.utf8
en_IE.utf8
en_IN
en_IN.utf8
en_NG
en_NG.utf8
en_NZ.utf8
en_PH.utf8
en_SG.utf8
en_US.utf8
en_ZA.utf8
en_ZM
en_ZM.utf8
en_ZW.utf8
POSIX
Last edited by LockBot on Wed Dec 28, 2022 7:16 am, edited 1 time in total.
Reason: Topic automatically closed 6 months after creation. New replies are no longer allowed.
Thanks a lot
"chaos is fickle"
User avatar
karlchen
Level 23
Level 23
Posts: 18224
Joined: Sat Dec 31, 2011 7:21 am
Location: Germany

Re: I get this error when updating the system or trying to install an app

Post by karlchen »

Hello, George1981.

The crucial error message is in the lower third of the box with all the error messages:

Code: Select all

gzip: stdout: No space left on device
Either your root filesystem is full. Filesystem /
Or in case you use a dedicated /boot filesystem, then filesystem /boot is full.

You should use Update Manager and uninstall obsolete old kernels:
+ Keep the booted kernel (obviously)
+ Keep the previous kernel
+ Uninstall all the other no longer used kernel.

This should free up enough filesystem space. Then you could retry the current update(s).

This problem has been reported, discussed and resolved a lot of times in the forum before. You are not the first one, not the only one and not the last one to step into this trap.

The warning Warning: No support for locale: en_US.utf8 is pretty irrelevant and can be ignored. It can be solved, too. Feel free to look up the solution by searching for Warning: No support for locale: en_US.utf8 Has been discussed and solved several times in this forum as well. The solution can also be found on askubuntu.com. apt-get warning: No support for locale: en_US.utf8. - Fix the "out of filesystem space" error first.

Best regards,
Karl
Image
The people of Alderaan have been bravely fighting back the clone warriors sent out by the unscrupulous Sith Lord Palpatine for 792 days now.
Lifeline
George1981
Level 1
Level 1
Posts: 11
Joined: Tue Apr 03, 2018 5:22 am
Location: Greece

Re: I get this error when updating the system or trying to install an app

Post by George1981 »

Thank you Karl
It's a fresh install
I have partitioned my HDD as follows
100 MB -- /boot ext4 file system
80GB -- / (69,9 GB are free ext4 file system)
2GB swap partition
163 GB -- /home (ext4 file system)

Do you thing I partitioned me HDD in the wrong way?

I have installed gparted and I saw that my boot partition is full so I guess it needs more than 100MB.
As for the utf support I saw the answer on askubuntu,

All help greatly appreciated
Last edited by George1981 on Tue Apr 03, 2018 5:54 pm, edited 1 time in total.
Thanks a lot
"chaos is fickle"
User avatar
karlchen
Level 23
Level 23
Posts: 18224
Joined: Sat Dec 31, 2011 7:21 am
Location: Germany

Re: I get this error when updating the system or trying to install an app

Post by karlchen »

Hi, George1981.

OK. Start all over from scratch. 100 MB -- /boot ext4 file system is much too small, considering the fact that each new kernel will add roughly 50 MB on this filesystem. Next time grant it 500 MB or even better 1000 MB. Don't be a mizer.

Best regards,
Karl
Image
The people of Alderaan have been bravely fighting back the clone warriors sent out by the unscrupulous Sith Lord Palpatine for 792 days now.
Lifeline
George1981
Level 1
Level 1
Posts: 11
Joined: Tue Apr 03, 2018 5:22 am
Location: Greece

Re: I get this error when updating the system or trying to install an app

Post by George1981 »

karlchen wrote: Tue Apr 03, 2018 5:50 pm Hi, George1981.

OK. Start all over from scratch. 100 MB -- /boot ext4 file system is much too small, considering the fact that each new kernel will add roughly 50 MB on this filesystem. Next time grant it 500 MB or even better 1000 MB. Don't be a mizer.

Best regards,
Karl
Your are right I checked my desktop
/boot partition 2,5GB cause I dual boot windows 10 and read it needed more than 1GB
Thanks again :)
Help was lightning fast
Thanks a lot
"chaos is fickle"
Locked

Return to “Other topics”