I have the following problem:
I had to mingle with some libs to build a project successfully. After I rebuild one of those libs (libtirpc) something broke and I was not able to either sudo nor use apt or other tools to somehow restore the old libtirpc version.
Now I am not even able to reboot anymore.
Can I use a live USB with the same Ubuntu ISO (Ubuntu 22.04.3) start a live session mount the root partition of my broken installation and then chroot
into that?
Can I then use the live sessions sudo rights and e.g. apt, to reinstall libtirpc to the broken installation?
I have never used chroot
and would be grateful for some insights before I cause even more damage!
root
powers so no need forsudo
in thechroot
– Raffa Sep 07 '23 at 16:41RootDir
option from the live session directly. See How to re-insall libc6 after remove? – steeldriver Sep 07 '23 at 17:15