After removing both locales and i386 packages, I still get error: Preparing to unpack .../libc6_2.34-0ubuntu3_amd64.deb ... Checking for services that may need to be restarted... Checking init scripts... Checking for services that may need to be restarted... Checking init scripts... Stopping some services possibly affected by the upgrade (will be restarted later): cron: stopping...done. Unpacking libc6:amd64 (2.34-0ubuntu3) over (2.33-0ubuntu5) ... Progress: [ 38%] Setting up libc6:amd64 (2.34-0ubuntu3) ... /usr/bin/perl: symbol lookup error: /usr/local/lib/AppProtection/libAppProtection.so: undefined symbol: _dl_sym, version GLIBC_PRIVATE dpkg: error processing package libc6:amd64 (--configure): installed libc6:amd64 package post-installation script subprocess returned error exit status 127 /usr/bin/python3: symbol lookup error: /usr/local/lib/AppProtection/libAppProtection.so: undefined symbol: _dl_sym, version GLIBC_PRIVATE Errors were encountered while processing: libc6:amd64 Exception during pm.DoInstall(): E:Sub-process /usr/bin/dpkg returned an error code (1) Could not install the upgrades The upgrade has aborted. Your system could be in an unusable state. A recovery will run now (dpkg --configure -a). Setting up libc6:amd64 (2.34-0ubuntu3) ... /usr/bin/perl: symbol lookup error: /usr/local/lib/AppProtection/libAppProtection.so: undefined symbol: _dl_sym, version GLIBC_PRIVATE dpkg: error processing package libc6:amd64 (--configure): installed libc6:amd64 package post-installation script subprocess returned error exit status 127 dpkg: dependency problems prevent configuration of libc6-dev:amd64: libc6-dev:amd64 depends on libc6 (= 2.34-0ubuntu3); however: Package libc6:amd64 is not configured yet. dpkg: error processing package libc6-dev:amd64 (--configure): dependency problems - leaving unconfigured dpkg: dependency problems prevent configuration of libc-dev-bin: libc-dev-bin depends on libc6 (>> 2.34); however: Package libc6:amd64 is not configured yet. libc-dev-bin depends on libc6 (<< 2.35); however: Package libc6:amd64 is not configured yet. dpkg: error processing package libc-dev-bin (--configure): dependency problems - leaving unconfigured dpkg: dependency problems prevent configuration of libc6-dbg:amd64: libc6-dbg:amd64 depends on libc6 (= 2.34-0ubuntu3); however: Package libc6:amd64 is not configured yet. dpkg: error processing package libc6-dbg:amd64 (--configure): dependency problems - leaving unconfigured dpkg: dependency problems prevent processing triggers for man-db: man-db depends on libc6 (>= 2.33); however: Package libc6:amd64 is not configured yet. dpkg: error processing package man-db (--configure): dependency problems - leaving triggers unprocessed dpkg: dependency problems prevent processing triggers for libc-bin: libc-bin depends on libc6 (>> 2.33); however: Package libc6:amd64 is not configured yet. libc-bin depends on libc6 (<< 2.34); however: Version of libc6:amd64 on system is 2.34-0ubuntu3. dpkg: error processing package libc-bin (--configure): dependency problems - leaving triggers unprocessed Errors were encountered while processing: libc6:amd64 libc6-dev:amd64 libc-dev-bin libc6-dbg:amd64 man-db libc-bin Upgrade incomplete The upgrade has partially completed but there were errors during the upgrade process.