Skip to content

Instantly share code, notes, and snippets.

@jmkim
Created December 17, 2025 09:55
Show Gist options
  • Select an option

  • Save jmkim/5b451f88675e56b3b65aa80d5b2303bd to your computer and use it in GitHub Desktop.

Select an option

Save jmkim/5b451f88675e56b3b65aa80d5b2303bd to your computer and use it in GitHub Desktop.
jmkim@db  ~  sudo apt upgrade
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
Calculating upgrade... Done
The following packages were automatically installed and are no longer required:
dnsutils g++-12 gcc-13-base gcc-14-base ibverbs-providers libabsl20220623 libaom-dev libavif-dev libavif16 libboost-iostreams1.74.0 libboost-thread1.74.0 libcephfs2 libdav1d-dev libde265-dev libdeflate-dev libfmt9
libgfapi0 libgfrpc0 libgfxdr0 libglusterfs0 libheif-dev libibverbs1 libjbig-dev libjpeg-dev libjpeg62-turbo-dev liblerc-dev libnl-3-200 libnl-route-3-200 libnsl-dev libpthread-stubs0-dev librados2 librav1e-dev
librav1e0.8 librdmacm1 libsframe1 libsharpyuv-dev libstdc++-12-dev libsub-override-perl libsvtav1enc-dev libsvtav1enc2 libtiff-dev libtiffxx6 libtirpc-dev libunistring2 libutempter0 libvpx-dev libvpx11 libvpx7
libwebp-dev libwebpdecoder3 libwebpmux3 libx265-199 libx265-dev libxpm-dev libyuv-dev libzstd-dev php8.2-cli php8.2-fpm php8.2-gd php8.2-mysql php8.2-opcache php8.2-readline php8.2-xml pkg-config python3-distutils
python3-lib2to3 python3-six
Use 'sudo apt autoremove' to remove them.
The following NEW packages will be installed:
bash-completion bzip2-doc cpp-15 cpp-15-x86-64-linux-gnu cpp-x86-64-linux-gnu firmware-ath9k-htc firmware-carl9170 fuse3 g++-15 g++-15-x86-64-linux-gnu g++-x86-64-linux-gnu gcc-15 gcc-15-base
gcc-15-x86-64-linux-gnu gcc-x86-64-linux-gnu geoip-database libabsl20240722 libavif16 libc-gconv-modules-extra libdav1d7 libfuse3-4 libgcc-15-dev libhwasan0 libicu76 libimagequant0 liblastlog2-2 libpaper2
librav1e-dev librav1e0.8 libsframe2 libstdc++-15-dev libsvtav1enc-dev libsvtav1enc2 libvpx11 libx265-215 libxml2-16 libyuv-dev linux-image-6.17.11+deb14-amd64 linux-sysctl-defaults login.defs php8.4-cli
php8.4-common php8.4-fpm php8.4-gd php8.4-mysql php8.4-opcache php8.4-readline php8.4-xml python3-autocommand python3-inflect python3-jaraco.context python3-jaraco.functools python3-jaraco.text
python3-more-itertools python3-pytz python3-typeguard python3-typing-extensions python3-zipp xdg-user-dirs
The following packages have been kept back:
adduser alsa-ucm-conf apt apt-utils arping bc bind9-dnsutils bind9-host bind9-libs ca-certificates-java certbot clamav clamav-freshclam coreutils curl dconf-gsettings-backend dconf-service debugedit dirmngr dwz
e2fsprogs e2fsprogs-l10n efibootmgr exim4-base exim4-daemon-light file firmware-amd-graphics firmware-linux-nonfree firmware-misc-nonfree galera-4 gawk gdb geoip-bin gir1.2-glib-2.0 git git-man gitk gnupg
gnupg-l10n gnupg-utils gnupg2 gpg gpg-agent gpg-wks-client gpg-wks-server gpgconf gpgsm gpgv grub-common grub-efi-amd64 grub-efi-amd64-bin grub-efi-amd64-signed grub2-common gtk-update-icon-cache iftop
initramfs-tools initramfs-tools-core insserv iproute2 iptables irqbalance kmod libatk-wrapper-java-jni libauthen-sasl-perl libavahi-client3 libavahi-common-data libavahi-common3 libavahi-glib1
libb-hooks-op-check-perl libbabeltrace1 libbpf1 libcairo-gobject2 libcairo2 libcanberra0 libcephfs2 libclass-xsaccessor-perl libclone-perl libcloudproviders0 libcolord2 libcryptsetup12 libdbd-mysql-perl libdbi-perl
libdbus-glib-1-2 libdbusmenu-glib4 libdbusmenu-gtk3-4 libdconf1 libdevel-callchecker-perl libdevel-caller-perl libdevel-lexalias-perl libegl-mesa0 libfcgi-perl libfido2-1 libfreetype-dev libfreetype6 libfsverity0
libgail-common libgbm1 libgdk-pixbuf-2.0-0 libgdk-pixbuf2.0-bin libgee-0.8-2 libgeoip-dev libgetopt-long-descriptive-perl libgfapi0 libgfrpc0 libgfxdr0 libgirepository-1.0-1 libgl1-mesa-dri libglusterfs0
libglx-mesa0 libgnomekbd8 libgs10 libgs10-common libgssapi-krb5-2 libgtk-3-bin libgtk-3-common libgtk2.0-bin libgtk2.0-common libharfbuzz0b libhtml-parser-perl libip4tc2 libip6tc2 libjson-glib-1.0-0 libk5crypto3
libkmod2 libkrb5-3 libkrb5support0 liblist-moreutils-xs-perl liblocale-gettext-perl libmagic-mgc libmariadb3 libnet-dbus-perl libnet-libidn-perl libnet-ssleay-perl libnginx-mod-http-auth-pam
libnginx-mod-http-cache-purge libnginx-mod-http-dav-ext libnginx-mod-http-echo libnginx-mod-http-fancyindex libnginx-mod-http-geoip libnginx-mod-http-geoip2 libnginx-mod-http-headers-more-filter
libnginx-mod-http-image-filter libnginx-mod-http-lua libnginx-mod-http-ndk libnginx-mod-http-perl libnginx-mod-http-subs-filter libnginx-mod-http-uploadprogress libnginx-mod-http-upstream-fair
libnginx-mod-http-xslt-filter libnginx-mod-mail libnginx-mod-nchan libnginx-mod-stream libnginx-mod-stream-geoip libnginx-mod-stream-geoip2 libnsl-dev libnsl2 libpackage-stash-xs-perl libpadwalker-perl
libpam-modules libpam-modules-bin libpam-runtime libpango-1.0-0 libpangocairo-1.0-0 libpangoft2-1.0-0 libparams-classify-perl libparams-util-perl libparams-validate-perl libperl-dev libproxy1v5 libpython3-stdlib
librados2 libref-util-xs-perl librsvg2-2 librsvg2-common librtmp1 libsasl2-2 libsasl2-modules-db libsecret-1-0 libsemanage-common libsndfile1 libssl-dev libsub-identify-perl libsub-name-perl libsub-quote-perl
libsystemd-shared libsystemd0 libtcnative-1 libtdb1 libterm-readkey-perl libtext-charwidth-perl libtext-iconv-perl libtirpc-dev libtype-tiny-xs-perl libudev1 libunbound8 libunicode-utf8-perl liburi-escape-xs-perl
libvariable-magic-perl libvte-2.91-0 libvte-2.91-common libwbclient0 libxapp-gtk3-module libxapp1 libxaw7 libxklavier16 libxml-parser-perl libxmu6 libxt-dev libxtables12 lsof lua-resty-core lua-resty-lrucache
man-db mariadb-client mariadb-client-core mariadb-plugin-provider-bzip2 mariadb-plugin-provider-lz4 mariadb-plugin-provider-lzma mariadb-plugin-provider-lzo mariadb-plugin-provider-snappy mariadb-server
mariadb-server-core mesa-utils-bin mokutil mutt nginx nginx-common nginx-extras ntpsec openssh-client openssl passwd perl perl-base perl-openssl-defaults pinentry-gtk2 python3 python3-acme python3-certbot
python3-certbot-nginx python3-cffi-backend python3-charset-normalizer python3-cryptography python3-gi python3-icu python3-minimal python3-ntp python3-openssl rpm rpm-common rpm2cpio rsync rsyslog samba samba-common
samba-common-bin samba-dsdb-modules samba-libs scrot shared-mime-info socat startpar sudo systemd systemd-sysv sysv-rc tcpdump timeshift tnftp udev wget x11-utils x11-xkb-utils x11-xserver-utils xapp-sn-watcher zsh
zsh-common
The following packages will be upgraded:
acl acpi acpi-support-base acpid adwaita-icon-theme alien alsa-topology-conf amd64-microcode apparmor apt-transport-https arptables aspell aspell-en at-spi2-common attr authbind autoconf automake autopoint
autotools-dev base-files base-passwd bash binutils binutils-common binutils-x86-64-linux-gnu bootlogd bsd-mailx bsdextrautils bsdutils build-essential busybox bzip2 ca-certificates clamav-base console-setup
console-setup-linux cpio cpp cpp-12 cron cron-daemon-common dash dbus dbus-bin dbus-daemon dbus-session-bus-common dbus-system-bus-common dbus-x11 debconf debconf-i18n debhelper debian-archive-keyring debianutils
dh-autoreconf dh-python dh-strip-nondeterminism dictionaries-common diffutils discover discover-data distro-info-data dmidecode dmsetup dos2unix dpkg dpkg-dev eject emacsen-common etherwake ethstatus ethtool
exim4-config exuberant-ctags findutils firmware-linux-free fontconfig fontconfig-config fonts-droid-fallback fonts-noto-mono fuse g++ g++-12 gcc gcc-12 gcc-12-base gcc-13-base gcc-14-base gettext gettext-base grep
groff-base gsasl-common gzip hicolor-icon-theme hostname iamerican ibritish ibverbs-providers icu-devtools ienglish-common ifupdown inetutils-telnet init init-system-helpers installation-report intel-microcode inxi
iputils-ping isc-dhcp-client isc-dhcp-common iso-codes ispell java-common jq kbd keyboard-configuration klibc-utils krb5-locales laptop-detect less libacl1 libaom-dev libaom3 libapparmor1 libargon2-1 libasan8
libasound2-data libaspell15 libasyncns0 libatk-wrapper-java libatomic1 libattr1 libaudit-common libaudit1 libavif-dev libb-hooks-endofscope-perl libbinutils libblkid1 libbrotli-dev libbrotli1 libbsd0 libbz2-1.0
libc-bin libc-dev-bin libc-l10n libc6 libc6-dbg libc6-dev libcap-ng0 libcap2 libcap2-bin libcc1-0 libcgi-fast-perl libcgi-pm-perl libcom-err2 libcommons-pool-java libconfig-inifiles-perl libcpan-changes-perl
libcrypt-dev libcrypt1 libctf-nobfd0 libctf0 libdatrie1 libdav1d-dev libdaxctl1 libdbus-1-3 libde265-0 libde265-dev libdebconfclient0 libdebhelper-perl libdebuginfod-common libdeflate-dev libdeflate0
libdevmapper1.02.1 libdiscover2 libdpkg-perl libdrm-amdgpu1 libdrm-common libdrm-intel1 libdrm-nouveau2 libdrm-radeon1 libdrm2 libdynaloader-functions-perl libecj-java libedit2 libegl1 libepoxy0 liberror-perl
libestr0 libexpat1 libexpat1-dev libexporter-tiny-perl libfastjson4 libfdisk1 libffi8 libfile-mimeinfo-perl libfile-slurp-perl libfile-stripnondeterminism-perl libfontconfig-dev libfontconfig1 libfontenc1
libfribidi0 libfstrm0 libgav1-1 libgcc-12-dev libgcc-s1 libgcrypt20 libgd3 libgdk-pixbuf2.0-common libgif7 libgl1 libgles2 libglib2.0-data libglvnd0 libglx0 libgmp10 libgnomekbd-common libgomp1 libgpg-error-l10n
libgpg-error0 libgpm2 libgprofng0 libgraphite2-3 libgs-common libgsasl18 libgssglue1 libheif-dev libheif-plugin-aomdec libheif-plugin-aomenc libheif-plugin-dav1d libheif-plugin-libde265 libheif-plugin-x265 libheif1
libhtml-form-perl libhttp-message-perl libibverbs1 libice-dev libice6 libicu-dev libid3tag0 libidn12 libidn2-0 libijs-0.35 libio-socket-ssl-perl libio-stringy-perl libipt2 libisl23 libitm1 libjansson4 libjbig-dev
libjbig0 libjbig2dec0 libjemalloc2 libjpeg-dev libjpeg62-turbo libjpeg62-turbo-dev libjq1 libjson-c5 libjson-glib-1.0-common libkeyutils1 libklibc libksba8 liblcms2-2 libldap-common liblerc-dev liblerc4 liblmdb0
liblockfile-bin liblockfile1 liblognorm5 liblsan0 libltdl-dev libltdl7 liblua5.2-0 liblua5.3-0 liblz4-1 liblzma-dev liblzma5 liblzo2-2 libmailtools-perl libmaxminddb0 libmd0 libmnl0 libmodule-runtime-perl libmount1
libmp3lame0 libmpc3 libmpfr6 libnamespace-autoclean-perl libncurses6 libncursesw6 libndctl6 libnet-http-perl libnetfilter-acct1 libnetfilter-conntrack3 libnewt0.52 libnfnetlink0 libnftables1 libnftnl11
libnghttp2-14 libnl-3-200 libnl-route-3-200 libnspr4 libnss3 libntlm0 libnuma1 libogg0 libonig5 libopenjp2-7 libopus0 libp11-kit0 libpam0g libpaper-utils libpath-tiny-perl libpci3 libpciaccess0 libpcre16-3
libpcre2-8-0 libpcre3 libpcre3-dev libpcre32-3 libpcrecpp0v5 libpcsclite1 libpipeline1 libpixman-1-0 libpkgconf3 libpmem1 libpod-markdown-perl libpopt0 libproc2-0 libprotobuf-c1 libpthread-stubs0-dev libpulse0
libquadmath0 libseccomp2 libsecret-common libselinux1 libsensors-config libsensors5 libsharpyuv-dev libsharpyuv0 libsigsegv2 libslang2 libsm-dev libsm6 libsmartcols1 libsnappy1v5 libsodium23
libsource-highlight-common libspectre1 libsqlite3-0 libss2 libstdc++-12-dev libstdc++6 libsub-exporter-perl libsub-override-perl libtalloc2 libtasn1-6 libtcl8.6 libthai-data libthai0 libtiff-dev libtiff6 libtiffxx6
libtinfo6 libtirpc-common libtk8.6 libtool libtraceevent1 libtraceevent1-plugin libtracefs1 libtry-tiny-perl libtsan2 libtype-tiny-perl libubsan1 libuchardet0 libunistring5 liburi-perl liburing2 libusb-0.1-4
libusb-1.0-0 libutempter0 libuuid1 libvorbis0a libvorbisenc2 libvorbisfile3 libvpx-dev libwayland-client0 libwayland-cursor0 libwayland-egl1 libwayland-server0 libwebp-dev libwebp7 libwebpdecoder3 libwebpdemux2
libwebpmux3 libwrap0 libwww-perl libx11-6 libx11-data libx11-dev libx11-xcb1 libx265-dev libxapian30 libxau-dev libxau6 libxcb-dri2-0 libxcb-dri3-0 libxcb-glx0 libxcb-present0 libxcb-randr0 libxcb-render0
libxcb-shape0 libxcb-shm0 libxcb-sync1 libxcb-xfixes0 libxcb1 libxcb1-dev libxcomposite1 libxcursor1 libxdamage1 libxdmcp-dev libxdmcp6 libxext6 libxfixes3 libxft2 libxi6 libxinerama1 libxkbcommon0 libxkbfile1
libxml-twig-perl libxml2-dev libxmuu1 libxpm-dev libxpm4 libxrandr2 libxrender1 libxshmfence1 libxslt1-dev libxslt1.1 libxss1 libxtst6 libxv1 libxxf86dga1 libxxf86vm1 libxxhash0 libyuv0 libz3-4 libzstd-dev libzstd1
linux-base linux-image-amd64 linux-libc-dev lm-sensors locales login logrotate logsave lsb-release m4 mailcap make manpages mariadb-common mawk media-types mesa-utils mount nano ncurses-base ncurses-bin
ncurses-term net-tools netbase netcat-traditional nfacct nftables nicstat os-prober patch pci.ids pciutils php-common php-fpm php-gd php-mysql php-xml php7.3 php7.3-cgi php7.3-cli php7.3-common php7.3-curl
php7.3-fpm php7.3-gd php7.3-imap php7.3-intl php7.3-json php7.3-mbstring php7.3-mysql php7.3-opcache php7.3-pspell php7.3-readline php7.3-recode php7.3-soap php7.3-sqlite3 php7.3-tidy php7.3-xml php7.3-xmlrpc
php7.3-xsl php7.3-zip php8.2-cli php8.2-common php8.2-curl php8.2-fpm php8.2-gd php8.2-mysql php8.2-opcache php8.2-readline php8.2-xml pkg-config pkgconf pkgconf-bin po-debconf popularity-contest procps psmisc
publicsuffix pv python3-certifi python3-chardet python3-configargparse python3-configobj python3-distro python3-idna python3-josepy python3-pkg-resources python3-pyparsing python3-requests python3-rfc3339
python3-setuptools python3-six python3-tz python3-urllib3 readline-common rename runit-helper samba-vfs-modules screen sed sensible-utils sgml-base shim-helpers-amd64-signed shim-signed shim-signed-common
shim-unsigned sound-theme-freedesktop systemd-dev sysvinit-utils tar task-english tasksel tasksel-data tcl tcl8.6 tdb-tools tk tk8.6 trace-cmd traceroute tree tzdata ucf ufw unzip usbutils util-linux
util-linux-extra util-linux-locales uuid-dev vim vim-common vim-runtime vim-tiny wamerican whiptail x11-common x11proto-dev xapps-common xauth xdg-utils xfonts-utils xkb-data xmlstarlet xplot-xplot.org xtrans-dev
xxd xz-utils zip zlib1g zlib1g-dev zstd zutty
603 upgraded, 59 newly installed, 0 to remove and 277 not upgraded.
Need to get 428 MB/450 MB of archives.
After this operation, 489 MB of additional disk space will be used.
W: /bin resolved to a different inode than /usr/bin
W: Unmerged usr is no longer supported, use usrmerge to convert to a merged-usr system.
N: See https://www.debian.org/releases/bookworm/amd64/release-notes/ch-information.en.html#a-merged-usr-is-now-required for more details.
Do you want to continue? [Y/n] n
Abort.
✘ jmkim@db  ~  usrmerge
zsh: command not found: usrmerge
✘ jmkim@db  ~  sudo usrmerge
sudo: usrmerge: command not found
✘ jmkim@db  ~  sudo apt install usrmerge
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
The following packages were automatically installed and are no longer required:
libaom-dev libavif-dev libbrotli-dev libdav1d-dev libde265-dev libdeflate-dev libexpat1-dev libheif-dev libjbig-dev libjpeg-dev libjpeg62-turbo-dev liblerc-dev liblzma-dev libnsl-dev libsharpyuv-dev libtiff-dev
libtiffxx6 libtirpc-dev libvpx-dev libvpx7 libwebp-dev libwebpdecoder3 libwebpmux3 libx265-dev libxpm-dev libzstd-dev uuid-dev
Use 'sudo apt autoremove' to remove them.
The following additional packages will be installed:
base-files bzip2 fontconfig-config libbz2-1.0 libc-bin libc-dev-bin libc-gconv-modules-extra libc-l10n libc6 libc6-dbg libc6-dev libfile-find-rule-perl libfontconfig1 libnumber-compare-perl libtext-glob-perl
locales
Suggested packages:
bzip2-doc libc-devtools glibc-doc libnss-nis libnss-nisplus manpages-dev
Recommended packages:
manpages-dev
The following packages will be REMOVED:
libfontconfig-dev libfreetype-dev libfreetype6-dev libpng12-0 libpng12-dev
The following NEW packages will be installed:
libc-gconv-modules-extra libfile-find-rule-perl libnumber-compare-perl libtext-glob-perl usrmerge
The following packages will be upgraded:
base-files bzip2 fontconfig-config libbz2-1.0 libc-bin libc-dev-bin libc-l10n libc6 libc6-dbg libc6-dev libfontconfig1 locales
12 upgraded, 5 newly installed, 5 to remove and 866 not upgraded.
Need to get 17.2 MB/17.3 MB of archives.
After this operation, 2,589 kB disk space will be freed.
Do you want to continue? [Y/n]
Get:1 http://deb.debian.org/debian testing/main amd64 libc-gconv-modules-extra amd64 2.42-5 [1,127 kB]
Get:2 http://deb.debian.org/debian testing/main amd64 libc-l10n all 2.42-5 [749 kB]
Get:3 http://deb.debian.org/debian testing/main amd64 locales all 2.42-5 [3,927 kB]
Get:4 http://deb.debian.org/debian testing/main amd64 libc6 amd64 2.42-5 [1,888 kB]
Get:5 http://deb.debian.org/debian testing/main amd64 libc-bin amd64 2.42-5 [674 kB]
Get:6 http://deb.debian.org/debian testing/main amd64 libc6-dbg amd64 2.42-5 [5,835 kB]
Get:7 http://deb.debian.org/debian testing/main amd64 libc-dev-bin amd64 2.42-5 [60.3 kB]
Get:8 http://deb.debian.org/debian testing/main amd64 libc6-dev amd64 2.42-5 [2,091 kB]
Get:9 http://deb.debian.org/debian testing/main amd64 bzip2 amd64 1.0.8-6 [40.5 kB]
Get:10 http://deb.debian.org/debian testing/main amd64 libbz2-1.0 amd64 1.0.8-6 [37.9 kB]
Get:11 http://deb.debian.org/debian testing/main amd64 fontconfig-config amd64 2.15.0-2.4 [318 kB]
Get:12 http://deb.debian.org/debian testing/main amd64 libfile-find-rule-perl all 0.35-1 [25.9 kB]
Get:13 http://deb.debian.org/debian testing/main amd64 libfontconfig1 amd64 2.15.0-2.4 [401 kB]
Fetched 17.2 MB in 1s (28.0 MB/s)
Preconfiguring packages ...
(Reading database ... 76282 files and directories currently installed.)
Preparing to unpack .../base-files_14_amd64.deb ...
******************************************************************************
*
* The base-files package cannot be installed because
* /bin is a directory, but should be a symbolic link.
*
* Please install the usrmerge package to convert this system to merged-/usr.
*
* For more information please read https://wiki.debian.org/UsrMerge.
*
******************************************************************************
dpkg: error processing archive /var/cache/apt/archives/base-files_14_amd64.deb (--unpack):
new base-files package pre-installation script subprocess returned error exit status 1
Errors were encountered while processing:
/var/cache/apt/archives/base-files_14_amd64.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)
✘ jmkim@db  ~  sudo apt install usrmerge
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
The following packages were automatically installed and are no longer required:
libaom-dev libavif-dev libbrotli-dev libdav1d-dev libde265-dev libdeflate-dev libexpat1-dev libheif-dev libjbig-dev libjpeg-dev libjpeg62-turbo-dev liblerc-dev liblzma-dev libnsl-dev libsharpyuv-dev libtiff-dev
libtiffxx6 libtirpc-dev libvpx-dev libvpx7 libwebp-dev libwebpdecoder3 libwebpmux3 libx265-dev libxpm-dev libzstd-dev uuid-dev
Use 'sudo apt autoremove' to remove them.
The following additional packages will be installed:
base-files bzip2 fontconfig-config libbz2-1.0 libc-bin libc-dev-bin libc-gconv-modules-extra libc-l10n libc6 libc6-dbg libc6-dev libfile-find-rule-perl libfontconfig1 libnumber-compare-perl libtext-glob-perl
locales
Suggested packages:
bzip2-doc libc-devtools glibc-doc libnss-nis libnss-nisplus manpages-dev
Recommended packages:
manpages-dev
The following packages will be REMOVED:
libfontconfig-dev libfreetype-dev libfreetype6-dev libpng12-0 libpng12-dev
The following NEW packages will be installed:
libc-gconv-modules-extra libfile-find-rule-perl libnumber-compare-perl libtext-glob-perl usrmerge
The following packages will be upgraded:
base-files bzip2 fontconfig-config libbz2-1.0 libc-bin libc-dev-bin libc-l10n libc6 libc6-dbg libc6-dev libfontconfig1 locales
12 upgraded, 5 newly installed, 5 to remove and 866 not upgraded.
Need to get 0 B/17.3 MB of archives.
After this operation, 2,589 kB disk space will be freed.
Do you want to continue? [Y/n] n
Abort.
✘ jmkim@db  ~  sudo apt autoremove
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
The following packages will be REMOVED:
libaom-dev libavif-dev libdav1d-dev libde265-dev libdeflate-dev libheif-dev libjbig-dev libjpeg-dev libjpeg62-turbo-dev liblerc-dev liblzma-dev libsharpyuv-dev libtiff-dev libtiffxx6 libvpx-dev libvpx7 libwebp-dev
libwebpdecoder3 libwebpmux3 libx265-dev libxpm-dev libzstd-dev
0 upgraded, 0 newly installed, 22 to remove and 859 not upgraded.
After this operation, 48.0 MB disk space will be freed.
W: /bin resolved to a different inode than /usr/bin
W: Unmerged usr is no longer supported, use usrmerge to convert to a merged-usr system.
N: See https://www.debian.org/releases/bookworm/amd64/release-notes/ch-information.en.html#a-merged-usr-is-now-required for more details.
Do you want to continue? [Y/n]
(Reading database ... 76282 files and directories currently installed.)
Removing libavif-dev:amd64 (0.11.1-1) ...
Removing libheif-dev:amd64 (1.16.2-1+b1) ...
Removing libaom-dev:amd64 (3.6.1-1) ...
Removing libdav1d-dev:amd64 (1.2.1-2) ...
Removing libde265-dev:amd64 (1.0.12-1) ...
Removing libtiff-dev:amd64 (4.5.1+git230720-1) ...
Removing libdeflate-dev:amd64 (1.18-1) ...
Removing libjbig-dev:amd64 (2.1-6.1) ...
Removing libjpeg-dev:amd64 (1:2.1.5-2) ...
Removing libjpeg62-turbo-dev:amd64 (1:2.1.5-2) ...
Removing liblerc-dev:amd64 (4.0.0+ds-3) ...
Removing liblzma-dev:amd64 (5.6.1+really5.4.5-1) ...
Removing libwebp-dev:amd64 (1.3.2-0.3) ...
Removing libsharpyuv-dev:amd64 (1.3.2-0.3) ...
Removing libtiffxx6:amd64 (4.5.1+git230720-1) ...
Removing libvpx-dev:amd64 (1.12.0-1) ...
Removing libvpx7:amd64 (1.12.0-1) ...
Removing libwebpdecoder3:amd64 (1.3.2-0.3) ...
Removing libwebpmux3:amd64 (1.3.2-0.3) ...
Removing libx265-dev:amd64 (3.5-2+b1) ...
Removing libxpm-dev:amd64 (1:3.5.12-1.1) ...
Removing libzstd-dev:amd64 (1.5.5+dfsg2-2) ...
Processing triggers for man-db (2.11.2-2) ...
Processing triggers for libc-bin (2.37-12) ...
W: /bin resolved to a different inode than /usr/bin
W: Unmerged usr is no longer supported, use usrmerge to convert to a merged-usr system.
N: See https://www.debian.org/releases/bookworm/amd64/release-notes/ch-information.en.html#a-merged-usr-is-now-required for more details.
jmkim@db  ~  sudo apt install usrmerge
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
The following packages were automatically installed and are no longer required:
libbrotli-dev libexpat1-dev libnsl-dev libtirpc-dev uuid-dev
Use 'sudo apt autoremove' to remove them.
The following additional packages will be installed:
base-files bzip2 fontconfig-config libbz2-1.0 libc-bin libc-dev-bin libc-gconv-modules-extra libc-l10n libc6 libc6-dbg libc6-dev libfile-find-rule-perl libfontconfig1 libnumber-compare-perl libtext-glob-perl
locales
Suggested packages:
bzip2-doc libc-devtools glibc-doc libnss-nis libnss-nisplus manpages-dev
Recommended packages:
manpages-dev
The following packages will be REMOVED:
libfontconfig-dev libfreetype-dev libfreetype6-dev libpng12-0 libpng12-dev
The following NEW packages will be installed:
libc-gconv-modules-extra libfile-find-rule-perl libnumber-compare-perl libtext-glob-perl usrmerge
The following packages will be upgraded:
base-files bzip2 fontconfig-config libbz2-1.0 libc-bin libc-dev-bin libc-l10n libc6 libc6-dbg libc6-dev libfontconfig1 locales
12 upgraded, 5 newly installed, 5 to remove and 845 not upgraded.
Need to get 0 B/17.3 MB of archives.
After this operation, 2,589 kB disk space will be freed.
Do you want to continue? [Y/n]
Preconfiguring packages ...
(Reading database ... 75872 files and directories currently installed.)
Preparing to unpack .../base-files_14_amd64.deb ...
******************************************************************************
*
* The base-files package cannot be installed because
* /bin is a directory, but should be a symbolic link.
*
* Please install the usrmerge package to convert this system to merged-/usr.
*
* For more information please read https://wiki.debian.org/UsrMerge.
*
******************************************************************************
dpkg: error processing archive /var/cache/apt/archives/base-files_14_amd64.deb (--unpack):
new base-files package pre-installation script subprocess returned error exit status 1
Errors were encountered while processing:
/var/cache/apt/archives/base-files_14_amd64.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)
✘ jmkim@db  ~  sudo apt update
Get:1 http://deb.debian.org/debian testing InRelease [137 kB]
Hit:2 https://download.docker.com/linux/debian trixie InRelease
Hit:3 https://packages.sury.org/php bookworm InRelease
Hit:4 http://deb.debian.org/debian-security testing-security InRelease
Get:5 http://deb.debian.org/debian testing/main Sources.diff/Index [63.6 kB]
Get:6 http://deb.debian.org/debian testing/non-free Sources.diff/Index [63.3 kB]
Get:7 http://deb.debian.org/debian testing/main amd64 Packages.diff/Index [63.6 kB]
Get:8 http://deb.debian.org/debian testing/main Translation-en.diff/Index [63.6 kB]
Get:9 http://deb.debian.org/debian testing/contrib amd64 Packages.diff/Index [63.3 kB]
Get:10 http://deb.debian.org/debian testing/contrib Translation-en.diff/Index [45.4 kB]
Get:11 http://deb.debian.org/debian testing/non-free amd64 Packages.diff/Index [63.3 kB]
Get:12 http://deb.debian.org/debian testing/main Sources T-2025-12-17-0813.40-F-2025-12-17-0813.40.pdiff [26.7 kB]
Get:12 http://deb.debian.org/debian testing/main Sources T-2025-12-17-0813.40-F-2025-12-17-0813.40.pdiff [26.7 kB]
Get:13 http://deb.debian.org/debian testing/non-free Sources T-2025-12-17-0813.40-F-2025-12-17-0813.40.pdiff [569 B]
Get:13 http://deb.debian.org/debian testing/non-free Sources T-2025-12-17-0813.40-F-2025-12-17-0813.40.pdiff [569 B]
Get:14 http://deb.debian.org/debian testing/main amd64 Packages T-2025-12-17-0813.40-F-2025-12-17-0813.40.pdiff [33.7 kB]
Get:14 http://deb.debian.org/debian testing/main amd64 Packages T-2025-12-17-0813.40-F-2025-12-17-0813.40.pdiff [33.7 kB]
Get:15 http://deb.debian.org/debian testing/main Translation-en T-2025-12-17-0813.40-F-2025-12-17-0813.40.pdiff [2,919 B]
Get:15 http://deb.debian.org/debian testing/main Translation-en T-2025-12-17-0813.40-F-2025-12-17-0813.40.pdiff [2,919 B]
Get:16 http://deb.debian.org/debian testing/contrib amd64 Packages T-2025-12-17-0813.40-F-2025-12-17-0813.40.pdiff [486 B]
Get:16 http://deb.debian.org/debian testing/contrib amd64 Packages T-2025-12-17-0813.40-F-2025-12-17-0813.40.pdiff [486 B]
Get:17 http://deb.debian.org/debian testing/contrib Translation-en T-2025-12-17-0813.40-F-2025-12-17-0813.40.pdiff [334 B]
Get:17 http://deb.debian.org/debian testing/contrib Translation-en T-2025-12-17-0813.40-F-2025-12-17-0813.40.pdiff [334 B]
Get:18 http://deb.debian.org/debian testing/non-free amd64 Packages T-2025-12-17-0813.40-F-2025-12-17-0813.40.pdiff [359 B]
Get:18 http://deb.debian.org/debian testing/non-free amd64 Packages T-2025-12-17-0813.40-F-2025-12-17-0813.40.pdiff [359 B]
Get:19 http://deb.debian.org/debian testing/main amd64 DEP-11 Metadata [5,041 kB]
Fetched 5,670 kB in 7s (848 kB/s)
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
859 packages can be upgraded. Run 'apt list --upgradable' to see them.
jmkim@db  ~  sudo vi /etc/apt/sources.list
jmkim@db  ~  sudo apt update
Get:1 http://deb.debian.org/debian trixie InRelease [140 kB]
Get:2 http://deb.debian.org/debian-security trixie-security InRelease [43.4 kB]
Get:3 http://deb.debian.org/debian trixie/non-free Sources [75.9 kB]
Hit:4 https://packages.sury.org/php bookworm InRelease
Get:5 http://deb.debian.org/debian trixie/non-free-firmware Sources [6,548 B]
Get:6 http://deb.debian.org/debian trixie/main Sources [10.5 MB]
Hit:7 https://download.docker.com/linux/debian trixie InRelease
Get:8 http://deb.debian.org/debian trixie/contrib Sources [52.3 kB]
Get:9 http://deb.debian.org/debian trixie/main amd64 Packages [9,670 kB]
Get:10 http://deb.debian.org/debian trixie/main Translation-en [6,484 kB]
Get:11 http://deb.debian.org/debian trixie/main amd64 DEP-11 Metadata [5,175 kB]
Get:12 http://deb.debian.org/debian trixie/contrib amd64 Packages [53.8 kB]
Get:13 http://deb.debian.org/debian trixie/contrib Translation-en [49.6 kB]
Get:14 http://deb.debian.org/debian trixie/contrib amd64 DEP-11 Metadata [41.5 kB]
Get:15 http://deb.debian.org/debian trixie/non-free amd64 Packages [100 kB]
Get:16 http://deb.debian.org/debian trixie/non-free Translation-en [67.1 kB]
Get:17 http://deb.debian.org/debian trixie/non-free amd64 DEP-11 Metadata [3,784 B]
Get:18 http://deb.debian.org/debian trixie/non-free-firmware amd64 Packages [6,888 B]
Get:19 http://deb.debian.org/debian trixie/non-free-firmware Translation-en [4,704 B]
Get:20 http://deb.debian.org/debian trixie/non-free-firmware amd64 DEP-11 Metadata [24.3 kB]
Get:21 http://deb.debian.org/debian-security trixie-security/main Sources [113 kB]
Get:22 http://deb.debian.org/debian-security trixie-security/non-free-firmware Sources [696 B]
Get:23 http://deb.debian.org/debian-security trixie-security/main amd64 Packages [84.8 kB]
Get:24 http://deb.debian.org/debian-security trixie-security/main Translation-en [53.4 kB]
Get:25 http://deb.debian.org/debian-security trixie-security/non-free-firmware amd64 Packages [544 B]
Get:26 http://deb.debian.org/debian-security trixie-security/non-free-firmware Translation-en [352 B]
Fetched 32.8 MB in 4s (7,571 kB/s)
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
854 packages can be upgraded. Run 'apt list --upgradable' to see them.
jmkim@db  ~  sudo apt update
Hit:1 http://deb.debian.org/debian trixie InRelease
Hit:2 http://deb.debian.org/debian-security trixie-security InRelease
Hit:3 https://download.docker.com/linux/debian trixie InRelease
Hit:4 https://packages.sury.org/php bookworm InRelease
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
854 packages can be upgraded. Run 'apt list --upgradable' to see them.
jmkim@db  ~  sudo apt install usrmerger
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
E: Unable to locate package usrmerger
✘ jmkim@db  ~  sudo apt install usrmerge
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
The following packages were automatically installed and are no longer required:
libbrotli-dev libexpat1-dev libnsl-dev libtirpc-dev uuid-dev
Use 'sudo apt autoremove' to remove them.
The following additional packages will be installed:
base-files bzip2 fontconfig-config libbz2-1.0 libc-bin libc-dev-bin libc-l10n libc6 libc6-dbg libc6-dev libfile-find-rule-perl libfontconfig1 libnumber-compare-perl libtext-glob-perl locales
Suggested packages:
bzip2-doc libc-devtools glibc-doc libnss-nis libnss-nisplus manpages-dev
Recommended packages:
manpages-dev
The following packages will be REMOVED:
libfontconfig-dev libfreetype-dev libfreetype6-dev libpng12-0 libpng12-dev
The following NEW packages will be installed:
libfile-find-rule-perl libnumber-compare-perl libtext-glob-perl usrmerge
The following packages will be upgraded:
base-files bzip2 fontconfig-config libbz2-1.0 libc-bin libc-dev-bin libc-l10n libc6 libc6-dbg libc6-dev libfontconfig1 locales
12 upgraded, 4 newly installed, 5 to remove and 840 not upgraded.
Need to get 73.2 kB/18.5 MB of archives.
After this operation, 4,332 kB of additional disk space will be used.
Do you want to continue? [Y/n] n
Abort.
✘ jmkim@db  ~  curl -O http://deb.debian.org/debian/pool/main/u/usrmerge/usrmerge_39+nmu2_all.deb
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 13260 100 13260 0 0 230k 0 --:--:-- --:--:-- --:--:-- 235k
jmkim@db  ~  sudo dpkg -i usrmerge_39+nmu2_all.deb
Selecting previously unselected package usrmerge.
dpkg: regarding usrmerge_39+nmu2_all.deb containing usrmerge:
usrmerge conflicts with libpng12-0 (<< 1.2.54-6~)
libpng12-0:amd64 (version 1.2.50-2+deb8u3) is present and installed.
dpkg: error processing archive usrmerge_39+nmu2_all.deb (--install):
conflicting packages - not installing usrmerge
Errors were encountered while processing:
usrmerge_39+nmu2_all.deb
✘ jmkim@db  ~  sudo apt install libpng12-0
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
libpng12-0 is already the newest version (1.2.50-2+deb8u3).
0 upgraded, 0 newly installed, 0 to remove and 854 not upgraded.
W: /bin resolved to a different inode than /usr/bin
W: Unmerged usr is no longer supported, use usrmerge to convert to a merged-usr system.
N: See https://www.debian.org/releases/bookworm/amd64/release-notes/ch-information.en.html#a-merged-usr-is-now-required for more details.
jmkim@db  ~  sudo apt install libpng1.6
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
E: Unable to locate package libpng1.6
E: Couldn't find any package by glob 'libpng1.6'
✘ jmkim@db  ~  sudo apt install libpng-dev
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
The following additional packages will be installed:
libpng-tools libpng16-16t64
The following packages will be REMOVED:
libpng12-dev libpng16-16
The following NEW packages will be installed:
libpng-dev libpng-tools libpng16-16t64
0 upgraded, 3 newly installed, 2 to remove and 854 not upgraded.
Need to get 779 kB of archives.
After this operation, 693 kB of additional disk space will be used.
W: /bin resolved to a different inode than /usr/bin
W: Unmerged usr is no longer supported, use usrmerge to convert to a merged-usr system.
N: See https://www.debian.org/releases/bookworm/amd64/release-notes/ch-information.en.html#a-merged-usr-is-now-required for more details.
Do you want to continue? [Y/n]
Get:1 http://deb.debian.org/debian-security trixie-security/main amd64 libpng16-16t64 amd64 1.6.48-1+deb13u1 [283 kB]
Get:2 http://deb.debian.org/debian-security trixie-security/main amd64 libpng-dev amd64 1.6.48-1+deb13u1 [367 kB]
Get:3 http://deb.debian.org/debian-security trixie-security/main amd64 libpng-tools amd64 1.6.48-1+deb13u1 [130 kB]
Fetched 779 kB in 0s (5,758 kB/s)
dpkg: libpng16-16:amd64: dependency problems, but removing anyway as you requested:
openjdk-8-jre:amd64 depends on libpng16-16 (>= 1.6.2-1).
libimlib2:amd64 depends on libpng16-16 (>= 1.6.2-1).
libgs10:amd64 depends on libpng16-16 (>= 1.6.2-1).
libgdk-pixbuf-2.0-0:amd64 depends on libpng16-16 (>= 1.6.2).
libgd3:amd64 depends on libpng16-16 (>= 1.6.2-1).
libfreetype6:amd64 depends on libpng16-16 (>= 1.6.2-1).
libcairo2:amd64 depends on libpng16-16 (>= 1.6.2-1).
(Reading database ... 75872 files and directories currently installed.)
Removing libpng16-16:amd64 (1.6.40-2) ...
Selecting previously unselected package libpng16-16t64:amd64.
(Reading database ... 75861 files and directories currently installed.)
Preparing to unpack .../libpng16-16t64_1.6.48-1+deb13u1_amd64.deb ...
Unpacking libpng16-16t64:amd64 (1.6.48-1+deb13u1) ...
dpkg: libpng12-dev:amd64: dependency problems, but removing anyway as you requested:
libfreetype-dev:amd64 depends on libpng-dev; however:
Package libpng-dev is not installed.
Package libpng12-dev:amd64 which provides libpng-dev is to be removed.
(Reading database ... 75873 files and directories currently installed.)
Removing libpng12-dev:amd64 (1.2.50-2+deb8u3) ...
Selecting previously unselected package libpng-dev:amd64.
(Reading database ... 75847 files and directories currently installed.)
Preparing to unpack .../libpng-dev_1.6.48-1+deb13u1_amd64.deb ...
Unpacking libpng-dev:amd64 (1.6.48-1+deb13u1) ...
Selecting previously unselected package libpng-tools.
Preparing to unpack .../libpng-tools_1.6.48-1+deb13u1_amd64.deb ...
Unpacking libpng-tools (1.6.48-1+deb13u1) ...
Setting up libpng16-16t64:amd64 (1.6.48-1+deb13u1) ...
Setting up libpng-tools (1.6.48-1+deb13u1) ...
Setting up libpng-dev:amd64 (1.6.48-1+deb13u1) ...
Processing triggers for libc-bin (2.37-12) ...
Processing triggers for man-db (2.11.2-2) ...
W: /bin resolved to a different inode than /usr/bin
W: Unmerged usr is no longer supported, use usrmerge to convert to a merged-usr system.
N: See https://www.debian.org/releases/bookworm/amd64/release-notes/ch-information.en.html#a-merged-usr-is-now-required for more details.
jmkim@db  ~  curl -O http://deb.debian.org/debian/pool/main/u/usrmerge/usrmerge_39+nmu2_all.deb
✘ jmkim@db  ~  sudo apt install usrmerger
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
E: Unable to locate package usrmerger
✘ jmkim@db  ~  sudo apt install usrmerge
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
The following additional packages will be installed:
libfile-find-rule-perl libnumber-compare-perl libtext-glob-perl
The following packages will be REMOVED:
libpng12-0
The following NEW packages will be installed:
libfile-find-rule-perl libnumber-compare-perl libtext-glob-perl usrmerge
0 upgraded, 4 newly installed, 1 to remove and 854 not upgraded.
Need to get 0 B/52.9 kB of archives.
After this operation, 127 kB disk space will be freed.
Do you want to continue? [Y/n]
(Reading database ... 75890 files and directories currently installed.)
Removing libpng12-0:amd64 (1.2.50-2+deb8u3) ...
Selecting previously unselected package libnumber-compare-perl.
(Reading database ... 75876 files and directories currently installed.)
Preparing to unpack .../libnumber-compare-perl_0.03-3_all.deb ...
Unpacking libnumber-compare-perl (0.03-3) ...
Selecting previously unselected package libtext-glob-perl.
Preparing to unpack .../libtext-glob-perl_0.11-3_all.deb ...
Unpacking libtext-glob-perl (0.11-3) ...
Selecting previously unselected package libfile-find-rule-perl.
Preparing to unpack .../libfile-find-rule-perl_0.34-4_all.deb ...
Unpacking libfile-find-rule-perl (0.34-4) ...
Preparing to unpack .../usrmerge_39+nmu2_all.deb ...
Unpacking usrmerge (39+nmu2) ...
Setting up libtext-glob-perl (0.11-3) ...
Setting up libnumber-compare-perl (0.03-3) ...
Setting up libfile-find-rule-perl (0.34-4) ...
Setting up usrmerge (39+nmu2) ...
FATAL ERROR:
Both /lib64/ld-linux-x86-64.so.2 and /usr/lib64/ld-linux-x86-64.so.2 exist.
You can try correcting the errors reported and running again
/usr/lib/usrmerge/convert-usrmerge until it will complete without errors.
Do not install or update other Debian packages until the program
has been run successfully.
E: usrmerge failed.
dpkg: error processing package usrmerge (--configure):
installed usrmerge package post-installation script subprocess returned error exit status 1
Processing triggers for man-db (2.11.2-2) ...
Errors were encountered while processing:
usrmerge
E: Sub-process /usr/bin/dpkg returned an error code (1)
✘ jmkim@db  ~  sudo rm /lib64/ld-linux-x86-64.so.2
✘ jmkim@db  ~  l /usr//lib64/ld-linux-x86-64.so.2
-rwxr-xr-x 1 root root 206K Jan 31 2024 /usr//lib64/ld-linux-x86-64.so.2
jmkim@db  ~  l /lib64/ld-linux-x86-64.so.2
lrwxrwxrwx 1 root root 42 Jan 31 2024 /lib64/ld-linux-x86-64.so.2 -> /lib/x86_64-linux-gnu/ld-linux-x86-64.so.2
jmkim@db  ~  sudo rm /lib64/ld-linux-x86-64.so.2
prompt_status:9: command not found: wc
jmkim@db  ~  sudo rm /lib64/ld-linux-x86-64.so.2
prompt_status:9: command not found: wc
✘ jmkim@db  ~  /usr/lib/usrmerge/convert-usrmerge
zsh: /usr/lib/usrmerge/convert-usrmerge: bad interpreter: /usr/bin/perl: no such file or directory
prompt_status:9: command not found: wc
✘ jmkim@db  ~  sudo ln -s /lib/x86_64-linux-gnu/ld-linux-x86-64.so.2 /lib64/ld-linux-x86-64.so.2
zsh: command not found: sudo
prompt_status:9: command not found: wc
✘ jmkim@db  ~  sh
zsh: command not found: sh
prompt_status:9: command not found: wc
✘ jmkim@db  ~  l /usr/
zsh: command not found: ls
prompt_status:9: command not found: wc
✘ jmkim@db  ~ 
Broadcast message from systemd-journald@db (Wed 2025-12-17 18:24:22 KST):
systemd[1]: Freezing execution.
Connection to db.pknu.ac.kr closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment