Full-Upgrade command not working ?

#apt full-upgrade
Reading package lists… Done
Building dependency tree… Done
Reading state information… Done
Calculating upgrade… Done
The following packages have been kept back:
azure-cli
0 upgraded, 0 newly installed, 0 to remove and 1 not upgraded.
1 not fully installed or removed.
After this operation, 0 B of additional disk space will be used.
Do you want to continue? [Y/n] Y
Setting up realtek-rtl8188eus-dkms (5.3.9~git20220319.0958f29-0parrot1) …
Removing old realtek-rtl8188eus-5.3.9~git20220319.0958f29 DKMS files…
Deleting module realtek-rtl8188eus-5.3.9~git20220319.0958f29 completely from the
DKMS tree.
Loading new realtek-rtl8188eus-5.3.9~git20220319.0958f29 DKMS files…
Deprecated feature: REMAKE_INITRD (/usr/src/realtek-rtl8188eus-5.3.9~git20220319
.0958f29/dkms.conf)
Building for 5.16.0-12parrot1-amd64 5.18.0-1parrot1-amd64
Building initial module for 5.16.0-12parrot1-amd64
Deprecated feature: REMAKE_INITRD (/var/lib/dkms/realtek-rtl8188eus/5.3.9~git202
20319.0958f29/source/dkms.conf)
Error! Bad return status for module build on kernel: 5.16.0-12parrot1-amd64 (x86
_64)
Consult /var/lib/dkms/realtek-rtl8188eus/5.3.9~git20220319.0958f29/build/make.lo
g for more information.
dpkg: error processing package realtek-rtl8188eus-dkms (–configure):
installed realtek-rtl8188eus-dkms package post-installation script subprocess r
eturned error exit status 10
Errors were encountered while processing:
realtek-rtl8188eus-dkms
Scanning application launchers
Removing duplicate launchers or broken launchers
Launchers are updated
E: Sub-process /usr/bin/dpkg returned an error code (1)

welcome to the forums
you could try giving sudo apt update --fix-missing
a spin, see if it helps

1 Like

Das klingt nach beschädigter Datei (z.B. aufgrund von Installationsabbrüchen).
Versuche es mit folgenden Befehlen und in der Reihenfolge:

  • sudo mv /var/lib/dpkg/info /var/lib/dpkg/info_silent
  • sudo mkdir /var/lib/dpkg/info
  • sudo apt-get update
  • sudo apt-get -f install
  • sudo mv /var/lib/dpkg/info/* /var/lib/dpkg/info_silent
  • sudo rm -rf /var/lib/dpkg/info
  • sudo mv /var/lib/dpkg/info_silent /var/lib/dpkg/info
  • sudo apt-get update
  • sudo apt-get upgrade
  • reboot

LG

juste do sudo apt remove realtek-rtl8188eus-dkms
and restart the full-upgrade it should work

2 Likes