Hi, after upgrading the system when i use sudo apt install he tell me this error:
Reading package lists… Done
Building dependency tree… Done
Reading state information… Done
Note, selecting ‘bcmwl-kernel-sources’ for glob ‘bcmwl’
Package ‘bcmwl-kernel-sources’ is not installed, so not removed
The following packages were automatically installed and are no longer required:
alsa-tools libcmis-0.5-5v5 liblibreoffice-java libqrcodegencpp1 libunoloader-java ure-java
Use ‘sudo apt autoremove’ to remove them.
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
5 not fully installed or removed.
After this operation, 0 B of additional disk space will be used.
Setting up desktop-base (2:5.0+parrot2) …
update-alternatives: --install needs
Use ‘update-alternatives --help’ for program usage information.
dpkg: error processing package desktop-base (–configure):
installed desktop-base package post-installation script subprocess returned error exit status 2
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.10.0-6parrot1-amd64 5.14.0-9parrot1-amd64
Building initial module for 5.10.0-6parrot1-amd64
Error! Bad return status for module build on kernel: 5.10.0-6parrot1-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
Setting up realtek-rtl8814au-dkms (5.8.5.1~git20210730.824d1d2-0parrot1) …
Removing old realtek-rtl8814au-5.8.5.1~git20210730.824d1d2 DKMS files…
Deleting module version: 5.8.5.1~git20210730.824d1d2
completely from the DKMS tree.
Done.
Loading new realtek-rtl8814au-5.8.5.1~git20210730.824d1d2 DKMS files…
Building for 5.10.0-6parrot1-amd64 5.14.0-9parrot1-amd64
Building initial module for 5.10.0-6parrot1-amd64
Error! Bad return status for module build on kernel: 5.10.0-6parrot1-amd64 (x86_64)
Consult /var/lib/dkms/realtek-rtl8814au/5.8.5.1~git20210730.824d1d2/build/make.log for more information.
dpkg: error processing package realtek-rtl8814au-dkms (–configure):
installed realtek-rtl8814au-dkms package post-installation script subprocess returned error exit status 10
Setting up r8168-dkms (8.048.03-3) …
Removing old r8168-8.048.03 DKMS files…
Deleting module version: 8.048.03
completely from the DKMS tree.
Done.
Loading new r8168-8.048.03 DKMS files…
Building for 5.10.0-6parrot1-amd64 5.14.0-9parrot1-amd64
Building initial module for 5.10.0-6parrot1-amd64
Error! Bad return status for module build on kernel: 5.10.0-6parrot1-amd64 (x86_64)
Consult /var/lib/dkms/r8168/8.048.03/build/make.log for more information.
dpkg: error processing package r8168-dkms (–configure):
installed r8168-dkms package post-installation script subprocess returned error exit status 10
dpkg: dependency problems prevent configuration of realtek-rtl88xxau-dkms:
realtek-rtl88xxau-dkms depends on realtek-rtl8814au-dkms; however:
Package realtek-rtl8814au-dkms is not configured yet.
dpkg: error processing package realtek-rtl88xxau-dkms (–configure):
dependency problems - leaving unconfigured
Processing triggers for initramfs-tools (0.140) …
update-initramfs: Generating /boot/initrd.img-5.14.0-9parrot1-amd64
Errors were encountered while processing:
desktop-base
realtek-rtl8188eus-dkms
realtek-rtl8814au-dkms
r8168-dkms
realtek-rtl88xxau-dkms
Scanning application launchers
Removing duplicate launchers or broken launchers
Launchers are updated
E: Sub-process /usr/bin/dpkg returned an error code (1)
Few days maybe…
Would have been fixed within few hours usually, but due to a vacation, he got busy and this was unexpected. Hence, when he’s back, the patch will be updated ASAP:)
/var/lib/dkms/realtek-rtl8188eus/5.3.9~git20210206.1e7145f/build/os_dep/linux/recv_linux.c: In function ‘napi_recv’:
/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 overall usability is not affected, that’s true, but every time something needs to be installed on top of the current setup, the OS attempts to build/compile the dependencies, which by frequent action is getting annoying and pretty much time consuming even on i7. Is there no way to solve it properly?
For 5.10 kernel use this git repository:
sudo apt update
sudo apt install -y dkms git bc
git clone -b v5.6.1 https://github.com/fastoe/RTL8812BU.git
cd RTL8812BU
make
sudo make install
sudo reboot
Hi @Th3Director , I still encounter the same problem.
I tried autoremove, update, upgrade, full-upgrade and parrot-upgrade multiple times. Nothing helped.
Attached the lines of code that i get:
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
4 packages can be upgraded. Run 'apt list --upgradable' to see them.
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
Calculating upgrade... Done
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 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.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)
hi, i just have like this problems and i send parrot facebook page, the told me they are work to fix thiss error at days. just wait. and happy nice day.