Problem at last update Initramfs-tools

(Matt) #21

The others also please?

(Jessica) #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

1 Like
(Jessica) #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.

1 Like
(Matt) #26

:kissing_heart:

1 Like
(Jessica) #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))
1 Like
(Jessica) #29

:star2::blue_heart:

1 Like
(Jessica) #30

┌─[username@parrot]─[~]
└──╼ $sudo parrot-upgrade
[sudo] password for destroy:
Get:1 https://deb.parrotsec.org/parrot parrot InRelease [14.6 kB]
Fetched 14.6 kB in 7s (2,188 B/s)
Reading package lists… Done
Building dependency tree
Reading state information… Done
All packages are up to date.
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-5.1.0-parrot1-3t-amd64
W: Possible missing firmware /lib/firmware/i915/icl_dmc_ver1_07.bin for module i915
W: Possible missing firmware /lib/firmware/i915/bxt_huc_ver01_8_2893.bin for module i915
pigz: abort: write error on (No space left on device)
E: mkinitramfs failure cpio 141 pigz 28
update-initramfs: failed for /boot/initrd.img-5.1.0-parrot1-3t-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
failed to fix interrupted upgrades
Reading package lists… Done
Building dependency tree
Reading state information… Done
The following packages were automatically installed and are no longer required:
linux-headers-4.19.0-parrot3-28t-amd64
linux-headers-4.19.0-parrot3-28t-common linux-image-4.19.0-parrot3-28t-amd64
Use ‘sudo apt autoremove’ to remove them.
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-5.1.0-parrot1-3t-amd64
W: Possible missing firmware /lib/firmware/i915/icl_dmc_ver1_07.bin for module i915
W: Possible missing firmware /lib/firmware/i915/bxt_huc_ver01_8_2893.bin for module i915
pigz: abort: write error on (No space left on device)
E: mkinitramfs failure cpio 141 pigz 28
update-initramfs: failed for /boot/initrd.img-5.1.0-parrot1-3t-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!
Scanning application launchers
Updating active launchers
Done
E: Sub-process /usr/bin/dpkg returned an error code (1)
failed to fix conflicts
Reading package lists… Done
Building dependency tree
Reading state information… Done
Calculating upgrade… Done
The following packages were automatically installed and are no longer required:
linux-headers-4.19.0-parrot3-28t-amd64
linux-headers-4.19.0-parrot3-28t-common linux-image-4.19.0-parrot3-28t-amd64
Use ‘sudo apt autoremove’ to remove them.
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-5.1.0-parrot1-3t-amd64
W: Possible missing firmware /lib/firmware/i915/icl_dmc_ver1_07.bin for module i915
W: Possible missing firmware /lib/firmware/i915/bxt_huc_ver01_8_2893.bin for module i915
pigz: abort: write error on (No space left on device)
E: mkinitramfs failure cpio 141 pigz 28
update-initramfs: failed for /boot/initrd.img-5.1.0-parrot1-3t-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!
Scanning application launchers
Updating active launchers
Done

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

uname -r

5.1.0-parrot1-3t-amd64

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

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

ii linux-image-4.19.0-parrot4-28t-amd64 4.19.28-2parrot4.28t amd64 Linux 4.19 for 64-bit PCs
ii linux-image-5.1.0-parrot1-3t-amd64 5.1.3-1parrot1.3t amd64 Linux 5.1 for 64-bit PCs

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

Ls /boot/

config-4.19.0-parrot4-28t-amd64 lost+found
config-5.1.0-parrot1-3t-amd64 System.map-4.19.0-parrot4-28t-amd64
efi System.map-5.1.0-parrot1-3t-amd64
grub vmlinuz-4.19.0-parrot4-28t-amd64
initrd.img-4.19.0-parrot4-28t-amd64 vmlinuz-5.1.0-parrot1-3t-amd64
initrd.img-5.1.0-parrot1-3t-amd64

parrot

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

apt autoremove seems to give out similar issue

└──╼ $sudo apt autoremove
Reading package lists… Done
Building dependency tree
Reading state information… Done
The following packages will be REMOVED:
linux-headers-4.19.0-parrot3-28t-amd64
linux-headers-4.19.0-parrot3-28t-common linux-image-4.19.0-parrot3-28t-amd64
0 upgraded, 0 newly installed, 3 to remove and 0 not upgraded.
1 not fully installed or removed.
After this operation, 321 MB disk space will be freed.
Do you want to continue? [Y/n] y
(Reading database … 542110 files and directories currently installed.)
Removing linux-image-4.19.0-parrot3-28t-amd64 (4.19.28-2parrot3.28t) …
/etc/kernel/prerm.d/dkms:
dkms: removing: broadcom-sta 6.30.223.271 (4.19.0-parrot3-28t-amd64) (x86_64)

-------- Uninstall Beginning --------
Module: broadcom-sta
Version: 6.30.223.271
Kernel: 4.19.0-parrot3-28t-amd64 (x86_64)

Status: Before uninstall, this module version was ACTIVE on this kernel.

wl.ko:

  • Uninstallation
    • Deleting from: /lib/modules/4.19.0-parrot3-28t-amd64/updates/dkms/
      rmdir: failed to remove directory ‘updates’: Directory not empty
  • Original module
    • No original module was found for this module on this kernel.
    • Use the dkms install command to reinstall any previous module version.

depmod…

update-initramfs…

DKMS: uninstall completed.
dkms: removing: realtek-rtl88xxau 5.2.20.2~20190210 (4.19.0-parrot3-28t-amd64) (x86_64)

-------- Uninstall Beginning --------
Module: realtek-rtl88xxau
Version: 5.2.20.2~20190210
Kernel: 4.19.0-parrot3-28t-amd64 (x86_64)

Status: Before uninstall, this module version was ACTIVE on this kernel.

88XXau.ko:

  • Uninstallation
    • Deleting from: /lib/modules/4.19.0-parrot3-28t-amd64/updates/
  • Original module
    • No original module was found for this module on this kernel.
    • Use the dkms install command to reinstall any previous module version.

depmod…

DKMS: uninstall completed.
/etc/kernel/postrm.d/initramfs-tools:
update-initramfs: Deleting /boot/initrd.img-4.19.0-parrot3-28t-amd64
/etc/kernel/postrm.d/zz-update-grub:
Generating grub configuration file …
Found background image: .background_cache.png
Found linux image: /boot/vmlinuz-5.1.0-parrot1-3t-amd64
Found initrd image: /boot/initrd.img-5.1.0-parrot1-3t-amd64
Found linux image: /boot/vmlinuz-4.19.0-parrot4-28t-amd64
Found initrd image: /boot/initrd.img-4.19.0-parrot4-28t-amd64
Adding boot menu entry for EFI firmware configuration
done
Removing linux-headers-4.19.0-parrot3-28t-amd64 (4.19.28-2parrot4.28t) …
dpkg: warning: while removing linux-headers-4.19.0-parrot3-28t-amd64, directory ‘/lib/modules/4.19.0-parrot3-28t-amd64’ not empty so not removed
Removing linux-headers-4.19.0-parrot3-28t-common (4.19.28-2parrot4.28t) …
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-5.1.0-parrot1-3t-amd64
W: Possible missing firmware /lib/firmware/i915/icl_dmc_ver1_07.bin for module i915
W: Possible missing firmware /lib/firmware/i915/bxt_huc_ver01_8_2893.bin for module i915
Configuring sandbox profiles…
Sandbox profiles updated!
Scanning application launchers
Updating active launchers
Done

Thankyou for your attention @KidKlown