Problem at last update Initramfs-tools


(Matt) #21

The others also please?


#22

Output of dpkg -l | grep -e ‘ii linux-image-[0-9]’

_> ii linux-image-4.18.0-parrot20-amd64 4.18.20-2parrot20 amd64 Linux 4.18 for 64-bit PCs
ii linux-image-4.19.0-parrot1-13t-amd64 4.19.13-1parrot1.13t amd64 Linux 4.19 for 64-bit PCs

Output of ls /boot/

_> config-4.18.0-parrot20-amd64
config-4.19.0-parrot1-13t-amd64
efi
grub
initrd.img-4.18.0-parrot20-amd64
initrd.img-4.19.0-parrot1-13t-amd64
initrd.img-4.19.0-parrot1-13t-amd64.old-dkms
lost+found
System.map-4.18.0-parrot20-amd64
System.map-4.19.0-parrot1-13t-amd64
vmlinuz-4.18.0-parrot20-amd64
vmlinuz-4.19.0-parrot1-13t-amd64

and outcome of uname -r

4.19.0-parrot1-13t-amd64

@KidKlown


(Matt) #23

Run:
sudo apt-get purge linux-image-4.18.0-parrot20-amd64
then
sudo parrot-upgrade


#25

In idle dreams of long ago,
I imagined my true love;
A perfect match, a soulmate,
An angel from above.

Thank You & Bless You :heart: @KidKlown
I rest my case, for now.


(Matt) #26

:kissing_heart:


#27

So! :tired_face:
Here we go again! Another Update and Another Issue with /boot

Ive tried to gather as much as log as i could to make the work quick and simple for you.

Here it goes @KidKlown


sudo su

apt-get autoremove -y

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.133) …
update-initramfs: deferring update (trigger activated)
Processing triggers for initramfs-tools (0.133) …
update-initramfs: Generating /boot/initrd.img-4.19.0-parrot1-20t-amd64
pigz: abort: write error on (No space left on device)
E: mkinitramfs failure cpio 141 pigz 28
update-initramfs: failed for /boot/initrd.img-4.19.0-parrot1-20t-amd64 with 1.
dpkg: error processing package initramfs-tools (–configure):
installed initramfs-tools package post-installation script subprocess returned error exit status 1
Errors were encountered while processing:
initramfs-tools
Configuring sandbox profiles…
Sandbox profiles updated!
E: Sub-process /usr/bin/dpkg returned an error code (1)


ls /boot/

config-4.19.0-parrot1-13t-amd64
config-4.19.0-parrot1-20t-amd64
efi
grub
initrd.img-4.19.0-parrot1-13t-amd64
initrd.img-4.19.0-parrot1-13t-amd64.old-dkms
initrd.img-4.19.0-parrot1-20t-amd64
lost+found
System.map-4.19.0-parrot1-13t-amd64
System.map-4.19.0-parrot1-20t-amd64
vmlinuz-4.19.0-parrot1-13t-amd64
vmlinuz-4.19.0-parrot1-20t-amd64


uname -r

4.19.0-parrot1-20t-amd64


dpkg -l | grep -e “ii linux-image-[0-9]” | grep -v $(uname -r)

ii linux-image-4.19.0-parrot1-13t-amd64 4.19.13-1parrot1.13t amd64 Linux 4.19 for 64-bit PCs


dpkg -l | grep -e “ii linux-image-[0-9]” | grep -v $(uname -r) -m 1 | cut -d’ ’ -f3

linux-image-4.19.0-parrot1-13t-amd64


Appretiation In Advance <3


(Matt) #28

So try this

sudo apt-get purge $(echo $(dpkg -l | grep -e “ii linux-image-[0-9]” | grep -v $(uname -r) -m 1 | cut -d' ' -f3))

#29

:star2::blue_heart: