r/MXLinux • u/vegitogogta • 25d ago
Bug report Can't install anything
Since kernel 6.12.101 release, it keeps failing on building itself and just doesn't let me install some stuff like mybash as it just FAILS on building itself. I don't know if this is MX Linux specific but I'm using MX Linux and it is failing. Hope it gets fixed before I need to change to another distro to just install software I need. :/
2
u/vegitogogta 25d ago
2
u/Gabriel_Velazco 25d ago
Confirmar líneas con: grep -n "KERNEL_VERSION(6, 13, 0)" /usr/src/8812au-5.13.6/os_dep/linux/ioctl_cfg80211.c
grep -n "KERNEL_VERSION(6, 13, 0)" /usr/src/rtl8821cu-5.12.0/os_dep/linux/ioctl_cfg80211.c
Si los números de línea coinciden con esto (6906 y 6969), aplicar:
sudo sed -i '6906s/KERNEL_VERSION(6, 13, 0)/KERNEL_VERSION(6, 12, 101)/' /usr/src/8812au-5.13.6/os_dep/linux/ioctl_cfg80211.c
sudo sed -i '6969s/KERNEL_VERSION(6, 13, 0)/KERNEL_VERSION(6, 12, 101)/' /usr/src/rtl8821cu-5.12.0/os_dep/linux/ioctl_cfg80211.c
Recompilar y desatascar:
sudo dkms install -m 8812au -v 5.13.6 -k 6.12.101+deb13-amd64 --force
sudo dkms install -m rtl8821cu -v 5.12.0 -k 6.12.101+deb13-amd64 --force
sudo dpkg --configure -a
sudo apt --fix-broken install
2
u/dolphinoracle MX dev 25d ago
two things....debian changed a value somewhere in the new kernel and a couple of the rtl88 packages do not build there modules correctly. those are being updated now. The messages provided by apt actually say what packages are the problem (although not the shortened version in the screenshot).. YOu can also remove the packages, and the installation of the new kernels will complete.
1
u/vegitogogta 25d ago
PS : it just makes stuff so much longer to install bruh. Gotta wait till it fails building the module so I can do shit.
1
u/vegitogogta 25d ago
Tried to follow this guide https://forum.mxlinux.org/viewtopic.php?t=89501 and it bricked it sooo guess we're reinstalling back to 6.12.90
1
1
u/Kilowatt68 25d ago
I saw the same errors today doing an upgrade. Considered rolling back via Timeshift but after a reboot everything seemed to behave, so I have left it as is fow now. I didn't try any new installs.
1
u/Kilowatt68 24d ago
Resolved the issue using instructions in the forum. Running OK now on kernel .101
1
u/Cautious_Arachnid773 24d ago
Yeah happened to me too.. I just removed my unused wifi drivers and ran dpkg configure -a command and then sudo apt install -f ..then the usual stuff and it worked fine after that

3
u/batfink10 25d ago
I had the same issue. Manually removed each of the packages causing error. Ran MX Cleanup and removed any old kernel packages. Reboot and all was good again. Updated fine and no more errors.