Page 1 of 1
Time consumung: installing and updating new software or kernels..?
Posted: Thu Feb 01, 2024 11:09 am
by carsti
Hi,
I come from the Ubuntu/Linux Mint side of things. When I install/update software or kernels, it is downloaded and installed. With MX there was always a VERY time consuming compilation step. I did run it on a slow Chromebook with limited HDD space and it took forever and needed a lot of free disk space.
Is this process different from Ubuntu/Mint? Why? Why is there a compilation step? Or did I do something wrong?
Re: Time consumung: installing and updating new software or kernels..?
Posted: Thu Feb 01, 2024 11:11 am
by Eadwine Rose
Kernels can be found in MX Package Installer. It installs them for you.
Re: Time consumung: installing and updating new software or kernels..?
Posted: Thu Feb 01, 2024 11:12 am
by dolphin_oracle
we ship some drivers that are dkms packages. broadcom and realtek drivers. if you don't need them, remove them. the dkms rebuilds should only be happening on kernel updates, unless you have some incomplete update that previously occurred and some dkms package failed to build or install fully. apt/dpkg will keep trying until it succeeds every time you install/remove anything.
Re: Time consumung: installing and updating new software or kernels..?
Posted: Thu Feb 01, 2024 11:25 am
by carsti
dolphin_oracle wrote: Thu Feb 01, 2024 11:12 am
we ship some drivers that are dkms packages. broadcom and realtek drivers. if you don't need them, remove them. the dkms rebuilds should only be happening on kernel updates, unless you have some incomplete update that previously occurred and some dkms package failed to build or install fully. apt/dpkg will keep trying until it succeeds every time you install/remove anything.
Thanks. I think I need those drivers. I just remember that I needed to do those Kernel updates quite often and it really sucked because of the compilation process. I went back to Mint Xfce and it worked like a charm.
Re: Time consumung: installing and updating new software or kernels..?
Posted: Thu Feb 01, 2024 11:49 am
by kmathern
carsti wrote: Thu Feb 01, 2024 11:25 am
dolphin_oracle wrote: Thu Feb 01, 2024 11:12 am
we ship some drivers that are dkms packages. broadcom and realtek drivers. if you don't need them, remove them. the dkms rebuilds should only be happening on kernel updates, unless you have some incomplete update that previously occurred and some dkms package failed to build or install fully. apt/dpkg will keep trying until it succeeds every time you install/remove anything.
Thanks.
I think I need those drivers. I just remember that I needed to do those Kernel updates quite often and it really sucked because of the compilation process. I went back to Mint Xfce and it worked like a charm.
MX 23 comes with four dkms wifi drivers preinstalled (broadcom-sta-dkms, rtl8812au-dkms, rtl8821ce-dkms, rtl8821cu-dkms). You might need one of them for your wifi to work, but It's unlikely you need all of them. Removing the unused ones would speed up the compilation time.
Posting a QSI for your machine would let people here know which dkms driver you're using. And it might show that you aren't using any of them, in which case you could remove all of the dkms wifi drivers.
Re: Time consumung: installing and updating new software or kernels..?
Posted: Thu Feb 01, 2024 12:20 pm
by carsti
kmathern wrote: Thu Feb 01, 2024 11:49 am
carsti wrote: Thu Feb 01, 2024 11:25 am
dolphin_oracle wrote: Thu Feb 01, 2024 11:12 am
we ship some drivers that are dkms packages. broadcom and realtek drivers. if you don't need them, remove them. the dkms rebuilds should only be happening on kernel updates, unless you have some incomplete update that previously occurred and some dkms package failed to build or install fully. apt/dpkg will keep trying until it succeeds every time you install/remove anything.
Thanks.
I think I need those drivers. I just remember that I needed to do those Kernel updates quite often and it really sucked because of the compilation process. I went back to Mint Xfce and it worked like a charm.
MX 23 comes with four dkms wifi drivers preinstalled (broadcom-sta-dkms, rtl8812au-dkms, rtl8821ce-dkms, rtl8821cu-dkms). You might need one of them for your wifi to work, but It's unlikely you need all of them. Removing the unused ones would speed up the compilation time.
Posting a QSI for your machine would let people here know which dkms driver you're using. And it might show that you aren't using any of them, in which case you could remove all of the dkms wifi drivers.
Thanks.
How is Ubuntu or Mini handling this without compilation?
I don't use that machine anymore. I just wanted to do a fresh install with the latest MX on a machine that does not need any of these drivers. Are they still aded and compiled every time?
Re: Time consumung: installing and updating new software or kernels..?
Posted: Thu Feb 01, 2024 12:23 pm
by Charlie Brown
On that machine you can simply remove them with "MX Package Installer" or a "radical" one:
Code: Select all
sudo apt purge broadc*dkms rtl88*dkms -y
Will scrape them all.
_____________________
They are just to make those devices work ootb also to go on working when a new kernel is installed (either manually by you or auto-updated default kernel). Hence "dkms".
Re: Time consumung: installing and updating new software or kernels..?
Posted: Thu Feb 01, 2024 12:29 pm
by timkb4cq
If this is the same machine from your liva post then you don't need any of the realtek or broadcom dkms packages. You have Intel wireless hardware.
Re: Time consumung: installing and updating new software or kernels..?
Posted: Thu Feb 01, 2024 12:44 pm
by DukeComposed
Charlie Brown wrote: Thu Feb 01, 2024 12:23 pm
On that machine you can simply remove them with "MX Package Installer" or a "radical" one:
Code: Select all
sudo apt purge broadc*dkms rtl88*dkms -y
Will scrape them all.
I ran
and then just did a
Code: Select all
sudo dpkg -r broadcom-sta-dkms rtl8812au-dkms rtl8821ce-dkms rtl8821cu-dkms
using the names of the packages that had the "ii" state. Your method is much more succinct, albeit hard to remember.
I'm glad someone finally asked this question. Rebuilding those DKMS modules every time I test a new kernel has been annoying me for ages.
Re: Time consumung: installing and updating new software or kernels..?
Posted: Thu Feb 01, 2024 1:06 pm
by dolphin_oracle
carsti wrote: Thu Feb 01, 2024 12:20 pm
kmathern wrote: Thu Feb 01, 2024 11:49 am
carsti wrote: Thu Feb 01, 2024 11:25 am
Thanks.
I think I need those drivers. I just remember that I needed to do those Kernel updates quite often and it really sucked because of the compilation process. I went back to Mint Xfce and it worked like a charm.
MX 23 comes with four dkms wifi drivers preinstalled (broadcom-sta-dkms, rtl8812au-dkms, rtl8821ce-dkms, rtl8821cu-dkms). You might need one of them for your wifi to work, but It's unlikely you need all of them. Removing the unused ones would speed up the compilation time.
Posting a QSI for your machine would let people here know which dkms driver you're using. And it might show that you aren't using any of them, in which case you could remove all of the dkms wifi drivers.
Thanks.
How is Ubuntu or Mini handling this without compilation?
I don't use that machine anymore. I just wanted to do a fresh install with the latest MX on a machine that does not need any of these drivers. Are they still aded and compiled every time?
ubuntu doesn't ship the drivers, leaving it to the user to compile them on their own if they are needed.
Re: Time consumung: installing and updating new software or kernels..?
Posted: Thu Feb 01, 2024 1:26 pm
by Arnox
dolphin_oracle wrote: Thu Feb 01, 2024 1:06 pm
carsti wrote: Thu Feb 01, 2024 12:20 pm
kmathern wrote: Thu Feb 01, 2024 11:49 am
MX 23 comes with four dkms wifi drivers preinstalled (broadcom-sta-dkms, rtl8812au-dkms, rtl8821ce-dkms, rtl8821cu-dkms). You might need one of them for your wifi to work, but It's unlikely you need all of them. Removing the unused ones would speed up the compilation time.
Posting a QSI for your machine would let people here know which dkms driver you're using. And it might show that you aren't using any of them, in which case you could remove all of the dkms wifi drivers.
Thanks.
How is Ubuntu or Mini handling this without compilation?
I don't use that machine anymore. I just wanted to do a fresh install with the latest MX on a machine that does not need any of these drivers. Are they still aded and compiled every time?
ubuntu doesn't ship the drivers, leaving it to the user to compile them on their own if they are needed.
lol Another reason not to use Ubuntu I guess. There are certain drivers that, in my arrogant opinion, NEED to be present in every OOTB installation of a distro, and one of those categories of drivers are wi-fi drivers and LAN drivers.
Re: Time consumung: installing and updating new software or kernels..?
Posted: Thu Feb 01, 2024 1:27 pm
by dolphin_oracle
oh I don't know about that, but its why the drivers aren't there to slow down kernel updates.
of course if you need them, its pretty nice to have them.
Re: Time consumung: installing and updating new software or kernels..?
Posted: Thu Feb 01, 2024 1:28 pm
by Arnox
dolphin_oracle wrote: Thu Feb 01, 2024 1:27 pm
oh I don't know about that, but its why the drivers aren't there to slow down kernel updates.
of course if you need them, its pretty nice to have them.
Yeah, sorry. I edited my post later to clarify, but that's my point. They really need to be there. +1 to MX.
Re: Time consumung: installing and updating new software or kernels..?
Posted: Thu Feb 01, 2024 1:38 pm
by Charlie Brown
Actually in previous releases Forum was full of "Realtek" wifi questions / help requests . And we used to tell how to install them either from github or using the manufacturers' instructions (which were mostly according to kernel "3.2.xx" or so ... :) )
... and especially if that's a "Linux newbie" it may look scary to install them .. github etc...
Then MX devs decided to make life easy for owners of such devices, especially the mostly asked ones.. Shortly, it's a good thing by MX Team, just to make them "plug&play" even for Linux newbies... :)
Re: Time consumung: installing and updating new software or kernels..?
Posted: Thu Feb 01, 2024 2:37 pm
by kmathern
I wonder if there could be a dkms cleanup tool, or maybe a step during installation that could identify un-needed dkms packages and offer to uninstall them for those who don't need them?
Have it default to leaving them installed, and also explain the ramifications of removing them (positives -- less or no compile time during kernel updates with the un-needed dkms packages removed, negatives -- with the dkms packages removed you might not have working wifi if you make a snapshot and then want to use it on other machine(s)|hardware).
Re: Time consumung: installing and updating new software or kernels..?
Posted: Thu Feb 01, 2024 3:19 pm
by Jerry3904
I like that idea, Kent, and think it could be added to MXPI or mx-cleanup. Maybe they could be archived/pinned instead of removed @Adrian @dolphin_oracle ?
Re: Time consumung: installing and updating new software or kernels..?
Posted: Thu Feb 01, 2024 3:30 pm
by CharlesV
kmathern wrote: Thu Feb 01, 2024 2:37 pm
I wonder if there could be a dkms cleanup tool, or maybe a step during installation that could identify un-needed dkms packages and offer to uninstall them for those who don't need them?
Have it default to leaving them installed, and also explain the ramifications of removing them
(positives -- less or no compile time during kernel updates with the un-needed dkms packages removed, negatives -- with the dkms packages removed you might not have working wifi if you make a snapshot and then want to use it on other machine(s)|hardware).
As long as this is an option, I love the idea. (better yet ... yes in mx cleanup tool.) Since I throw snapshots around like water on various machines, I would want to have them all available and on board on many of my loads.
Re: Time consumung: installing and updating new software or kernels..?
Posted: Thu Feb 01, 2024 3:32 pm
by dolphin_oracle
Jerry3904 wrote: Thu Feb 01, 2024 3:19 pm
I like that idea, Kent, and think it could be added to MXPI or mx-cleanup. Maybe they could be archived/pinned instead of removed @Adrian @dolphin_oracle ?
If, and I stress if, we were to do something different with the dkms packages, I would actually just put the debs on the iso ahead of time and let people who need them install them, rather than trying to figure out what driver is in use and removing a package.
Re: Time consumung: installing and updating new software or kernels..?
Posted: Thu Feb 01, 2024 3:35 pm
by Charlie Brown
Jerry3904 wrote: Thu Feb 01, 2024 3:19 pm... Maybe they could be archived/pinned instead of removed ...
That's also not a bad idea however that will stop just the packages themselves from being upgraded.
Re: Time consumung: installing and updating new software or kernels..?
Posted: Thu Feb 01, 2024 4:04 pm
by timkb4cq
dolphin_oracle wrote: Thu Feb 01, 2024 3:32 pm
If, and I stress if, we were to do something different with the dkms packages, I would actually just put the debs on the iso ahead of time and let people who need them install them...
That makes sense to me, along with a tab in MX Network Assistant to make it easy to install them.
Re: Time consumung: installing and updating new software or kernels..?
Posted: Thu Feb 01, 2024 4:11 pm
by Charlie Brown
... maybe also in "MX Tweak" .. "Install Realtek wireless drivers" (or so) ... deb files already somewhere ...
Re: Time consumung: installing and updating new software or kernels..?
Posted: Thu Feb 01, 2024 4:25 pm
by Adrian
It's a hard problem to solve, how would people know that they need to install some .debs to get their WiFi to work? How would you upgrade the .deb packages? If we dump some .deb packages in a /Drivers folder or something like that they will be the old packages there, maybe not a big deal, once they install the package they will get an update if there's an update.
We could add a button in MX Cleanup "Remove unnecessary RTL drivers" or something like that... I would like to get a draft script that detects what RTL drivers are not needed. What command would one run to check that?
Maybe we could use both approaches, add the button in MX Cleanup for current users, add a folder with the .debs for new releases. I would still like MX Welcome or something like that to check if a RTL driver is needed and pop up a notification once or until dismissed with the information about how one would go to install the driver or even give a one click "Install" option since it's detecting what driver is needed...
Re: Time consumung: installing and updating new software or kernels..?
Posted: Thu Feb 01, 2024 4:26 pm
by timkb4cq
Ideally, those dkms drivers already installed for the kernel on the ISO could also be left installed while removing them from the dkms list.
That way users of those annoyingly common Realtek devices would have LiveUSB connectivity. Haven't figured out a reasonable way to do that - dkms wasn't designed with that in mind.
Re: Time consumung: installing and updating new software or kernels..?
Posted: Thu Feb 01, 2024 4:37 pm
by oops
Adrian wrote: Thu Feb 01, 2024 4:25 pm...
We could add a button in MX Cleanup "Remove unnecessary RTL drivers" or something like that... I would like to get a draft script that detects what RTL drivers are not needed. What command would one run to check that?
...
It is a good idea (the efficiency will be better for a next kernel upgrade)
Re: Time consumung: installing and updating new software or kernels..?
Posted: Thu Feb 01, 2024 6:50 pm
by Stevo
A little more complication is that 6.2+ kernels have at least a few of the Realtek drivers included.
Re: Time consumung: installing and updating new software or kernels..?
Posted: Thu Feb 01, 2024 7:10 pm
by timkb4cq
Adrian wrote: Thu Feb 01, 2024 4:25 pmI would like to get a draft script that detects what RTL drivers are not needed. What command would one run to check that?
Code: Select all
dumplist=""; for a in 8812au 8821au rtl8821ce; do lsmod | awk '{print $1}' | grep $a >/dev/null; status=$?; if test $status -eq 0; then dumplist+="$a "; fi; done; echo $dumplist
You can add the module name (not necessarily the package name. e.g. rtl8812au-dkms has just 8812au as the module name) of any other dkms modules to that "for" statement. If a module is loaded the the grep will fail and that one won't be in the dumplist.
Re: Time consumung: installing and updating new software or kernels..?
Posted: Thu Feb 01, 2024 7:52 pm
by MXRobo
For another perspective from someone who doesn't know linux, my thought was like adrian's:
how would people know that they need to install some .debs to get their WiFi to work?
Cheers all!
Re: Time consumung: installing and updating new software or kernels..?
Posted: Thu Feb 01, 2024 8:17 pm
by Charlie Brown
Ok, here's a test with Tim's command: just selected a few modules randomly from my lsmod output :
Code: Select all
$ dumplist=""; for a in zram wmi dm_crypt uvcvideo nouveau r8169 wl 8812au 8821au 8821ce; do lsmod | awk '{print $1}' | grep $a >/dev/null; status=$?; if test $status -eq 0; then dumplist+="$a "; fi; done; echo $dumplist
zram wmi dm_crypt uvcvideo nouveau r8169 wl
Yes, these are loaded (and I don't have any rtl wifi devices) :)
Re: Time consumung: installing and updating new software or kernels..?
Posted: Thu Feb 01, 2024 9:07 pm
by kmathern
I get a false detection on the 8812au module. Don't have any realtek device.
Code: Select all
$ dumplist=""; for a in 8812au 8821au rtl8821ce; do lsmod | awk '{print $1}' | grep $a >/dev/null; status=$?; if test $status -eq 0; then dumplist+="$a "; fi; done; echo $dumplist
8812au
It doesn't get detected using inxi -N,
Code: Select all
kent@mx:~
$ dumplist=""; for a in wl 8812au 8821au rtl8821ce; do inxi -N | grep -w $a >/dev/null; status=$?; if test $status -eq 0; then dumplist+="$a "; fi; done; echo $dumplist
kent@mx:~
$
or hwinfo --netcards
Code: Select all
kent@mx:~
$ dumplist=""; for a in wl 8812au 8821au rtl8821ce; do hwinfo --netcards | grep -w $a >/dev/null; status=$?; if test $status -eq 0; then dumplist+="$a "; fi; done; echo $dumplist
kent@mx:~
$
I also added the -w option to the grep command, without it it detects the iwlwifi module which I do have.
Re: Time consumung: installing and updating new software or kernels..?
Posted: Thu Feb 01, 2024 9:16 pm
by timkb4cq
I goofed - the -eq should be -ne. It was printing modules that were actually loaded instead of those that were not.
and it's important to keep the complete
rtl8821ce as 8821ce will match the flaky built-in
rtw88_8821ce but there's no 8821ce to remove.
Code: Select all
dumplist=""; for a in 8812au 8821au rtl8821ce; do lsmod | awk '{print $1}' | grep $a >/dev/null; status=$?; if test $status -ne 0; then dumplist+="$a "; fi; done; echo $dumplist
Re: Time consumung: installing and updating new software or kernels..?
Posted: Thu Feb 01, 2024 9:42 pm
by Adrian
Would it work if I search
Code: Select all
for a in rtl8812au rtl8821au rtl8821ce
Can the the driver show with the "rtl", I would like to use that for consistency and makes it easier to add them to a removal command like
Code: Select all
apt-get purge rtl8812au* rtl8821au* rtl8821ce*
Re: Time consumung: installing and updating new software or kernels..?
Posted: Thu Feb 01, 2024 9:45 pm
by Charlie Brown
Yes, ok now :
Code: Select all
$ dumplist=""; for a in 8812au 8821au rtl8821ce; do lsmod | awk '{print $1}' | grep $a >/dev/null; status=$?; if test $status -ne 0; then dumplist+="$a "; fi; done; echo $dumplist
8812au 8821au rtl8821ce
Code: Select all
$ dumplist=""; for a in zram wmi dm_crypt uvcvideo nouveau 8812au 8821au rtl8821ce; do lsmod | awk '{print $1}' | grep $a >/dev/null; status=$?; if test $status -ne 0; then dumplist+="$a "; fi; done; echo $dumplist
8812au 8821au rtl8821ce
:)
Re: Time consumung: installing and updating new software or kernels..?
Posted: Thu Feb 01, 2024 9:51 pm
by Charlie Brown
@Adrian
That works, too:
Code: Select all
$ dumplist=""; for a in zram wmi dm_crypt wl uvcvideo nouveau rtl8812au rtl8821au rtl8821ce; do lsmod | awk '{print $1}' | grep $a >/dev/null; status=$?; if test $status -ne 0; then dumplist+="$a "; fi; done; echo $dumplist
rtl8812au rtl8821au rtl8821ce
(Deliberately added some loaded ones into the command)
Re: Time consumung: installing and updating new software or kernels..?
Posted: Thu Feb 01, 2024 9:58 pm
by timkb4cq
No it doesn't.
Installing the rtl8812au-dkms package creates an 8812au kernel module (but installing rtl8821ce-dkms installs an rtl8821ce module). If you have that loaded because you need it the test will still fail and put it in the dumplist. modprobe 8812au yourself and check.
The script is obviously not complete - there would need to be case statement block converting module names to dkms package names and skipping anything in the list that doesn't have a dkms package. This was just a draft to show how you could find which modules were unneeded.
And ideally lsmod should be called just once into an array and operations done on that instead of an lsmod for each module - but that's just optimization.
Re: Time consumung: installing and updating new software or kernels..?
Posted: Thu Feb 01, 2024 10:04 pm
by Charlie Brown
Ah yes, so it seems it needs to be 2 stage: According to the output, convert the names back to package names , if 88xx => rtl88xxx , finally apt purge ....
(roughly) :)
Re: Time consumung: installing and updating new software or kernels..?
Posted: Thu Feb 01, 2024 10:51 pm
by Adrian
I end up using this:
Code: Select all
for module in 8812au 8821au rtl8821ce; do
if ! lsmod | grep -q $module; then
modname="${module}"
[[ "${module}" != "rtl"* ]] && modname="rtl${module}"
echo -n "${modname}-dkms "
fi
done
There's probably a more elegant way to add that "rtl" in front... but I don't know bash search and replace voodoo...
You can check the build here:
https://build.opensuse.org/projects/hom ... 2/binaries
Re: Time consumung: installing and updating new software or kernels..?
Posted: Thu Feb 01, 2024 11:01 pm
by dolphin_oracle
rtl8821cu -> rtl8821cu-dkms
rtl8821ce -> rtl8821ce-dkms
match package and mod
8812au -> rtl8812au-dkms
8821au -> rtl8821au-dkms
the 6.7 liquorix kernel appears to have a rtl8821ae, but its a built in.
Re: Time consumung: installing and updating new software or kernels..?
Posted: Thu Feb 01, 2024 11:09 pm
by Adrian
So I'm missing rtl8821cu? Do the detection/removal of the other work OK?
Re: Time consumung: installing and updating new software or kernels..?
Posted: Thu Feb 01, 2024 11:12 pm
by timkb4cq
If you want to include wl (broadcom-sta-dkms) you'll have to handle that one a bit differently.
And IIRC, MX-21 also had rtl8814au-dkms (8814au) and rtl8821cu (8821cu) installed.
Re: Time consumung: installing and updating new software or kernels..?
Posted: Thu Feb 01, 2024 11:18 pm
by dolphin_oracle
Adrian wrote: Thu Feb 01, 2024 11:09 pm
So I'm missing rtl8821cu? Do the detection/removal of the other work OK?
s
eems to work OK if a module is actually built and installed. on my system, the config for rtl8821cu does not build a module, so the detection doesn't find it and the package is not offered for removal, but on the other hand, there isn't any real building either because the module build is skipped after certain kernel versions. I don't think we pre-installed this one on 23.
***edit*** never mind that statement, I'm an idiot. yeah, shoudl be ok once added to the list.
Re: Time consumung: installing and updating new software or kernels..?
Posted: Thu Feb 01, 2024 11:24 pm
by Adrian
timkb4cq wrote: Thu Feb 01, 2024 11:12 pm
If you want to include wl (broadcom-sta-dkms) you'll have to handle that one a bit differently.
And IIRC, MX-21 also had rtl8814au-dkms (8814au) and rtl8821cu (8821cu) installed.
I'm not sure, should I deal with broadcom-sta-dkms, I don't remember it taking a long time to build, most of the issues are with Realtek drivers, I would also have to rename the button to something more general but "Remove unused WiFi drivers"?
What would I grep for "wl"? I also worried that there might be some other modules that contain the "wl" string...
Re: Time consumung: installing and updating new software or kernels..?
Posted: Thu Feb 01, 2024 11:27 pm
by dolphin_oracle
Adrian wrote: Thu Feb 01, 2024 11:24 pm
timkb4cq wrote: Thu Feb 01, 2024 11:12 pm
If you want to include wl (broadcom-sta-dkms) you'll have to handle that one a bit differently.
And IIRC, MX-21 also had rtl8814au-dkms (8814au) and rtl8821cu (8821cu) installed.
I'm not sure, should I deal with broadcom-sta-dkms, I don't remember it taking a long time to build, most of the issues are with Realtek drivers, I would also have to rename the button to something more general but "Remove unused WiFi drivers"?
What would I grep for "wl"? I also worried that there might be some other modules that contain the "wl" string...
it would need to regrex the whole work, not just wl, as yes, there are several "wl*" modules.
Re: Time consumung: installing and updating new software or kernels..?
Posted: Thu Feb 01, 2024 11:43 pm
by Adrian
OK, added d rtl8814au-dkms, rtl8821cu, and broadcom-sta-dkms and change the button name to "Remove unused WiFi drivers"
New build here:
https://build.opensuse.org/projects/hom ... 2/binaries
Re: Time consumung: installing and updating new software or kernels..?
Posted: Thu Feb 01, 2024 11:56 pm
by dolphin_oracle
does what it says on the box.
even though my wifi is intel, wl is apparently still in use by the bluetooth, and since the module was loaded it was not picked up. which is good.
Re: Time consumung: installing and updating new software or kernels..?
Posted: Fri Feb 02, 2024 12:17 am
by Adrian
Unless somebody finds some fault with this, @timkb4cq, mx-cleanup should be good for update.
Re: Time consumung: installing and updating new software or kernels..?
Posted: Fri Feb 02, 2024 12:23 pm
by timkb4cq
Will do.
One suggestion though. There should be a warning that any wifi adapter not currently plugged in could have its driver removed.
Re: Time consumung: installing and updating new software or kernels..?
Posted: Fri Feb 02, 2024 12:34 pm
by Charlie Brown
timkb4cq wrote: Fri Feb 02, 2024 12:23 pm... any wifi adapter not currently plugged in could have its driver removed.
Good catch .
Re: Time consumung: installing and updating new software or kernels..?
Posted: Fri Feb 02, 2024 12:57 pm
by oops
... Yes, or "Please, Plug all your WiFi devices first".
Re: Time consumung: installing and updating new software or kernels..?
Posted: Fri Feb 02, 2024 2:36 pm
by MXRobo
Received update already, tried it, but I removed the dkms previously. - - - - - ++EDIT- wifi is intel.
Re: Time consumung: installing and updating new software or kernels..?
Posted: Fri Feb 02, 2024 3:05 pm
by Charlie Brown
MXRobo wrote: Fri Feb 02, 2024 2:36 pm... tried it, but I removed the dkms previously.
Me, too :)
But it's successful cause it didn't touch to (even not listed)
wl (Broadcom-sta in use here) .
Re: Time consumung: installing and updating new software or kernels..?
Posted: Fri Feb 02, 2024 3:49 pm
by richb
My result: Get an error but I do not know if that is expected.
Code: Select all
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
Package 'rtl8814au-dkms' is not installed, so not removed
Package 'rtl8821au-dkms' is not installed, so not removed
Package 'rtl8821ce-dkms' is not installed, so not removed
The following packages will be REMOVED:
rtl8812au-dkms* rtl8821cu-dkms*
0 upgraded, 0 newly installed, 2 to remove and 0 not upgraded.
After this operation, 39.2 MB disk space will be freed.
Do you want to continue? [Y/n] y
(Reading database ... 349263 files and directories currently installed.)
Removing rtl8821cu-dkms (5.12.0+git20230215-1~mx23+3) ...
/usr/sbin/dkms.mx remove -m rtl8821cu -v 5.12.0 --all
Error! The module/version combo: rtl8821cu-5.12.0 is not located in the DKMS tree.
dpkg: error processing package rtl8821cu-dkms (--remove):
installed rtl8821cu-dkms package pre-removal script subprocess returned error exit status 3
dpkg: too many errors, stopping
Errors were encountered while processing:
rtl8821cu-dkms
Processing was halted because there were too many errors.
E: Sub-process /usr/bin/dpkg returned an error code (1)
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
Re: Time consumung: installing and updating new software or kernels..?
Posted: Fri Feb 02, 2024 4:04 pm
by dolphin_oracle
richb wrote: Fri Feb 02, 2024 3:49 pm
My result: Get an error but I do not know if that is expected.
Code: Select all
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
Package 'rtl8814au-dkms' is not installed, so not removed
Package 'rtl8821au-dkms' is not installed, so not removed
Package 'rtl8821ce-dkms' is not installed, so not removed
The following packages will be REMOVED:
rtl8812au-dkms* rtl8821cu-dkms*
0 upgraded, 0 newly installed, 2 to remove and 0 not upgraded.
After this operation, 39.2 MB disk space will be freed.
Do you want to continue? [Y/n] y
(Reading database ... 349263 files and directories currently installed.)
Removing rtl8821cu-dkms (5.12.0+git20230215-1~mx23+3) ...
/usr/sbin/dkms.mx remove -m rtl8821cu -v 5.12.0 --all
Error! The module/version combo: rtl8821cu-5.12.0 is not located in the DKMS tree.
dpkg: error processing package rtl8821cu-dkms (--remove):
installed rtl8821cu-dkms package pre-removal script subprocess returned error exit status 3
dpkg: too many errors, stopping
Errors were encountered while processing:
rtl8821cu-dkms
Processing was halted because there were too many errors.
E: Sub-process /usr/bin/dpkg returned an error code (1)
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
post your QSI.
Re: Time consumung: installing and updating new software or kernels..?
Posted: Fri Feb 02, 2024 4:26 pm
by richb
LOL. You would think I would know to post QSI!!
Code: Select all
System:
Kernel: 6.5.0-1mx-ahs-amd64 [6.5.3-1~mx23ahs] arch: x86_64 bits: 64 compiler: gcc v: 12.2.0
parameters: BOOT_IMAGE=/boot/vmlinuz-6.5.0-1mx-ahs-amd64 root=UUID=<filter> ro quiet splash
resume=UUID=<filter> resume_offset=46172160 init=/lib/systemd/systemd
Desktop: KDE Plasma v: 5.27.5 wm: kwin_x11 vt: 7 dm: SDDM Distro: MX-23.2_KDE_x64 Libretto
July 31 2023 base: Debian GNU/Linux 12 (bookworm)
Machine:
Type: Desktop System: Gigabyte product: N/A v: N/A serial: <superuser required> Chassis: type: 3
serial: <superuser required>
Mobo: Gigabyte model: F2A68HM-H v: x.x serial: <superuser required> UEFI: American Megatrends
v: FB date: 04/22/2015
Battery:
Device-1: hidpp_battery_0 model: Logitech MX Keys Wireless Keyboard serial: <filter>
charge: 55% (should be ignored) rechargeable: yes status: discharging
Device-2: hidpp_battery_1 model: Logitech Wireless Mouse MX Master 3 serial: <filter>
charge: 100% (should be ignored) rechargeable: yes status: discharging
CPU:
Info: model: AMD A8-7600 Radeon R7 10 Compute Cores 4C+6G bits: 64 type: MT MCP arch: Steamroller
level: v2 built: 2014 process: GF 28nm family: 0x15 (21) model-id: 0x30 (48) stepping: 1
microcode: 0x6003106
Topology: cpus: 1x cores: 4 smt: enabled cache: L1: 256 KiB desc: d-4x16 KiB; i-2x96 KiB
L2: 4 MiB desc: 2x2 MiB
Speed (MHz): avg: 2265 high: 2352 min/max: 1400/3100 boost: enabled scaling:
driver: acpi-cpufreq governor: ondemand cores: 1: 2097 2: 2340 3: 2273 4: 2352 bogomips: 24754
Flags: avx ht lm nx pae sse sse2 sse3 sse4_1 sse4_2 sse4a ssse3 svm
Vulnerabilities:
Type: gather_data_sampling status: Not affected
Type: itlb_multihit status: Not affected
Type: l1tf status: Not affected
Type: mds status: Not affected
Type: meltdown status: Not affected
Type: mmio_stale_data status: Not affected
Type: retbleed mitigation: untrained return thunk; SMT vulnerable
Type: spec_rstack_overflow 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, STIBP: disabled, RSB filling, PBRSB-eIBRS: Not
affected
Type: srbds status: Not affected
Type: tsx_async_abort status: Not affected
Graphics:
Device-1: AMD Kaveri [Radeon R7 Graphics] vendor: Gigabyte driver: radeon v: kernel
alternate: amdgpu arch: GCN-2 code: Sea Islands process: GF/TSMC 16-28nm built: 2013-17 ports:
active: VGA-1 empty: DVI-D-1,HDMI-A-1 bus-ID: 00:01.0 chip-ID: 1002:1313 class-ID: 0300
Device-2: Logitech Webcam Pro 9000 type: USB driver: snd-usb-audio,uvcvideo bus-ID: 2-2:2
chip-ID: 046d:0809 class-ID: 0102 serial: <filter>
Display: x11 server: X.Org v: 1.21.1.7 with: Xwayland v: 22.1.9 compositor: kwin_x11 driver: X:
loaded: radeon unloaded: fbdev,modesetting,vesa dri: radeonsi gpu: radeon display-ID: :0
screens: 1
Screen-1: 0 s-res: 1920x1080 s-dpi: 96 s-size: 508x285mm (20.00x11.22") s-diag: 582mm (22.93")
Monitor-1: VGA-1 mapped: VGA-0 model: Samsung S22D300 serial: <filter> built: 2015
res: 1920x1080 hz: 60 dpi: 102 gamma: 1.2 size: 477x268mm (18.78x10.55") diag: 547mm (21.5")
ratio: 16:9 modes: max: 1920x1080 min: 720x400
API: OpenGL v: 4.5 Mesa 23.1.2-1~mx23ahs renderer: KAVERI ( LLVM 15.0.6 DRM 2.50
6.5.0-1mx-ahs-amd64) direct-render: Yes
Audio:
Device-1: AMD Kaveri HDMI/DP Audio vendor: Gigabyte driver: snd_hda_intel v: kernel bus-ID: 2-2:2
bus-ID: 00:01.1 chip-ID: 046d:0809 class-ID: 0102 chip-ID: 1002:1308 class-ID: 0403
serial: <filter>
Device-2: AMD FCH Azalia vendor: Gigabyte driver: snd_hda_intel v: kernel bus-ID: 00:14.2
chip-ID: 1022:780d class-ID: 0403
Device-3: Logitech Webcam Pro 9000 type: USB driver: snd-usb-audio,uvcvideo
API: ALSA v: k6.5.0-1mx-ahs-amd64 status: kernel-api tools: alsamixer,amixer
Server-1: PipeWire v: 1.0.0 status: active with: 1: pipewire-pulse status: active
2: wireplumber status: active 3: pipewire-alsa type: plugin 4: pw-jack type: plugin
tools: pactl,pw-cat,pw-cli,wpctl
Network:
Device-1: Realtek RTL8111/8168/8411 PCI Express Gigabit Ethernet vendor: Gigabyte driver: r8169
v: kernel pcie: gen: 1 speed: 2.5 GT/s lanes: 1 port: e000 bus-ID: 01:00.0 chip-ID: 10ec:8168
class-ID: 0200
IF: eth0 state: down mac: <filter>
Device-2: Qualcomm Atheros AR93xx Wireless Network Adapter driver: ath9k v: kernel modules: wl
pcie: gen: 1 speed: 2.5 GT/s lanes: 1 bus-ID: 02:00.0 chip-ID: 168c:0030 class-ID: 0280
IF: wlan0 state: up mac: <filter>
IF-ID-1: tun0 state: unknown speed: 10000 Mbps duplex: full mac: N/A
Drives:
Local Storage: total: 698.66 GiB used: 81.12 GiB (11.6%)
SMART Message: Unable to run smartctl. Root privileges required.
ID-1: /dev/sda maj-min: 8:0 vendor: Samsung model: SSD 850 EVO 250GB size: 232.89 GiB
block-size: physical: 512 B logical: 512 B speed: 6.0 Gb/s type: SSD serial: <filter> rev: 2B6Q
scheme: GPT
ID-2: /dev/sdb maj-min: 8:16 vendor: Samsung model: SSD 850 EVO 250GB size: 232.89 GiB
block-size: physical: 512 B logical: 512 B speed: 6.0 Gb/s type: SSD serial: <filter> rev: 2B6Q
scheme: GPT
ID-3: /dev/sdc maj-min: 8:32 vendor: Samsung model: SSD 850 EVO 250GB size: 232.89 GiB
block-size: physical: 512 B logical: 512 B speed: 6.0 Gb/s type: SSD serial: <filter> rev: 2B6Q
scheme: GPT
Partition:
ID-1: / raw-size: 232.63 GiB size: 227.92 GiB (97.97%) used: 81.12 GiB (35.6%) fs: ext4
dev: /dev/sdb2 maj-min: 8:18
ID-2: /boot/efi raw-size: 256 MiB size: 252 MiB (98.46%) used: 274 KiB (0.1%) fs: vfat
dev: /dev/sdb1 maj-min: 8:17
Swap:
Kernel: swappiness: 15 (default 60) cache-pressure: 100 (default)
ID-1: swap-1 type: file size: 18.58 GiB used: 0 KiB (0.0%) priority: -2 file: /swap/swap
Sensors:
System Temperatures: cpu: 14.6 C mobo: N/A gpu: radeon temp: 16.0 C
Fan Speeds (RPM): N/A
Repos:
Packages: pm: dpkg pkgs: 2586 libs: 1402 tools: apt,apt-get,aptitude,nala,synaptic pm: rpm
pkgs: 0 pm: flatpak pkgs: 0
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 bookworm-updates main contrib non-free non-free-firmware
Active apt repos in: /etc/apt/sources.list.d/debian.list
1: deb http://deb.debian.org/debian bookworm main contrib non-free non-free-firmware
2: deb http://security.debian.org/debian-security bookworm-security main contrib non-free non-free-firmware
Active apt repos in: /etc/apt/sources.list.d/google-chrome.list
1: deb [arch=amd64] https://dl.google.com/linux/chrome/deb/ stable main
Active apt repos in: /etc/apt/sources.list.d/mx.list
1: deb https://mxrepo.com/mx/repo/ bookworm main non-free
2: deb https://mxrepo.com/mx/repo/ bookworm ahs
Active apt repos in: /etc/apt/sources.list.d/vivaldi.list
1: deb [arch=amd64] https://repo.vivaldi.com/stable/deb/ stable main
Info:
Processes: 240 Uptime: 2h 53m wakeups: 68 Memory: 14.58 GiB used: 3.47 GiB (23.8%) Init: systemd
v: 252 target: graphical (5) default: graphical tool: systemctl Compilers: gcc: 12.2.0 alt: 12
Client: shell wrapper v: 5.2.15-release inxi: 3.3.26
Boot Mode: UEFI
Re: Time consumung: installing and updating new software or kernels..?
Posted: Fri Feb 02, 2024 5:01 pm
by timkb4cq
I wonder if that one fails because it is set to only build the module for kernels <=6.1 so it isn't active on the 6.5 that you are running.
The script that is failing is /var/lib/dpkg/info/rtl8821cu-dkms.prerm
Removing that file will allow the package to be removed.
Though if you still have a 6.1 or older kernel installed it would be instructive to have you boot into that and see if the removal works.
Re: Time consumung: installing and updating new software or kernels..?
Posted: Fri Feb 02, 2024 5:33 pm
by richb
@timkb4cq I do have a 6.1 kernel installed. I will try the removal on that.
EDIT:
Same error with the 6.1 kernel.
I am not concerned about this in my case. I am just reporting for information.
Re: Time consumung: installing and updating new software or kernels..?
Posted: Fri Feb 02, 2024 5:59 pm
by dolphin_oracle
I'm not seeing this error, and I just get a message that the module was not active on 6.7. I do have it on 6.1 though so maybe that helped.
Re: Time consumung: installing and updating new software or kernels..?
Posted: Fri Feb 02, 2024 6:39 pm
by Adrian
I've seen this kind of problem before, it's a pre-removal script that fails for some reason, I think I had to change that by hand so it won't crap out. But just so people know, problem has nothing to do with the removal tool.
Re: Time consumung: installing and updating new software or kernels..?
Posted: Fri Feb 02, 2024 8:07 pm
by fehlix
richb wrote: Fri Feb 02, 2024 3:49 pm
My result: Get an error but I do not know if that is expected.
Thanks. You triggered a "bug" in mx dkms handling, which is now fixed.
Send a PR to mx-system @ github.
@dolphin_oracle , please rebuild.
Thanks
Re: Time consumung: installing and updating new software or kernels..?
Posted: Fri Feb 02, 2024 11:25 pm
by dolphin_oracle
@fehlix sent.
Re: Time consumung: installing and updating new software or kernels..?
Posted: Sat Feb 03, 2024 5:39 am
by ceeslans
@fehlix @dolphin_oracle : installing the newly upgraded 'mx-system' package solved my issue with removal of 'broadcom-sta-dkms'. Thank you very much!
Re: Time consumung: installing and updating new software or kernels..?
Posted: Sat Feb 03, 2024 9:21 am
by richb
@fehlix
Thanks for the change. That was successful in clearing the error.
Re: Time consumung: installing and updating new software or kernels..?
Posted: Sat Feb 03, 2024 12:58 pm
by MXRobo
@Jerry3904 Didn't know where to post - not important - just FYI & mentioning.
Re:
viewtopic.php?p=764426#p764426
Just FYI – no mention of these:
viewtopic.php?p=764327#p764327
viewtopic.php?p=764182#p764182
Re: Time consumung: installing and updating new software or kernels..?
Posted: Sat Feb 03, 2024 1:11 pm
by Jerry3904
Why are you tagging me, and why are you repeating parts of this thread inside this thread?
Re: Time consumung: installing and updating new software or kernels..?
Posted: Sat Feb 03, 2024 1:16 pm
by dolphin_oracle
from the blog post:
mx-cleanup added a button to automatically remove dkms wifi packages if they modules are not in use. Should help speed up kernel updates since drivers built via dkms must be built every kernel install or update.
fairly prominent mention.
moving on.
Re: Time consumung: installing and updating new software or kernels..?
Posted: Sat Feb 03, 2024 1:32 pm
by MXRobo
Sorry,
I won't tag anymore.
But in reference to the MX New Week mention and the linked blog.
I thought that perhaps - these may have been overlooked, but apparently not:
#46 "One suggestion though. There should be a warning that any wifi adapter not currently plugged in could have its driver removed."
#15 "explain the ramifications of removing them (positives -- less or no compile time during kernel updates with the un-needed dkms packages removed, negatives -- with the dkms packages removed you might not have working wifi if you make a snapshot and then want to use it on other machine(s)|hardware)."
And apologies for the post.
Re: Time consumung: installing and updating new software or kernels..?
Posted: Sat Feb 03, 2024 1:36 pm
by dolphin_oracle
MXRobo wrote: Sat Feb 03, 2024 1:32 pm
Sorry,
I won't tag anymore.
But in reference to the MX New Week mention and the linked blog.
I thought that
perhaps - these may have been overlooked, but apparently not:
#46 "One suggestion though. There should be a warning that any wifi adapter not currently plugged in could have its driver removed."
#15 "explain the ramifications of removing them (positives -- less or no compile time during kernel updates with the un-needed dkms packages removed, negatives -- with the dkms packages removed you might not have working wifi if you make a snapshot and then want to use it on other machine(s)|hardware)."
And apologies for the post.
no worries.
Re: Time consumung: installing and updating new software or kernels..?
Posted: Sat Feb 03, 2024 1:54 pm
by Adrian
#46 "One suggestion though. There should be a warning that any wifi adapter not currently plugged in could have its driver removed."
I understand where Tim's recommendation comes from, but I'm a bit against adding more pop-ups and warnings that people don't necessarily read and click through. If people click on a button it's best if they understand the concept of it, of course it's going to remove stuff that is not in use, that's what it actually says "unused WiFi drivers", so if you plug in something later on it's on you to determine how you deal with the driver for that.
Re: Time consumung: installing and updating new software or kernels..?
Posted: Sat Feb 03, 2024 4:57 pm
by figueroa
Brilliant discussion and solution to the problem of maintaining unneeded external wifi kernel modules as an MX-Cleanup option.
Re: Time consumung: installing and updating new software or kernels..?
Posted: Sat Feb 03, 2024 5:28 pm
by Jerry3904
@kmathern See what you started?
Re: Time consumung: installing and updating new software or kernels..?
Posted: Sat Feb 03, 2024 5:32 pm
by Adrian
Jerry3904 wrote: Sat Feb 03, 2024 5:28 pm
@kmathern See what you started?
By the way, Kent, it's nice to see you back around

