Trouble installing packages [Solved]
Re: Trouble installing packages
When I tried the fix broken I got the following error:
Loading new rtl8821ce-5.5.2.1+git20220827 DKMS files...
Building for 6.1.0-0.deb11.5-amd64
Building initial module for 6.1.0-0.deb11.5-amd64
Error! Bad return status for module build on kernel: 6.1.0-0.deb11.5-amd64 (x86_64)
Consult /var/lib/dkms/rtl8821ce/5.5.2.1+git20220827/build/make.log for more information.
dpkg: error processing package rtl8821ce-dkms (--configure):
installed rtl8821ce-dkms package post-installation script subprocess returned error exit status 10
Errors were encountered while processing:
rtl8821ce-dkms
E: Sub-process /usr/bin/dpkg returned an error code (1)
Loading new rtl8821ce-5.5.2.1+git20220827 DKMS files...
Building for 6.1.0-0.deb11.5-amd64
Building initial module for 6.1.0-0.deb11.5-amd64
Error! Bad return status for module build on kernel: 6.1.0-0.deb11.5-amd64 (x86_64)
Consult /var/lib/dkms/rtl8821ce/5.5.2.1+git20220827/build/make.log for more information.
dpkg: error processing package rtl8821ce-dkms (--configure):
installed rtl8821ce-dkms package post-installation script subprocess returned error exit status 10
Errors were encountered while processing:
rtl8821ce-dkms
E: Sub-process /usr/bin/dpkg returned an error code (1)
Re: Trouble installing packages
are you using that 8821 WiFi ?
If not, then you might try removing it. ( MXPI )
and if you are using it, then possibly reinstall it and see how it goes (again using MXPI first I think. There is a manual method, but I would try the other first.)
If not, then you might try removing it. ( MXPI )
and if you are using it, then possibly reinstall it and see how it goes (again using MXPI first I think. There is a manual method, but I would try the other first.)
*QSI = Quick System Info from menu (Copy for Forum)
*MXPI = MX Package Installer
*Please check the solved checkbox on the post that solved it.
*Linux -This is the way!
*MXPI = MX Package Installer
*Please check the solved checkbox on the post that solved it.
*Linux -This is the way!
Re: Trouble installing packages
the only thing that I can see with 8821 in is rtl8821cu. Is that what you mean? I tried uninstalling it anyway and it didn't make a different.
Re: Trouble installing packages
Yes sorry.
Lets also have you cleanup the apt cache using mx cleanup , reboot afterwards and then try your install again. If it still fails, please post the entire results .
Lets also have you cleanup the apt cache using mx cleanup , reboot afterwards and then try your install again. If it still fails, please post the entire results .
*QSI = Quick System Info from menu (Copy for Forum)
*MXPI = MX Package Installer
*Please check the solved checkbox on the post that solved it.
*Linux -This is the way!
*MXPI = MX Package Installer
*Please check the solved checkbox on the post that solved it.
*Linux -This is the way!
Re: Trouble installing packages
Ok cleanup done and rebooted.
I tried installing QMMP and get the following:
Hit:1 http://security.debian.org/debian-security bullseye-security InRelease
Hit:2 http://deb.debian.org/debian bullseye-updates InRelease
Hit:3 http://deb.debian.org/debian bullseye InRelease
Hit:4 https://ftp.nluug.nl/os/Linux/distr/mxlinux/mx/repo bullseye InRelease
Hit:5 https://updates.signal.org/desktop/apt xenial InRelease
Reading package lists...
Reading package lists...
Building dependency tree...
Reading state information...
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:
The following packages have unmet dependencies:
libprojectm3 : Depends: projectm-data (= 3.1.7-1.1) but 3.1.12-2~mx21+1 is to be installed
E: Unable to correct problems, you have held broken packages.
I tried installing QMMP and get the following:
Hit:1 http://security.debian.org/debian-security bullseye-security InRelease
Hit:2 http://deb.debian.org/debian bullseye-updates InRelease
Hit:3 http://deb.debian.org/debian bullseye InRelease
Hit:4 https://ftp.nluug.nl/os/Linux/distr/mxlinux/mx/repo bullseye InRelease
Hit:5 https://updates.signal.org/desktop/apt xenial InRelease
Reading package lists...
Reading package lists...
Building dependency tree...
Reading state information...
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:
The following packages have unmet dependencies:
libprojectm3 : Depends: projectm-data (= 3.1.7-1.1) but 3.1.12-2~mx21+1 is to be installed
E: Unable to correct problems, you have held broken packages.
Re: Trouble installing packages
When I try installing QMMP it doesn't install. When I try audacious, it installs, but I still get an error message.
------------------------------
Deleting module version: 5.4.1
completely from the DKMS tree.
------------------------------
Done.
Loading new rtl8821cu-5.4.1 DKMS files...
Building for 6.1.0-0.deb11.5-amd64
Building for architecture x86_64
Building initial module for 6.1.0-0.deb11.5-amd64
Error! Bad return status for module build on kernel: 6.1.0-0.deb11.5-amd64 (x86_64)
Consult /var/lib/dkms/rtl8821cu/5.4.1/build/make.log for more information.
dpkg: error processing package rtl8821cu-dkms (--configure):
installed rtl8821cu-dkms package post-installation script subprocess returned error exit status 10
Processing triggers for bamfdaemon (0.5.4-2) ...
Rebuilding /usr/share/applications/bamf-2.index...
Processing triggers for desktop-file-utils (0.26-1) ...
Processing triggers for hicolor-icon-theme (0.17-2) ...
Processing triggers for gnome-menus (3.36.0-1) ...
Processing triggers for man-db (2.10.1-1~bpo11+1) ...
Processing triggers for mailcap (3.69) ...
Errors were encountered while processing:
rtl8821ce-dkms
rtl8821cu-dkms
------------------------------
Deleting module version: 5.4.1
completely from the DKMS tree.
------------------------------
Done.
Loading new rtl8821cu-5.4.1 DKMS files...
Building for 6.1.0-0.deb11.5-amd64
Building for architecture x86_64
Building initial module for 6.1.0-0.deb11.5-amd64
Error! Bad return status for module build on kernel: 6.1.0-0.deb11.5-amd64 (x86_64)
Consult /var/lib/dkms/rtl8821cu/5.4.1/build/make.log for more information.
dpkg: error processing package rtl8821cu-dkms (--configure):
installed rtl8821cu-dkms package post-installation script subprocess returned error exit status 10
Processing triggers for bamfdaemon (0.5.4-2) ...
Rebuilding /usr/share/applications/bamf-2.index...
Processing triggers for desktop-file-utils (0.26-1) ...
Processing triggers for hicolor-icon-theme (0.17-2) ...
Processing triggers for gnome-menus (3.36.0-1) ...
Processing triggers for man-db (2.10.1-1~bpo11+1) ...
Processing triggers for mailcap (3.69) ...
Errors were encountered while processing:
rtl8821ce-dkms
rtl8821cu-dkms
Re: Trouble installing packages
So, using mxpi , go to the MX Test Repo tab and uninstall projectm-data 3.1.12kloos wrote: Tue May 23, 2023 3:08 pm
The following packages have unmet dependencies:
libprojectm3 : Depends: projectm-data (= 3.1.7-1.1) but 3.1.12-2~mx21+1 is to be installed
E: Unable to correct problems, you have held broken packages.
Then, back on the enabled repos tab, install projectm-data 3.1.7 and then that should let you then install libprojectm3
*QSI = Quick System Info from menu (Copy for Forum)
*MXPI = MX Package Installer
*Please check the solved checkbox on the post that solved it.
*Linux -This is the way!
*MXPI = MX Package Installer
*Please check the solved checkbox on the post that solved it.
*Linux -This is the way!
Re: Trouble installing packages
from your QSI, I dont believe you need either of those. I would uninstall both and then see how everything looks.
*QSI = Quick System Info from menu (Copy for Forum)
*MXPI = MX Package Installer
*Please check the solved checkbox on the post that solved it.
*Linux -This is the way!
*MXPI = MX Package Installer
*Please check the solved checkbox on the post that solved it.
*Linux -This is the way!
Re: Trouble installing packages
Thanks CharlesV. It's kind of sorted. I can install QMMP now but I still get an error. I can live with the error as long as it installs the programmes. The error is as follows:
Loading new rtl8821cu-5.4.1 DKMS files...
Building for 6.1.0-0.deb11.5-amd64
Building for architecture x86_64
Building initial module for 6.1.0-0.deb11.5-amd64
Error! Bad return status for module build on kernel: 6.1.0-0.deb11.5-amd64 (x86_64)
Consult /var/lib/dkms/rtl8821cu/5.4.1/build/make.log for more information.
Setting up qmmp-plugin-projectm (1.4.4-1) ...
dpkg: error processing package rtl8821cu-dkms (--configure):
installed rtl8821cu-dkms package post-installation script subprocess returned error exit status 10
Processing triggers for desktop-file-utils (0.26-1) ...
Processing triggers for hicolor-icon-theme (0.17-2) ...
Processing triggers for gnome-menus (3.36.0-1) ...
Processing triggers for libc-bin (2.31-13+deb11u6) ...
Processing triggers for man-db (2.10.1-1~bpo11+1) ...
Processing triggers for mailcap (3.69) ...
Processing triggers for bamfdaemon (0.5.4-2) ...
Rebuilding /usr/share/applications/bamf-2.index...
Errors were encountered while processing:
rtl8821ce-dkms
rtl8821cu-dkms
E: Sub-process /usr/bin/dpkg returned an error code (1)
Loading new rtl8821cu-5.4.1 DKMS files...
Building for 6.1.0-0.deb11.5-amd64
Building for architecture x86_64
Building initial module for 6.1.0-0.deb11.5-amd64
Error! Bad return status for module build on kernel: 6.1.0-0.deb11.5-amd64 (x86_64)
Consult /var/lib/dkms/rtl8821cu/5.4.1/build/make.log for more information.
Setting up qmmp-plugin-projectm (1.4.4-1) ...
dpkg: error processing package rtl8821cu-dkms (--configure):
installed rtl8821cu-dkms package post-installation script subprocess returned error exit status 10
Processing triggers for desktop-file-utils (0.26-1) ...
Processing triggers for hicolor-icon-theme (0.17-2) ...
Processing triggers for gnome-menus (3.36.0-1) ...
Processing triggers for libc-bin (2.31-13+deb11u6) ...
Processing triggers for man-db (2.10.1-1~bpo11+1) ...
Processing triggers for mailcap (3.69) ...
Processing triggers for bamfdaemon (0.5.4-2) ...
Rebuilding /usr/share/applications/bamf-2.index...
Errors were encountered while processing:
rtl8821ce-dkms
rtl8821cu-dkms
E: Sub-process /usr/bin/dpkg returned an error code (1)
Re: Trouble installing packages [Solved]
Cool.. making progress :-)
You should be ok with just keeping them on board for now, and ignoring the messages.
As a rule of thumb you shouldn't manually uninstall DKMS modules for kernels that are still installed. ( unless you have a specific reason), however if you do want to remove them - please timeshift and then backup before doing it, but you should be able remove them with the following:
or
( You may also have to do
But I dont believe you will. )
And if your good to go, please mark as solved.
You should be ok with just keeping them on board for now, and ignoring the messages.
As a rule of thumb you shouldn't manually uninstall DKMS modules for kernels that are still installed. ( unless you have a specific reason), however if you do want to remove them - please timeshift and then backup before doing it, but you should be able remove them with the following:
Code: Select all
sudo dkms remove rtl8821cu/5.4.1 --all
Code: Select all
sudo dkms remove rtl8821cu --all
( You may also have to do
Code: Select all
sudo dkms remove rtl8821ce --all
And if your good to go, please mark as solved.
*QSI = Quick System Info from menu (Copy for Forum)
*MXPI = MX Package Installer
*Please check the solved checkbox on the post that solved it.
*Linux -This is the way!
*MXPI = MX Package Installer
*Please check the solved checkbox on the post that solved it.
*Linux -This is the way!