sudo apt remove ibc6-dev libgcc-8-dev
sudo apt dist-upgrade
sudo apt full-upgrade
sudo apt autoremove --purge
most of conflicts came from glibc devel/gcc packages, can be solved by removing gcc.
then reinstalling if needed
note all -dev packaes are headers, so totally not needed for regular running system, those are usable only if you plan to build/compile app depending on library…
so all -dev packages you can simply remove.
most of gcc packakages and compilers too.
then reinstall only those you need to continue dev work.
most of dkms packages like librem-ec driver will automagically reinstall required -dev packages and compilers back.
i hope that helps.