Re: Time consumung: installing and updating new software or kernels..?
Posted: Sat Feb 03, 2024 6:01 pm
by kmathern
Adrian wrote: Sat Feb 03, 2024 5:32 pm
Jerry3904 wrote: Sat Feb 03, 2024 5:28 pm
@kmathern See what you started?
By the way, Kent, it's nice to see you back around
Yeah I do, not sure if you're happy or upset.
I've always been a bit annoyed waiting on the dkms stuff to get compiled when a kernel updated/installed, especially when it was for hardware/devices I wasn't using. But I knew why it was happening. There was another thread here I posted in recently where we suggested installing a newer Liquorix kernel. The person in that thread got a bunch of dkms related warnings/errors when trying to install the new kernel. I think the kernel had actually installed sucessfully but he bailed (chickened out) when he saw all warnings & error messages.
Re: Time consumung: installing and updating new software or kernels..?
Posted: Sat Feb 03, 2024 6:29 pm
by Jerry3904
Yeah I do, not sure if you're happy or upset.

Re: Time consumung: installing and updating new software or kernels..? [Solved]
Posted: Sun Feb 11, 2024 7:30 am
by harrykar
Arrived here (trough a
post link while reading another thread) afterwards but still want Thank all you for your very nice job on solve that annoying issue

