![在 amd64 Debian Buster 上启用 i386 arch 并安装 libc6:i386 尝试替换整个操作系统](https://linux22.com/image/204119/%E5%9C%A8%20amd64%20Debian%20Buster%20%E4%B8%8A%E5%90%AF%E7%94%A8%20i386%20arch%20%E5%B9%B6%E5%AE%89%E8%A3%85%20libc6%3Ai386%20%E5%B0%9D%E8%AF%95%E6%9B%BF%E6%8D%A2%E6%95%B4%E4%B8%AA%E6%93%8D%E4%BD%9C%E7%B3%BB%E7%BB%9F.png)
Distributor ID: Debian
Description: Debian GNU/Linux 11 (bullseye)
Release: 11
Codename: bullseye
我想安装libc6:i386
以支持旧的专有打印机驱动程序。我已经执行了以下操作:
dpkg --add-architecture i386
apt update
当我尝试libc6:i386
通过安装时
apt install libc6:i386
我收到一条消息,表明大多数现有软件包(包括基本软件包)将被删除。
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
The following packages were automatically installed and are no longer required:
[ seemingly all of the automatically installed packages on my system]
Use 'apt autoremove' to remove them.
The following additional packages will be installed:
gcc-10-base:i386 libcrypt1:i386 libgcc-s1:i386 libidn2-0:i386 libunistring2:i386
Suggested packages:
glibc-doc:i386 debconf:i386 | debconf-2.0:i386 locales:i386
Recommended packages:
libnss-nis:i386 libnss-nisplus:i386
The following packages will be REMOVED:
[ seemingly all of remaining packages, including X, etc ]
The following NEW packages will be installed:
gcc-10-base:i386 libc6:i386 libcrypt1:i386 libgcc-s1:i386 libidn2-0:i386 libunistring2:i386
WARNING: The following essential packages will be removed.
This should NOT be done unless you know exactly what you are doing!
apt adduser (due to apt) gpgv (due to apt) libapt-pkg6.0 (due to apt) libc6 (due to apt) libgcc-s1 (due to apt) libgnutls30 (due to apt) libseccomp2 (due to apt)
libstdc++6 (due to apt) libsystemd0 (due to apt) base-files base-passwd libdebconfclient0 (due to base-passwd) bash libtinfo6 (due to bash) debianutils (due to bash) bsdutils
coreutils libacl1 (due to coreutils) libattr1 (due to coreutils) libgmp10 (due to coreutils) libselinux1 (due to coreutils) dash dpkg (due to dash) debconf (due to dash)
diffutils libbz2-1.0 (due to dpkg) liblzma5 (due to dpkg) zlib1g (due to dpkg) tar (due to dpkg) e2fsprogs libblkid1 (due to e2fsprogs) libcom-err2 (due to e2fsprogs)
libext2fs2 (due to e2fsprogs) libss2 (due to e2fsprogs) libuuid1 (due to e2fsprogs) logsave (due to e2fsprogs) findutils grep libpcre3 (due to grep) install-info (due to grep)
gzip hostname init systemd-sysv (due to init) init-system-helpers (due to init) perl-base (due to init-system-helpers) libc-bin libcrypt1 login libaudit1 (due to login)
libpam0g (due to login) libpam-runtime (due to login) libpam-modules (due to login) ncurses-bin sed sysvinit-utils util-linux libcap-ng0 (due to util-linux)
libmount1 (due to util-linux) libsmartcols1 (due to util-linux) libudev1 (due to util-linux)
0 upgraded, 6 newly installed, 2746 to remove and 1 not upgraded.
Need to get 3,579 kB of archives.
After this operation, 13.7 GB disk space will be freed.
You are about to do something potentially harmful.
To continue type in the phrase 'Yes, do as I say!'
这是我的源存储库:
deb http://deb.debian.org/debian/ bullseye main non-free contrib
deb http://security.debian.org/debian-security bullseye-security main non-free contrib
deb http://deb.debian.org/debian/ bullseye-updates main non-free contrib
deb [arch=amd64] http://http.debian.net/debian bullseye-backports main non-free contrib
deb [arch=amd64] http://dl.google.com/linux/chrome/deb/ stable main
deb [arch=amd64 signed-by=/usr/share/keyrings/signal-desktop-keyring.gpg] https://updates.signal.org/desktop/apt xenial main
deb [arch=amd64] https://xpra.org/ bullseye main
知道可能是什么原因造成的吗?
编辑1:
在添加架构之前系统是最新的,例如
# apt upgrade
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
Calculating upgrade... Done
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
添加新架构并运行后apt update
,立即apt upgrade
返回:
# apt upgrade
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
Calculating upgrade... Done
The following packages have been kept back:
gnupg gnupg-l10n
0 upgraded, 0 newly installed, 0 to remove and 2 not upgraded.
这似乎表明在尝试安装之前已经存在问题libc