Realtek driver not getting installed after new update

– Please Write here your help request –

  • Parrot version in use (if you are not aware of it, open terminal and type cat /etc/os-release | grep VERSION):

  • Anonsurf running? (yes/no)

  • Logs/Terminal output (use pastebin or similar services):

└──╼ $sudo apt-get install firmware-realtek                                                                                                                                                                                                 
[sudo] password for nobin:
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
firmware-realtek is already the newest version (20210818-1).
firmware-realtek set to manually installed.
The following packages were automatically installed and are no longer required:
certgraph cython3 famfamfam-flag-png faraday-angular-frontend faraday-client greenbone-security-assistant greenbone-security-assistant-common i2p i2p-router libbox2d2.3.0 libc++1 libc++1-11 libc++abi1-11 libconst-fast-perl
libeclipse-jdt-core-java libel-api-java libgetopt-java libio-interactive-perl libio-prompt-tiny-perl libjbigi-jni libjetty9-java libjson-simple-java libjsp-api-java liblist-someutils-perl liblist-someutils-xs-perl liblttng-ust-ctl4
liblttng-ust0 libmicrohttpd12 libperlio-utf8-strict-perl libservice-wrapper-java libservice-wrapper-jni libservlet-api-java libservlet3.1-java libsort-versions-perl libtaglibs-standard-impl-java libtaglibs-standard-jstlel-java
libtaglibs-standard-spec-java libtomcat9-java libwebsocket-api-java lshw-gtk parrot-tools-forensic parrot-tools-info parrot-tools-report pgcli python3-apispec python3-apispec-webframeworks python3-autobahn python3-bleach
python3-bottle python3-cbor python3-deprecation python3-django python3-docopt python3-faraday-agent-parameters-types python3-faraday-plugins python3-feedparser python3-filedepot python3-filteralchemy python3-flask-classful
python3-flask-kvsession python3-flask-limiter python3-flask-login python3-flask-mail python3-flask-principal python3-flask-security python3-flask-sqlalchemy python3-html2text python3-humanize python3-hupper
python3-limits python3-marshmallow python3-marshmallow-sqlalchemy python3-nplusone python3-pgspecial python3-plaster python3-plaster-pastedeploy python3-png python3-pyqrcode python3-pyramid python3-simplekv python3-snappy
python3-speaklater python3-sqlalchemy-schemadisplay python3-sqlparse python3-syslog-rfc5424-formatter python3-translationstring python3-trie python3-txaio python3-u-msgpack python3-ubjson python3-unidecode python3-venusian
python3-webargs python3-wsaccel python3-wtforms python3-zope.deprecation service-wrapper webext-https-everywhere
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.
Do you want to continue? [Y/n] y
Setting up rtl88x2ce-dkms (35403) ...
Removing old rtl88x2ce-35403 DKMS files...

Deleting module version: 35403
completely from the DKMS tree.
Loading new rtl88x2ce-35403 DKMS files...
Building for 5.16.0-12parrot1-amd64
Building for architecture x86_64
Building initial module for 5.16.0-12parrot1-amd64
Error! Bad return status for module build on kernel: 5.16.0-12parrot1-amd64 (x86_64)
Consult /var/lib/dkms/rtl88x2ce/35403/build/make.log for more information.
dpkg: error processing package rtl88x2ce-dkms (--configure):
installed rtl88x2ce-dkms package post-installation script subprocess returned error exit status 10
Errors were encountered while processing:
Scanning application launchers
Removing duplicate launchers or broken launchers
Launchers are updated
E: Sub-process /usr/bin/dpkg returned an error code (1)

What is the output of the make.log file?

cat /var/lib/dkms/rtl88x2ce/35403/build/make.log


sudo dpkg --configure --pending


sudo apt install --reinstall firmware-realtek