Initramfs-tools error(SOLVED)

Moderator: fredx181

Post Reply
User avatar
soniabu
Posts: 258
Joined: Fri Jul 24, 2020 6:14 pm
Location: Paris<-->Montreal
Has thanked: 123 times
Been thanked: 30 times

Initramfs-tools error(SOLVED)

Post by soniabu »

Hi everyone.
When re-installing through Synaptic DogRadio - which strangely worked this afternoon and not anymore - I get this error that doesn't allow me to re-install DogRadio:
'E: initramfs-tools: installed initramfs-tools package post-installation script subprocess returned error exit status 126'
Can anyone show me the way to solve it?
Thanks Sonia
P.S.
since this error had already happened to me previously I also followed the procedure that solved the error of that time; but unfortunately this time it doesn't work and it reports me the following message:
Image
Also hoping not to make other messes I ran this command but it disappointed me again:
Image

For the sake of consideration I also started YRadio and this works well.
my system
Image

Last edited by soniabu on Thu Jan 28, 2021 10:09 pm, edited 1 time in total.
User avatar
fredx181
Posts: 2661
Joined: Tue Dec 03, 2019 1:49 pm
Location: holland
Has thanked: 294 times
Been thanked: 1048 times
Contact:

Re: Initramfs-tools error

Post by fredx181 »

Hi Sonia,

When re-installing through Synaptic DogRadio - which strangely worked this afternoon and not anymore - I get this error that doesn't allow me to re-install DogRadio:
'E: initramfs-tools: installed initramfs-tools package post-installation script subprocess returned error exit status 126'

You can try the same as you did earlier viewtopic.php?p=8282#p8282
make /usr/sbin/update-initramfs executable:

Code: Select all

chmod +x /usr/sbin/update-initramfs

Btw, it's a mystery for me how it can be not executable, I don't have this problem on my Fossadog.
For info, the issue has nothing to do with libgtk3-perl

Your second screenshot says that you have not enough free space in your save storage (linux-firmware is a big package).
Or you're perhaps using the EXIT: option (save only at shutdown) then the changes are running in RAM, when you do not have enough RAM then you may run out of free space also.

Fred

User avatar
rockedge
Site Admin
Posts: 5847
Joined: Mon Dec 02, 2019 1:38 am
Location: Connecticut,U.S.A.
Has thanked: 2096 times
Been thanked: 2188 times
Contact:

Re: Initramfs-tools error

Post by rockedge »

Hello Sonia,
Run this command in a terminal:

Code: Select all

dpkg --configure -a

What does this command return?

Code: Select all

apt install -f

Can you please post the results of both commands?

User avatar
soniabu
Posts: 258
Joined: Fri Jul 24, 2020 6:14 pm
Location: Paris<-->Montreal
Has thanked: 123 times
Been thanked: 30 times

Re: Initramfs-tools error

Post by soniabu »

Thanks to you all gentlemen,
with the command chmod + x / usr / sbin / update-initramfs (thx Fred) and dpkg configure - a (thx rock) everything was fine; i re-installed DogRadio.
But it still doesn't work: it starts but even if I try to connect with the radio stations, there is no sound.
The hardware of the my PC works well as with YRadio I hear the music in the same stations as DogRadio well.
I don't understand what could have happened to DogRadio since this afternoon.
Mah! :roll:

User avatar
fredx181
Posts: 2661
Joined: Tue Dec 03, 2019 1:49 pm
Location: holland
Has thanked: 294 times
Been thanked: 1048 times
Contact:

Re: Initramfs-tools error

Post by fredx181 »

Strange, Yradio uses the same player as Dogradio, mplayer, what you can try is reset dogradio settings to default by renaming ~/.dogradio to ~/.dogradio.bak

Code: Select all

mv ~/.dogradio ~/.dogradio.bak

And then start dogradio and see if sound works.

Fred

User avatar
soniabu
Posts: 258
Joined: Fri Jul 24, 2020 6:14 pm
Location: Paris<-->Montreal
Has thanked: 123 times
Been thanked: 30 times

Re: Initramfs-tools error(SOLVED)

Post by soniabu »

great Fred :thumbup2: After the last command suggested it works better than before
thanks again Fred.

User avatar
fredx181
Posts: 2661
Joined: Tue Dec 03, 2019 1:49 pm
Location: holland
Has thanked: 294 times
Been thanked: 1048 times
Contact:

Re: Initramfs-tools error(SOLVED)

Post by fredx181 »

soniabu wrote: Thu Jan 28, 2021 10:17 pm

great Fred :thumbup2: After the last command suggested it works better than before
thanks again Fred.

Ok, sonia, nice that it's solved, but... you have any idea why these strange problems happen ? Looks things got corrupted in your install or/and save, there must be a cause for that.

Fred

User avatar
soniabu
Posts: 258
Joined: Fri Jul 24, 2020 6:14 pm
Location: Paris<-->Montreal
Has thanked: 123 times
Been thanked: 30 times

Re: Initramfs-tools error(SOLVED)

Post by soniabu »

I understand Fred but I don't know why. :?

Post Reply

Return to “UbuntuDogs”