Hi,
I updated & upgraded my system a week ago. I think, that an update of GRUB was available as well and having slept too little I didn’t pay a lot of attention to it.
When being asked a yes/no questions during the update process I just took ‘no’, and that put me into a loop where I had to say ‘yes’ .
After that the packet manager broke, I can update but I cannot upgrade everything.
I rebooted and I had to type ‘disable’
see
https://community.parrotsec.org/t/fix-tomoyo-problem/717
just fresh of the terminal:
Reading package lists… Done
Building dependency tree
Reading state information… Done
Calculating upgrade… Done
The following packages have been kept back:
parrot-core pocl-opencl-icd python-qscintilla2 sqlitebrowser
0 upgraded, 0 newly installed, 0 to remove and 4 not upgraded.
4 not fully installed or removed.
Need to get 0 B/151 kB of archives.
After this operation, 0 B of additional disk space will be used.
Do you want to continue? [Y/n]
Setting up broadcom-sta-dkms (6.30.223.271-8) …
Removing old broadcom-sta-6.30.223.271 DKMS files…-------- Uninstall Beginning --------
Module: broadcom-sta
Version: 6.30.223.271
Kernel: 4.14.0-parrot13-amd64 (x86_64)Status: This module version was INACTIVE for this kernel.
depmod…DKMS: uninstall completed.
Deleting module version: 6.30.223.271
completely from the DKMS tree.Done.
Loading new broadcom-sta-6.30.223.271 DKMS files…
Building for 4.14.0-parrot13-amd64
Building initial module for 4.14.0-parrot13-amd64
^XDone.wl:
Running module version sanity check.
- Original module
- No original module exists within this kernel
- Installation
- Installing to /lib/modules/4.14.0-parrot13-amd64/updates/dkms/
depmod…
Backing up initrd.img-4.14.0-parrot13-amd64 to /boot/initrd.img-4.14.0-parrot13-amd64.old-dkms
cp: error writing ‘/boot/initrd.img-4.14.0-parrot13-amd64.old-dkms’: No space left on device
Making new initrd.img-4.14.0-parrot13-amd64
(If next boot fails, revert to initrd.img-4.14.0-parrot13-amd64.old-dkms image)
update-initramfs…(bad exit status: 1)-------- Uninstall Beginning --------
Module: broadcom-sta
Version: 6.30.223.271
Kernel: 4.14.0-parrot13-amd64 (x86_64)Status: Before uninstall, this module version was ACTIVE on this kernel.
wl.ko:
- Uninstallation
- Deleting from: /lib/modules/4.14.0-parrot13-amd64/updates/dkms/
- 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…
Backing up initrd.img-4.14.0-parrot13-amd64 to /boot/initrd.img-4.14.0-parrot13-amd64.old-dkms
cp: error writing ‘/boot/initrd.img-4.14.0-parrot13-amd64.old-dkms’: No space left on device
Making new initrd.img-4.14.0-parrot13-amd64
(If next boot fails, revert to initrd.img-4.14.0-parrot13-amd64.old-dkms image)
update-initramfs…(bad exit status: 1)
Warning: There was a problem remaking your initrd. You must manually remake it
before booting into this kernel.DKMS: uninstall completed.
Error! Problems with mkinitrd detected. Automatically uninstalling this module.
DKMS: Install Failed (mkinitrd problems). Module rolled back to built state.
dpkg: error processing package broadcom-sta-dkms (–configure):
installed broadcom-sta-dkms package post-installation script subprocess returned error exit status 7
Setting up grub-pc (2.02+dfsg1-1) …
Generating grub configuration file …
sh: echo: I/O error
sh: echo: I/O error
Found background image: .background_cache.png
sh: echo: I/O error
sh: echo: I/O error
sh: echo: I/O error
sh: echo: I/O error
sh: echo: I/O error
sh: echo: I/O error
sh: echo: I/O error
sh: echo: I/O error
sh: echo: I/O error
sh: echo: I/O error
sh: echo: I/O error
Found background image: .background_cache.png
sh: echo: I/O error
sh: echo: I/O error
sh: echo: I/O error
sh: echo: I/O error
sh: echo: I/O error
sh: echo: I/O error
sh: echo: I/O error
sh: echo: I/O error
dpkg: error processing package grub-pc (–configure):
installed grub-pc package post-installation script subprocess returned error exit status 1
Setting up initramfs-tools (0.130) …
update-initramfs: deferring update (trigger activated)
Processing triggers for initramfs-tools (0.130) …
update-initramfs: Generating /boot/initrd.img-4.14.0-parrot13-amd64
WARNING: Setting CRYPTSETUP in /etc/initramfs-tools/initramfs.conf is deprecated and will stop working in the future. Use /etc/cryptsetup-initramfs/conf-hook instead.
WARNING: Unknown X keysym “dead_belowmacron”
WARNING: Unknown X keysym “dead_belowmacron”
WARNING: Unknown X keysym “dead_belowmacron”
WARNING: Unknown X keysym “dead_belowmacron”
cat: write error: No space left on device
update-initramfs: failed for /boot/initrd.img-4.14.0-parrot13-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:
broadcom-sta-dkms
grub-pc
initramfs-tools
Configuring sandbox profiles…
Sandbox profiles updated!
E: Sub-process /usr/bin/dpkg returned an error code (1)
W: Operation was interrupted before it could finish
after that I did the following:
sudo dpkg --audit
The following packages are only half configured, probably due to problems
configuring them the first time. The configuration should be retried using
dpkg --configure or the configure menu option in dselect:
broadcom-sta-dkms dkms source for the Broadcom STA Wireless driver
grub-pc GRand Unified Bootloader, version 2 (PC/BIOS version)
initramfs-tools generic modular initramfs generator (automation)The following packages are only half installed, due to problems during
installation. The installation can probably be completed by retrying it;
the packages can be removed using dselect or dpkg --remove:
tomoyo-tools lightweight Linux Mandatory Access Control system
I cannot configure them or remove tomoyo-tools.
_ dpkg --configure grub-pc
Setting up grub-pc (2.02+dfsg1-1) …
Generating grub configuration file …
sh: echo: I/O error
sh: echo: I/O error
Found background image: .background_cache.png
sh: echo: I/O error
sh: echo: I/O error
sh: echo: I/O error
sh: echo: I/O error
sh: echo: I/O error
sh: echo: I/O error
sh: echo: I/O error
sh: echo: I/O error
sh: echo: I/O error
sh: echo: I/O error
sh: echo: I/O error
Found background image: .background_cache.png
sh: echo: I/O error
sh: echo: I/O error
sh: echo: I/O error
sh: echo: I/O error
sh: echo: I/O error
sh: echo: I/O error
sh: echo: I/O error
sh: echo: I/O error
dpkg: error processing package grub-pc (–configure):
installed grub-pc package post-installation script subprocess returned error exit status 1
Errors were encountered while processing:
grub-pc
I could upgrade other already existing packages but I cannot install new ones.
What version of Parrot are you running? (include version, edition, and architecture)
Release 3.11 64-bit
What method did you use to install Parrot? (Debian Standard / Debian GTK / parrot-experimental)
Debian Standard
Configured to multiboot with other systems? (yes / no)
no
I really like this distro and have been using it for about 5 months. Well I guess I broke it but I would like to repair it. Any ideas?
Thank you in advance.
Edit: The broadcom package is as far as I know for my wireless chip and I am using a Lenovo Thinkpad 13 Gen2