Hi. So, I am trying to upgrade a server I have in the cloud from bullseye to bookworm and it fails with the following message: Setting up libgcc-s1:amd64 (12.2.0-14) ... Setting up libc6:amd64 (2.36-9+deb12u3) ... /usr/bin/perl: error while loading shared libraries: libcrypt.so.1: cannot open shared object file: No such file or directory dpkg: error processing package libc6:amd64 (--configure): installed libc6:amd64 package post-installation script subprocess returned error exit status 127 Errors were encountered while processing: libc6:amd64 E: Sub-process /usr/bin/dpkg returned an error code (1)
So, I tried apt --fix-broken install but no joy. I got: Correcting dependencies... Done The following packages were automatically installed and are no longer required: at ccache colord-data cowbuilder cowdancer cpp-8 dctrl-tools default-libmysqlclient-dev default-mysql-server devscripts diffstat distro-info-data dput eatmydata equivs g++-4.9 g++-6 gir1.2-atk-1.0 gir1.2-gtk-2.0 gir1.2-harfbuzz-0.0 gir1.2-pango-1.0 git-buildpackage gnupg-agent imagemagick-common irqbalance libalgorithm-c3-perl libapache2-mod-log-sql libapache2-mod-log-sql-mysql libapache2-mod-log-sql-ssl libapt-pkg6.0 libarchive-extract-perl libasan5 libass5 libasync-mergepoint-perl libatk1.0-dev libavcodec-extra libavcodec-extra-56 libavformat56 libavformat57 libavresample2 libavresample3 libavutil54 libbabeltrace-ctf1 libbasicusageenvironment0 libbind9-140 libbind9-90 libbison-dev libbluray1 libbson-1.0-0 libbson-dev libcapture-tiny-perl libcdio13 libcdio18 libcdt5 libcgraph6 libchromaprint0 libclang1-3.5 libclass-accessor-perl libclass-c3-perl libclass-c3-xs-perl libclass-inspector-perl libcolorhug2 libcommon-sense-perl libconst-fast-perl libcontextual-return-perl libconvert-binhex-perl libcpan-changes-perl libdata-perl-perl libdata-section-perl libdevel-caller-perl libdevel-globaldestruction-perl libdevel-lexalias-perl libdigest-bubblebabble-perl libdirectfb-1.2-9 libdistro-info-perl libdns-export162 libdns100 libdns162 libdvbpsi9 libeatmydata1 libefivar0 libegl-mesa0 libegl1 libegl1-mesa libelfg0 libemail-valid-perl libenca0 libevent-2.0-5 libexif-doc libexporter-lite-perl libfile-chdir-perl libfile-copy-recursive-perl libfile-homedir-perl libfile-slurp-perl libfile-which-perl libfribidi-dev libfuture-perl libg7221-dev libg72211 libgail-common libgail18 libgbm1 libgif4 libgit-wrapper-perl libgitlab-api-v4-perl libgl1-mesa-glx libgpgme11 libgphoto2-port10 libgraphite2-dev libgraphviz-dev libgroupsock1 libgtk2.0-0 libgtk2.0-bin libgtk2.0-common libgtk2.0-dev libgtkglext1 libgts-0.7-5 libgts-bin libgudev-1.0-0 libgusb2 libgvc6 libgvc6-plugins-gtk libgvpr2 libharfbuzz-dev libharfbuzz-gobject0 libharfbuzz-icu0 libheap-perl libhiredis0.10 libhiredis0.13 libhttp-tiny-multipart-perl libical1a libical2 libicu72 libilbc-dev libilbc1 libilmbase12 libilmbase6 libintelrdfpmath-dev libio-async-perl libio-prompter-perl libio-pty-perl libio-sessiondata-perl libio-string-perl libipc-run-perl libirs-export141 libirs141 libisc-export160 libisc160 libisc95 libisccc-export140 libisccc140 libisccc90 libisccfg-export140 libisccfg140 libisccfg90 libisl19 libiso9660-11 libiso9660-8 libjasper-dev libjasper1 libjemalloc1 libjson-perl libjson-xs-perl liblab-gamut1 libldns1 liblircclient0 liblist-compare-perl liblist-moreutils-perl liblivemedia23 liblivemedia57 libllvm3.5 liblog-any-adapter-screen-perl liblog-any-perl liblog-message-perl liblog-message-simple-perl liblua5.1-0 liblvm2app2.2 liblvm2cmd2.02 liblwres141 liblwres90 libmagickcore-6.q16-3 libmagickcore-6.q16-3-extra libmagickwand-6.q16-3 libmariadb-dev-compat libmicrodns0 libmime-tools-perl libmodplug1 libmodule-build-perl libmodule-load-conditional-perl libmodule-pluggable-perl libmodule-signature-perl libmongoc-1.0-0 libmongoc-dev libmongoc1 libmongocrypt-dev libmongocrypt0 libmono-csharp4.0c-cil libmono-posix4.0-cil libmonoboehm-2.0-1 libmonoboehm-2.0-dev libmoox-handlesvia-perl libmp4v2-2 libmp4v2-dev libmro-compat-perl libnamespace-autoclean-perl libnet-dns-perl libnet-dns-sec-perl libnet-domain-tld-perl libnet-ip-perl libnfs8 libobjc-4.9-dev libobjc4 libopenal-dev libopencv-calib3d2.4v5 libopencv-contrib2.4v5 libopencv-core2.4v5 libopencv-features2d2.4v5 libopencv-flann2.4v5 libopencv-gpu2.4v5 libopencv-highgui2.4-deb0 libopencv-imgproc2.4v5 libopencv-legacy2.4v5 libopencv-ml2.4v5 libopencv-objdetect2.4v5 libopencv-ocl2.4v5 libopencv-photo2.4v5 libopencv-stitching2.4v5 libopencv-superres2.4v5 libopencv-ts2.4v5 libopencv-video2.4v5 libopencv-videostab2.4v5 libopencv2.4-jni libopenexr22 libopenexr6 libopenjpeg5 liborc-0.4-0 libossp-uuid-perl libpackage-constants-perl libpadwalker-perl libpango1.0-dev libpangoxft-1.0-0 libparse-debcontrol-perl libparse-debianchangelog-perl libpathplan4 libperl4-corelibs-perl libperlio-gzip-perl libpod-markdown-perl libpod-readme-perl libpolkit-agent-1-0 libpostproc52 libpostproc54 libpq-dev libprocps6 libprotobuf-lite10 libpython3.5 libpython3.5-minimal libpython3.5-stdlib librabbitmq1 libreadonly-perl libref-util-perl libref-util-xs-perl libregexp-common-perl libsane-extras libsane-extras-common libschroedinger-1.0-0 libsereal-decoder-perl libsereal-encoder-perl libsereal-perl libshishi0 libsnappy-dev libsngtc libsngtc-dev libsoap-lite-perl libsoftware-license-perl libsort-versions-perl libsoundtouch0 libsox2 libstdc++-4.9-dev libstdc++-6-dev libstring-shellquote-perl libstruct-dumb-perl libswscale3 libswscale4 libtask-weaken-perl libterm-ui-perl libtest-fatal-perl libtest-refcount-perl libtext-levenshtein-perl libtext-soundex-perl libtext-template-perl libtxc-dxtn-s2tc0 libtype-tiny-perl libtype-tiny-xs-perl libtypes-serialiser-perl libunbound2 libunistring0 libunwind8 libupnp6 libusageenvironment1 libuuid-perl libv4l-0 libv4lconvert0 libvcdinfo0 libvlccore-dev libvlccore8 libvo-aacenc0 libvpx2 libvpx2-dev libwant-perl libwayland-egl1-mesa libwayland-server0 libx264-142 libx264-dev libxapian22 libxcomposite-dev libxcursor-dev libxdamage-dev libxdelta2 libxdot4 libxfixes-dev libxft-dev libxi-dev libxinerama-dev libxml-libxml-perl libxml-namespacesupport-perl libxml-sax-base-perl libxml-sax-expat-perl libxml-sax-perl libxml-simple-perl libxmlrpc-lite-perl libxrandr-dev libxxhash0 libyajl2 libyaml-libyaml-perl libzstd-dev lintian linux-compiler-gcc-4.8-x86 linux-compiler-gcc-6-x86 linux-headers-4.19.0-8-common linux-kbuild-3.16 linux-kbuild-4.19 linux-kbuild-4.9 lynx-cur nasm node-concat-map node-duplexer3 node-has-symbol-support-x node-has-to-string-tag-x node-is-object node-is-plain-obj node-is-retry-allowed node-isurl node-node-uuid node-p-timeout node-path-is-absolute node-prepend-http node-timed-out node-url-parse-lax node-url-to-options node-xtend ntpdate openjdk-8-jdk openjdk-8-jdk-headless openjdk-8-jre pango1.0-tools patchutils pbuilder pbzip2 policycoreutils pristine-tar python-dateutil python-gpg python-pyasn1 python-pyinotify python3-apt python3-asn1crypto python3-dateutil python3-debian python3-gpg python3-magic python3-pyasn1 python3-requests-toolbelt python3-unidiff python3-xdg python3.5 python3.5-minimal python3.7-minimal rename selinux-utils shishi-common strace t1utils unzip x11proto-composite-dev x11proto-damage-dev x11proto-fixes-dev x11proto-input-dev x11proto-kb-dev x11proto-randr-dev x11proto-xext-dev x11proto-xinerama-dev xdelta xdelta3 Use 'apt autoremove' to remove them. The following additional packages will be installed: binutils binutils-common binutils-x86-64-linux-gnu cpp cpp-12 dpkg g++ g++-12 gcc gcc-12 gfortran gfortran-12 libapt-pkg6.0 libasan8 libatomic1 libbinutils libblkid-dev libblkid1 libbson-1.0-0 libbson-dev libc-bin libc6-dbg libc6-dev libc6-dev-i386 libc6-dev-x32 libc6-x32 libcbor0.8 libcc1-0 libcrypt-dev libcrypt1 libctf-nobfd0 libctf0 libffi-dev libffi8 libfido2-1 libgcc-12-dev libgcrypt20 libgfortran-12-dev libgfortran5 libgirepository-1.0-1 libglib2.0-0 libglib2.0-bin libglib2.0-dev libglib2.0-dev-bin libgmp-dev libgmp10 libgmpxx4ldbl libgomp1 libgpgme11 libgprofng0 libicu72 libintelrdfpmath-dev libisl23 libitm1 liblsan0 liblzma-dev liblzma5 libmd0 libmongoc-1.0-0 libmongoc-dev libmongocrypt-dev libmongocrypt0 libmount-dev libmount1 libnsl-dev libnsl2 libp11-kit-dev libp11-kit0 libpam0g libpcre2-16-0 libpcre2-32-0 libpcre2-8-0 libpcre2-dev libpcre2-posix3 libpython3-stdlib libpython3.11-minimal libpython3.11-stdlib libquadmath0 libreadline8 libsasl2-2 libsasl2-dev libselinux1 libselinux1-dev libsepol-dev libsepol2 libsqlite3-0 libsqlite3-dev libssl3 libstdc++-12-dev libstdc++6 libtirpc-dev libtsan2 libubsan1 libudev-dev libudev1 libxxhash0 libzstd-dev libzstd1 linux-compiler-gcc-12-x86 linux-headers-6.1.0-13-amd64 linux-headers-6.1.0-13-common linux-headers-amd64 linux-kbuild-6.1 openssh-client openssh-sftp-server python3 python3-apt python3-cffi-backend python3-distutils python3-gpg python3-lib2to3 python3-minimal python3-zope.hookable python3-zope.interface python3.11 python3.11-minimal rpcsvc-proto sqlite3 udev Suggested packages: binutils-doc cpp-doc gcc-12-locales cpp-12-doc debsig-verify g++-multilib g++-12-multilib gcc-12-doc gcc-multilib gcc-doc gcc-12-multilib gfortran-multilib gfortran-doc gfortran-12-multilib gfortran-12-doc glibc-doc rng-tools low-memory-monitor libgirepository1.0-dev libglib2.0-doc gmp-doc libgmp10-doc libmpfr-dev liblzma-doc cryptsetup-bin p11-kit-doc libpam-doc libstdc++-12-doc keychain libpam-ssh monkeysphere ssh-askpass python3-doc python3-tk python3-venv python-apt-doc python3.11-venv python3.11-doc Recommended packages: apt gcc-multilib libsasl2-modules The following packages will be REMOVED: colord g++-8 gcc-8 gcc-8-multilib gcc-multilib gfortran-8 libgcc-8-dev libgfortran-8-dev libnss-systemd libpam-systemd libsepol1-dev libstdc++-8-dev linux-compiler-gcc-8-x86 linux-headers-4.19.0-8-amd64 policykit-1 python3-systemd python3.7 The following NEW packages will be installed: cpp-12 g++-12 gcc-12 gfortran-12 libapt-pkg6.0 libasan8 libcbor0.8 libcrypt-dev libcrypt1 libctf-nobfd0 libctf0 libffi8 libfido2-1 libgcc-12-dev libgfortran-12-dev libgprofng0 libicu72 libintelrdfpmath-dev libisl23 libmd0 libmongocrypt-dev libmongocrypt0 libnsl-dev libnsl2 libpcre2-16-0 libpcre2-32-0 libpcre2-dev libpcre2-posix3 libpython3.11-minimal libpython3.11-stdlib libreadline8 libsepol-dev libsepol2 libssl3 libstdc++-12-dev libtirpc-dev libtsan2 libxxhash0 libzstd-dev linux-compiler-gcc-12-x86 linux-headers-6.1.0-13-amd64 linux-headers-6.1.0-13-common linux-kbuild-6.1 python3.11 python3.11-minimal rpcsvc-proto The following packages will be upgraded: binutils binutils-common binutils-x86-64-linux-gnu cpp dpkg g++ gcc gfortran libatomic1 libbinutils libblkid-dev libblkid1 libbson-1.0-0 libbson-dev libc-bin libc6-dbg libc6-dev libc6-dev-i386 libc6-dev-x32 libc6-x32 libcc1-0 libffi-dev libgcrypt20 libgfortran5 libgirepository-1.0-1 libglib2.0-0 libglib2.0-bin libglib2.0-dev libglib2.0-dev-bin libgmp-dev libgmp10 libgmpxx4ldbl libgomp1 libgpgme11 libitm1 liblsan0 liblzma-dev liblzma5 libmongoc-1.0-0 libmongoc-dev libmount-dev libmount1 libp11-kit-dev libp11-kit0 libpam0g libpcre2-8-0 libpython3-stdlib libquadmath0 libsasl2-2 libsasl2-dev libselinux1 libselinux1-dev libsqlite3-0 libsqlite3-dev libstdc++6 libubsan1 libudev-dev libudev1 libzstd1 linux-headers-amd64 openssh-client openssh-sftp-server python3 python3-apt python3-cffi-backend python3-distutils python3-gpg python3-lib2to3 python3-minimal python3-zope.hookable python3-zope.interface sqlite3 udev 73 upgraded, 46 newly installed, 17 to remove and 907 not upgraded. 7 not fully installed or removed. Need to get 0 B/145 MB of archives. After this operation, 318 MB of additional disk space will be used. Do you want to continue? [Y/n] y /usr/bin/perl: error while loading shared libraries: libcrypt.so.1: cannot open shared object file: No such file or directory ESC7ESC[0;66rESC8ESC[1ASetting up libc6:amd64 (2.36-9+deb12u3) ... ESC7ESC[67;0fESC[42mESC[30mProgress: [ 0%]ESC[49mESC[39m [..........................................................................................................................................................................................................................] ESC8/usr/bin/perl: error while loading shared libraries: libcrypt.so.1: cannot open shared object file: No such file or directory ESC[1mdpkg:ESC[0m error processing package libc6:amd64 (--configure): installed libc6:amd64 package post-installation script subprocess returned error exit status 127 Errors were encountered while processing: libc6:amd64 ESC7ESC[0;67rESC8ESC[1AESC[JE: Sub-process /usr/bin/dpkg returned an error code (1) Sorry for the escape sequences. How to proceed? Thanks in advance for any suggestions. -- Your life is like a penny. You're going to lose it. The question is: How do you spend it? John Covici wb2una cov...@ccs.covici.com