Error during os update for the package realtek-rtl8188eus

During the update then upgrade got an error for the package realtek-rtl8188eus.
Firstly got the error:

Sub-process /usr/bin/dpkg returned an error code (1)

Then try a dpkg configure not working then a force upgrade not working too.

Check the log and get the error:

/var/lib/dkms/realtek-rtl8188eus/5.3.9~git20210206.1e7145f/build/os_dep/linux/recv_linux.c:357:55: error: ‘GRO_DROP’ undeclared (first use in this function)
  357 |    if (rtw_napi_gro_receive(&padapter->napi, pskb) != GRO_DROP)
      |                                                       ^~~~~~~~
/var/lib/dkms/realtek-rtl8188eus/5.3.9~git20210206.1e7145f/build/os_dep/linux/recv_linux.c:357:55: note: each undeclared identifier is reported only once for each function it appears in
make[3]: *** [/usr/src/linux-headers-5.14.0-9parrot1-common/scripts/Makefile.build:276: /var/lib/dkms/realtek-rtl8188eus/5.3.9~git20210206.1e7145f/build/os_dep/linux/recv_linux.o] Error 1
make[3]: *** Waiting for unfinished jobs....
make[2]: *** [/usr/src/linux-headers-5.14.0-9parrot1-common/Makefile:1882: /var/lib/dkms/realtek-rtl8188eus/5.3.9~git20210206.1e7145f/build] Error 2
make[1]: *** [/usr/src/linux-headers-5.14.0-9parrot1-common/Makefile:232: __sub-make] Error 2
make[1]: Leaving directory '/usr/src/linux-headers-5.14.0-9parrot1-amd64'
make: *** [Makefile:2059: modules] Error 2

Any one get idea?

Thx

2 Likes

I am experiencing this exact issue as well… I don’t know the solution but rather wanted you to know you are not alone!

The issue and also the fix has already been addressed in our telegram community, hence please wait for it to get fixed and it might take a bit of more time due to some personal schedule, but will be fixed asap.

U. N. Owen:
i just commented it out as i can’t really see where’s the error

that’s the edited one, line 150 is the error if anybody wants to figure it out

i just repackaged the desktop-base .deb file with the correction and everything is smoooth as now.

Palinuro:
wow amazing, thank you

could you please send me a diff at [email protected]? it would add the patch to my todo list automatically

btw i am in vacation in koln, germany, so i have limited time to work. only security updates and emergency patches like this one

Hi, I’m facing the same problem… But I can’t install anything on my fresh installation. How to overcome this problem so I can continue with installing software using apt?
here is my error from apt

Loading new realtek-rtl8188eus-5.3.9~git20210206.1e7145f DKMS files...
Building for 5.14.0-9parrot1-amd64
Building initial module for 5.14.0-9parrot1-amd64
Error! Bad return status for module build on kernel: 5.14.0-9parrot1-amd64 (x86_64)
Consult /var/lib/dkms/realtek-rtl8188eus/5.3.9~git20210206.1e7145f/build/make.log for more information.
dpkg: error processing package realtek-rtl8188eus-dkms (--configure):
 installed realtek-rtl8188eus-dkms package post-installation script subprocess returned error exit status 10
Errors were encountered while processing:
 desktop-base
 realtek-rtl8188eus-dkms
Scanning application launchers
Removing duplicate launchers or broken launchers
Launchers are updated

Hello everyone! Same problem here… Fresh installation and after upgrade same errors as above.

Just those packages are having issues,
if you install something it will be installed and if u see the same error again but it’s not regarding the new package that u installed.

Yep I have noticed that already. Thanks!

I have the same problem. Is there anything we can do to temporarily address the problem? Thank you all.

Until its resolved you can maybe try sudo apt upgrade --force to update the other packages

If you don’t have any realtek device, you can just remove all realtek drivers.

Desktop-base is fixed

I Have some issue :

Reading state information… Done
Calculating upgrade… Done
The following packages have been kept back:
openjdk-11-jdk-headless openjdk-11-jre openjdk-11-jre-headless
0 upgraded, 0 newly installed, 0 to remove and 3 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~git20210206.1e7145f-0kali2) …
Removing old realtek-rtl8188eus-5.3.9~git20210206.1e7145f DKMS files…


Deleting module version: 5.3.9~git20210206.1e7145f
completely from the DKMS tree.

Done.
Loading new realtek-rtl8188eus-5.3.9~git20210206.1e7145f DKMS files…
Building for 5.14.0-9parrot1-amd64
Building initial module for 5.14.0-9parrot1-amd64
Error! Bad return status for module build on kernel: 5.14.0-9parrot1-amd64 (x86_64)
Consult /var/lib/dkms/realtek-rtl8188eus/5.3.9~git20210206.1e7145f/build/make.log for more information.
dpkg: error processing package realtek-rtl8188eus-dkms (–configure):
installed realtek-rtl8188eus-dkms package post-installation script subprocess returned 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)

Please help me, i cant upgrade my package to install some software .

Hello, I did sudo apt remove realtek-rtl8188eus-dkms and problem solved. Thanks.

Thanks, it’s work. Solved my problems. :grin:

I’m happy to heard that. You’re welcome. :slight_smile:

Is the Telegram Group gone now?

Nope!
https://docs.parrotsec.org/community.html#other-groups

Thank You! However every time I try to join the International group I get the following error, see attached.

What is your id? we removed some bot accounts and inactivated accounts in our groups some time ago. It could be a mistake or your account wasn’t activated.