Someone(OP?) can click on Solved please.
Moreover all that help me slowly get more accustomed with MX's tools that IMHO are necessary commodities to newbie(but not only) users that want to use the system instead of learn how to manage it.
Cheers!!
Code: Select all
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
Package 'rtl8814au-dkms' is not installed, so not removed
Package 'rtl8821au-dkms' is not installed, so not removed
The following package was automatically installed and is no longer required:
libpango1.0-0
Use 'apt autoremove' to remove it.
The following packages will be REMOVED:
rtl8812au-dkms* rtl8821ce-dkms* rtl8821cu-dkms*
0 upgraded, 0 newly installed, 3 to remove and 0 not upgraded.
After this operation, 86.8 MB disk space will be freed.
Do you want to continue? [Y/n] y
(Reading database ... 410921 files and directories currently installed.)
Removing rtl8812au-dkms (5.13.6+git20240119-1~mx23) ...
/usr/sbin/dkms.mx status -m 8812au
/usr/sbin/dkms.mx remove -m 8812au -v 5.13.6 --all
Module 8812au-5.13.6 for kernel 6.6.10-3-liquorix-amd64 (x86_64).
Before uninstall, this module version was ACTIVE on this kernel.
8812au.ko.zst:
- Uninstallation
- Deleting from: /lib/modules/6.6.10-3-liquorix-amd64/updates/dkms/
- Original module
- No original module was found for this module on this kernel.
- Use the dkms install command to reinstall any previous module version.
depmod...
Module 8812au-5.13.6 for kernel 6.6.11-amd64 (x86_64).
Before uninstall, this module version was ACTIVE on this kernel.
8812au.ko.xz:
- Uninstallation
- Deleting from: /lib/modules/6.6.11-amd64/updates/dkms/
- Original module
- No original module was found for this module on this kernel.
- Use the dkms install command to reinstall any previous module version.
depmod....
Module 8812au-5.13.6 for kernel 6.6.12-1-liquorix-amd64 (x86_64).
Before uninstall, this module version was ACTIVE on this kernel.
8812au.ko.xz:
- Uninstallation
- Deleting from: /lib/modules/6.6.12-1-liquorix-amd64/updates/dkms/
- Original module
- No original module was found for this module on this kernel.
- Use the dkms install command to reinstall any previous module version.
depmod.....
Deleting module 8812au-5.13.6 completely from the DKMS tree.
Removing rtl8821ce-dkms (5.5.2.1+git20240120-0~mx23) ...
/usr/sbin/dkms.mx status -m rtl8821ce -v 5.5.2.1+git20240120
Deprecated feature: MODULES_CONF (/var/lib/dkms/rtl8821ce/5.5.2.1+git20240120/source/dkms.conf)
Deprecated feature: MODULES_CONF (/var/lib/dkms/rtl8821ce/5.5.2.1+git20240120/source/dkms.conf)
Deprecated feature: MODULES_CONF (/var/lib/dkms/rtl8821ce/5.5.2.1+git20240120/source/dkms.conf)
/usr/sbin/dkms.mx remove -m rtl8821ce -v 5.5.2.1+git20240120 --all
Deprecated feature: MODULES_CONF (/var/lib/dkms/rtl8821ce/5.5.2.1+git20240120/source/dkms.conf)
Deprecated feature: MODULES_CONF (/var/lib/dkms/rtl8821ce/5.5.2.1+git20240120/source/dkms.conf)
Deprecated feature: MODULES_CONF (/var/lib/dkms/rtl8821ce/5.5.2.1+git20240120/source/dkms.conf)
Deprecated feature: MODULES_CONF (/var/lib/dkms/rtl8821ce/5.5.2.1+git20240120/source/dkms.conf)
Module rtl8821ce-5.5.2.1+git20240120 for kernel 6.6.10-3-liquorix-amd64 (x86_64).
Before uninstall, this module version was ACTIVE on this kernel.
rtl8821ce.ko.zst:
- Uninstallation
- Deleting from: /lib/modules/6.6.10-3-liquorix-amd64/updates/dkms/
- Original module
- No original module was found for this module on this kernel.
- Use the dkms install command to reinstall any previous module version.
depmod...
Deprecated feature: MODULES_CONF (/var/lib/dkms/rtl8821ce/5.5.2.1+git20240120/source/dkms.conf)
Module rtl8821ce-5.5.2.1+git20240120 for kernel 6.6.11-amd64 (x86_64).
Before uninstall, this module version was ACTIVE on this kernel.
rtl8821ce.ko.xz:
- Uninstallation
- Deleting from: /lib/modules/6.6.11-amd64/updates/dkms/
- Original module
- No original module was found for this module on this kernel.
- Use the dkms install command to reinstall any previous module version.
depmod....
Deprecated feature: MODULES_CONF (/var/lib/dkms/rtl8821ce/5.5.2.1+git20240120/source/dkms.conf)
Module rtl8821ce-5.5.2.1+git20240120 for kernel 6.6.12-1-liquorix-amd64 (x86_64).
Before uninstall, this module version was ACTIVE on this kernel.
rtl8821ce.ko.xz:
- Uninstallation
- Deleting from: /lib/modules/6.6.12-1-liquorix-amd64/updates/dkms/
- Original module
- No original module was found for this module on this kernel.
- Use the dkms install command to reinstall any previous module version.
depmod....
Deleting module rtl8821ce-5.5.2.1+git20240120 completely from the DKMS tree.
Removing rtl8821cu-dkms (5.12.0+git20230215-1~mx23+3) ...
/usr/sbin/dkms.mx status -m rtl8821cu -v 5.12.0
(Reading database ... 408755 files and directories currently installed.)
Purging configuration files for rtl8812au-dkms (5.13.6+git20240119-1~mx23) ...
Purging configuration files for rtl8821cu-dkms (5.12.0+git20230215-1~mx23+3) ...
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
The following package was automatically installed and is no longer required:
libpango1.0-0
Use 'apt autoremove' to remove it.
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
Press any key to close
Re: Time consumung: installing and updating new software or kernels..?
Posted: Wed Jul 03, 2024 9:20 pm
by carsti
Haha. I am the OP of this thread and I revisited it again, since I wanted to give MX Linux another try. Crazy what came out of my stupid question. Is it really now part of the official release? I start to understand why MX Linux is the most popular distribution.
Re: Time consumung: installing and updating new software or kernels..?
Posted: Thu Jul 04, 2024 2:25 am
by Stevo
Hmmm...yeah, they take a while on a lower-end machine to rebuild every time.
We could include the wi-fi dkms debs as data with the ISO, so they could be installed without a connection, but are inert without being installed...but then there are the users who simply will not read the manual and expect the wi-fi to work out of the box, and will complain if it doesn't. Best we can do is say "MX Cleanup after every install of MX!"
Re: Time consumung: installing and updating new software or kernels..?
Posted: Thu Jul 04, 2024 8:29 am
by carsti
Stevo wrote: Thu Jul 04, 2024 2:25 am
Hmmm...yeah, they take a while on a lower-end machine to rebuild every time.
We could include the wi-fi dkms debs as data with the ISO, so they could be installed without a connection, but are inert without being installed...but then there are the users who simply will not read the manual and expect the wi-fi to work out of the box, and will complain if it doesn't. Best we can do is say "MX Cleanup after every install of MX!"
Sounds good to me.