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
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
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.
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 .
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.