I had an update prompt the other day on Ubuntu and It failed part way through. When i eventually restarted I no longer get a log on screen. I tried some different fixes i found online from using a usb live drive to mount the drive and run apt update, dpkg fixes etc... i can't remember exactly everything i tried but to no avail.
I can't login from the terminal with root or my local account because i get the error in the screenshot example below: /bin/login: symbol lookup error: /usr/local/lib/AppProtection/libAppProtection.so: indefined symbol: dl_sym, version GLIBC Private
I screen shotted the processes list and the login error: https://imgur.com/a/R5CON2L
I tried Ubuntu recovery login from the grub menu and same thing. I tried all 4 options from the menu current version, current version recovery and what looks like a previous version and previous version recovery.
Anyone know what i can do to fix this?
I had posted this on reddit when it happened and basically was told to reinstall as its faster. Figured i would post here just in case anyone had any ideas before i just wipe everything. If you need a log or more details let me know.
EDIT #1:
I used a live usb and opened terminal. I mounted the partition via the gui disks menu. I used the chroot command to connect to that parition. from there i deleted the libAppProtection.so file and preload file. Now i can boot into the installation but i think the failed update from prior has different versions of LIBC6 and other files that cause apt update to fail. Hopefully i can get the correct versions installed and get that working again. E:Error, pkgProblemResolver::Resolve generated breaks, this may be caused by held packages.
Edit #2
sudo apt upgrade Reading package lists... Done Building dependency tree... Done Reading state information... Done You might want to run 'apt --fix-broken install' to correct these. The following packages have unmet dependencies: libapt-pkg6.0 : Depends: libgcrypt20 (>= 1.9.0) but 1.8.7-2ubuntu2.1 is installed Recommends: apt (>= 2.3.15) but 2.2.4ubuntu0.1 is installed libc6 : Recommends: libnss-nis but it is not installed Recommends: libnss-nisplus but it is not installed Breaks: libc6:i386 (!= 2.34-0ubuntu3) but 2.33-0ubuntu5 is installed libc6:i386 : Breaks: libc6 (!= 2.33-0ubuntu5) but 2.34-0ubuntu3 is installed libc6-amd64:i386 : Depends: libc6:i386 (= 2.34-0ubuntu3) but 2.33-0ubuntu5 is installed E: Unmet dependencies. Try 'apt --fix-broken install' with no packages (or specify a solution).