Page 1 of 1

Trouble installing packages

Posted: Tue May 23, 2023 7:42 am
by kloos
Hi all,
I've done something and it's broken the package installer. When I try to install anything I get a message like this. In this case I am trying to install Strawberry. Any help would be happily received

E: rtl8821ce-dkms: installed rtl8821ce-dkms package post-installation script subprocess returned error exit status 10

Re: Trouble installing packages

Posted: Tue May 23, 2023 8:14 am
by j2mcgreg
We need your computer’s complete profile before we can proceed, so you need to post the output from the QSI utility. The Quick System Info (QSI) utility is located in MX Tools and its output is automatically formatted for use here in the forum. Run the QSI utility, click “Copy for Forum” at the bottom and then just paste it here in your thread.
Forum Rules

Re: Trouble installing packages

Posted: Tue May 23, 2023 8:16 am
by kloos
sure, here it is...

Code: Select all

System:    Kernel: 6.1.0-0.deb11.5-amd64 [6.1.12-1~bpo11+1] x86_64 bits: 64 compiler: gcc v: 10.2.1 
           parameters: BOOT_IMAGE=/boot/vmlinuz-6.1.0-0.deb11.5-amd64 
           root=UUID=<filter> ro quiet splash 
           Desktop: Xfce 4.18.1 tk: Gtk 3.24.24 info: xfce4-panel wm: xfwm 4.18.0 vt: 7 
           dm: LightDM 1.26.0 Distro: MX-21.3_x64 Wildflower January 15  2023 
           base: Debian GNU/Linux 11 (bullseye) 
Machine:   Type: Laptop System: Dell product: Latitude E6430 v: 01 serial: <filter> Chassis: 
           type: 9 serial: <filter> 
           Mobo: Dell model: 0CPWYR v: A00 serial: <filter> BIOS: Dell v: A24 date: 08/08/2019 
Battery:   ID-1: BAT0 charge: 4.5 Wh (100.0%) condition: 4.5/62.2 Wh (7.2%) volts: 12.0 min: 11.1 
           model: LGC-LGC2.8 DELL HMYXT3A type: Li-ion serial: <filter> status: Full 
CPU:       Info: Dual Core model: Intel Core i5-3340M bits: 64 type: MT MCP arch: Ivy Bridge 
           family: 6 model-id: 3A (58) stepping: 9 microcode: 21 cache: L2: 3 MiB 
           flags: avx lm nx pae sse sse2 sse3 sse4_1 sse4_2 ssse3 vmx bogomips: 21528 
           Speed: 1785 MHz min/max: 1200/3400 MHz Core speeds (MHz): 1: 1841 2: 1888 3: 2272 
           4: 1746 
           Vulnerabilities: Type: itlb_multihit status: KVM: VMX disabled 
           Type: l1tf mitigation: PTE Inversion; VMX: conditional cache flushes, SMT vulnerable 
           Type: mds mitigation: Clear CPU buffers; SMT vulnerable 
           Type: meltdown mitigation: PTI 
           Type: mmio_stale_data status: Unknown: No mitigations 
           Type: retbleed status: Not affected 
           Type: spec_store_bypass mitigation: Speculative Store Bypass disabled via prctl 
           Type: spectre_v1 mitigation: usercopy/swapgs barriers and __user pointer sanitization 
           Type: spectre_v2 mitigation: Retpolines, IBPB: conditional, IBRS_FW, STIBP: 
           conditional, RSB filling, PBRSB-eIBRS: Not affected 
           Type: srbds status: Vulnerable: No microcode 
           Type: tsx_async_abort status: Not affected 
Graphics:  Device-1: Intel 3rd Gen Core processor Graphics vendor: Dell driver: i915 v: kernel 
           bus-ID: 00:02.0 chip-ID: 8086:0166 class-ID: 0300 
           Device-2: Microdia Laptop_Integrated_Webcam_E4HD type: USB driver: uvcvideo 
           bus-ID: 1-1.5:4 chip-ID: 0c45:6449 class-ID: 0e02 
           Display: x11 server: X.Org 1.20.11 compositor: xfwm4 v: 4.18.0 driver: 
           loaded: modesetting unloaded: fbdev,vesa display-ID: :0.0 screens: 1 
           Screen-1: 0 s-res: 1366x768 s-dpi: 96 s-size: 361x203mm (14.2x8.0") 
           s-diag: 414mm (16.3") 
           Monitor-1: LVDS-1 res: 1366x768 hz: 60 dpi: 112 size: 309x174mm (12.2x6.9") 
           diag: 355mm (14") 
           OpenGL: renderer: Mesa DRI Intel HD Graphics 4000 (IVB GT2) v: 4.2 Mesa 20.3.5 
           compat-v: 3.0 direct render: Yes 
Audio:     Device-1: Intel 7 Series/C216 Family High Definition Audio vendor: Dell 
           driver: snd_hda_intel v: kernel bus-ID: 00:1b.0 chip-ID: 8086:1e20 class-ID: 0403 
           Sound Server-1: ALSA v: k6.1.0-0.deb11.5-amd64 running: yes 
           Sound Server-2: PulseAudio v: 15.0 running: yes 
           Sound Server-3: PipeWire v: 0.3.65 running: no 
Network:   Device-1: Intel 82579LM Gigabit Network vendor: Dell driver: e1000e v: kernel 
           port: f080 bus-ID: 00:19.0 chip-ID: 8086:1502 class-ID: 0200 
           IF: eth0 state: down mac: <filter> 
           Device-2: Intel Centrino Advanced-N 6205 [Taylor Peak] driver: iwlwifi v: kernel 
           modules: wl port: f040 bus-ID: 02:00.0 chip-ID: 8086:0082 class-ID: 0280 
           IF: wlan0 state: up mac: <filter> 
           IF-ID-1: lxcbr0 state: down mac: <filter> 
Bluetooth: Device-1: Dell BCM20702A0 Bluetooth Module type: USB driver: btusb v: 0.8 
           bus-ID: 1-1.4:3 chip-ID: 413c:8197 class-ID: fe01 serial: <filter> 
           Report: hciconfig ID: hci0 rfk-id: 4 state: up address: <filter> bt-v: 2.1 lmp-v: 4.0 
           sub-v: 220e hci-v: 4.0 rev: 1000 
           Info: acl-mtu: 1021:8 sco-mtu: 64:1 link-policy: rswitch sniff link-mode: slave accept 
           service-classes: rendering, capturing, object transfer, audio, telephony 
RAID:      Hardware-1: Intel 82801 Mobile SATA Controller [RAID mode] driver: ahci v: 3.0 
           port: f060 bus-ID: 00:1f.2 chip-ID: 8086.282a rev: 04 class-ID: 0104 
Drives:    Local Storage: total: 223.57 GiB used: 63.95 GiB (28.6%) 
           SMART Message: Unable to run smartctl. Root privileges required. 
           ID-1: /dev/sda maj-min: 8:0 vendor: Kingston model: SA400S37240G size: 223.57 GiB 
           block-size: physical: 512 B logical: 512 B speed: 6.0 Gb/s type: SSD serial: <filter> 
           rev: T1A3 scheme: MBR 
Partition: ID-1: / raw-size: 215.56 GiB size: 211.12 GiB (97.94%) used: 63.65 GiB (30.1%) fs: ext4 
           dev: /dev/sda1 maj-min: 8:1 
Swap:      Kernel: swappiness: 15 (default 60) cache-pressure: 100 (default) 
           ID-1: swap-1 type: partition size: 8 GiB used: 306.8 MiB (3.7%) priority: -2 
           dev: /dev/sda2 maj-min: 8:2 
Sensors:   System Temperatures: cpu: 51.0 C mobo: 36.0 C sodimm: SODIMM C 
           Fan Speeds (RPM): cpu: 2713 
Repos:     Packages: 2982 note: see --pkg apt: 2970 lib: 1536 flatpak: 12 
           No active apt repos in: /etc/apt/sources.list 
           Active apt repos in: /etc/apt/sources.list.d/debian-stable-updates.list 
           1: deb http://deb.debian.org/debian/ bullseye-updates main contrib non-free
           Active apt repos in: /etc/apt/sources.list.d/debian.list 
           1: deb http://deb.debian.org/debian/ bullseye main contrib non-free
           2: deb http://security.debian.org/debian-security/ bullseye-security main contrib non-free
           No active apt repos in: /etc/apt/sources.list.d/kubuntu-ppa-ubuntu-backports-mantic.list 
           Active apt repos in: /etc/apt/sources.list.d/mx.list 
           1: deb http://mxlinux.mirrors.uk2.net/packages/mx/repo/ bullseye non-free main
           Active apt repos in: /etc/apt/sources.list.d/signal-xenial-added-by-mxpi.list 
           1: deb [arch=amd64] https://updates.signal.org/desktop/apt/ xenial main
Info:      Processes: 246 Uptime: 5h 13m wakeups: 2 Memory: 7.67 GiB used: 4.25 GiB (55.4%) 
           Init: SysVinit v: 2.96 runlevel: 5 default: 5 tool: systemctl Compilers: gcc: N/A 
           alt: 10 Client: shell wrapper v: 5.1.4-release inxi: 3.3.06 
Boot Mode: BIOS (legacy, CSM, MBR)

Re: Trouble installing packages

Posted: Tue May 23, 2023 8:38 am
by j2mcgreg
It may be that your main repository is not as up to date as it should be. You can use Repo Manager in MX Tools to switch to Alblasserdam, The Netherlands which is the closest one to the UK which is owned and operated by the MX Team. After the switch, reboot or log out/ login, update and retry installing that package.

Re: Trouble installing packages

Posted: Tue May 23, 2023 8:49 am
by kloos
I tried that and I re-set to the original APT sources just in case that helped but seems that I have a bigger issue.

E: Unable to correct problems, you have held broken packages.

Re: Trouble installing packages

Posted: Tue May 23, 2023 9:19 am
by j2mcgreg
You can try fixing the broken packages with Synaptic : Edit --> Fix Broken Packages

It also may be that your use of an Ubuntu ppa in the past has irreparably harmed your system. Other than that both are Linux distros and both use the apt packaging system, there are no other commonalities between the two. We advise our users to refrain from accessing ppas because of the potential harm they can cause.

Re: Trouble installing packages

Posted: Tue May 23, 2023 10:00 am
by kloos
Thanks for your help. But Fix Broken Packages didn't do anything. The screen flashed for a split second, but nothing happened.

I am not sure what a ppa is, so if I have used one, it wasn't intentional.

Re: Trouble installing packages

Posted: Tue May 23, 2023 10:47 am
by CharlesV
A ppa is a Personal Package Archive. When you use apt, the areas / locations where software is loaded from. There is a kubuntu ppa in one of your repos, so that is probably what is being referred too. You should make sure that is disabled in the MX Repos .

To clean up broken packages, try these, one at a time in a terminal.

Code: Select all

sudo apt update --fix-missing 
Then

Code: Select all

sudo apt update
and try to install what you were after.

If it still is not working, then try

Code: Select all

sudo apt install --fix-broken
and try then update and try to install again.

Re: Trouble installing packages

Posted: Tue May 23, 2023 10:50 am
by j2mcgreg
@kloos wrote:
I am not sure what a ppa is, so if I have used one, it wasn't intentional.
From your QSI:

Code: Select all

No active apt repos in: /etc/apt/sources.list.d/kubuntu-ppa-ubuntu-backports-mantic.list 
Do you remember how you obtained that package? It easily could be the broken one.

Re: Trouble installing packages

Posted: Tue May 23, 2023 11:54 am
by kloos
Hmm, I tried installing Amarok from their website, so that might be the reason. It didn't install so I just moved on to another music player.

I tried the clean options but they didn't make a difference.

Re: Trouble installing packages

Posted: Tue May 23, 2023 11:56 am
by kloos
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)

Re: Trouble installing packages

Posted: Tue May 23, 2023 1:42 pm
by CharlesV
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.)

Re: Trouble installing packages

Posted: Tue May 23, 2023 2:53 pm
by kloos
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

Posted: Tue May 23, 2023 3:01 pm
by CharlesV
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 .

Re: Trouble installing packages

Posted: Tue May 23, 2023 3:08 pm
by kloos
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.

Re: Trouble installing packages

Posted: Tue May 23, 2023 3:11 pm
by kloos
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

Re: Trouble installing packages

Posted: Tue May 23, 2023 3:21 pm
by CharlesV
kloos 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.
So, using mxpi , go to the MX Test Repo tab and uninstall projectm-data 3.1.12

Then, back on the enabled repos tab, install projectm-data 3.1.7 and then that should let you then install libprojectm3

Re: Trouble installing packages

Posted: Tue May 23, 2023 3:22 pm
by CharlesV
kloos wrote: Tue May 23, 2023 3:11 pm
rtl8821ce-dkms
rtl8821cu-dkms
from your QSI, I dont believe you need either of those. I would uninstall both and then see how everything looks.

Re: Trouble installing packages

Posted: Tue May 23, 2023 3:40 pm
by kloos
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)

Re: Trouble installing packages  [Solved]

Posted: Tue May 23, 2023 4:04 pm
by CharlesV
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:

Code: Select all

sudo dkms remove rtl8821cu/5.4.1 --all
or

Code: Select all

sudo dkms remove rtl8821cu --all

( You may also have to do

Code: Select all

 sudo dkms remove rtl8821ce --all
But I dont believe you will. )

And if your good to go, please mark as solved.

Re: Trouble installing packages

Posted: Tue May 23, 2023 4:11 pm
by kloos
Thanks, much appreciated.

Re: Trouble installing packages

Posted: Tue May 23, 2023 4:16 pm
by CharlesV
Your very welcome

Re: Trouble installing packages

Posted: Tue May 23, 2023 7:24 pm
by Stevo
The root of all the build failures is that you installed a Debian Bullseye 6.1.0 kernel, not the MX AHS one, and the MX AHS repo is not enabled. Debian doesn't have those drivers, so don't have updates.

We do have versions of that kernel and those drivers in the AHS repo that are compatible, so we were expecting users to use AHS instead.

Debian doesn't have any kernels above 6.1 yet, but those MX users that have been using Liquorix 6.2 (and 6.3) enjoy having those rtl drivers now as part of the kernel, so those dkms drivers will also not be updated for any newer kernels, and will also fail to build.