質問: debianバスターをi386からamd64にクロスグレードする https://wiki.debian.org/crossgrading の指示に従いましたが、dpkg、tarをクロスグレードした後、aptはすべて完全に壊れます。例:apt upgrade:# lang=c apt upgrade reading package lists... done building dependency tree reading state information... done you might want to run 'apt --fix-broken install' to correct these. the following packages have unmet dependencies: console-common : depends: kbd but it is not installed debconf : predepends: perl-base (>= 5.20.1-3~) but it is not installed recommends: apt-utils (>= 0.5.1) but it is not installed debconf-i18n : depends: liblocale-gettext-perl but it is not installed depends: libtext-iconv-perl but it is not installed depends: libtext-charwidth-perl but it is not installed default-mysql-client : depends: mariadb-client-10.3 but it is not installed default-mysql-server : depends: mariadb-server-10.3 but it is not installed dhcp3-client : depends: isc-dhcp-client but it is not installed dhcp3-common : depends: isc-dhcp-common but it is not installed diff : predepends: diffutils but it is not installed host : depends: bind9-host but it is not installed init-system-helpers : depends: perl-base (>= 5.20.1-3) but it is not installed krb5-config : depends: bind9-host but it is not installed libalgorithm-c3-perl : depends: perl but it is not installed libapache-session-perl : depends: perl but it is not installed recommends: libdbi-perl but it is not installed libapache2-mod-perl2:i386 : depends: libdevel-symdump-perl:i386 but it is not installable recommends: libapache2-reload-perl:i386 but it is not installable libapache2-reload-perl : depends: perl but it is not installed depends: libapache2-mod-perl2 but it is not installed libapache2-svn : depends: libapache2-mod-svn but it is not installed libappconfig-perl : depends: perl but it is not installed libauthen-radius-perl : depends: perl but it is not installed libauthen-sasl-perl : depends: perl but it is not installed libb-hooks-endofscope-perl : depends: perl but it is not installed depends: libvariable-magic-perl but it is not installed libbind-confparser-perl : depends: perl but it is not installed libbit-vector-perl:i386 : depends: libcarp-clan-perl:i386 but it is not installable libcache-cache-perl : depends: libipc-sharelite-perl but it is not installed depends: perl but it is not installed libcarp-assert-perl : depends: perl but it is not installed libcarp-clan-perl : depends: perl but it is not installed libcgi-fast-perl : depends: perl but it is not installed depends: libfcgi-perl but it is not installed libcgi-pm-perl : depends: perl but it is not installed depends: libhtml-parser-perl but it is not installed libclass-accessor-perl : depends: perl but it is not installed depends: libsub-name-perl but it is not installed libclass-c3-perl : depends: perl but it is not installed recommends: libclass-c3-xs-perl but it is not installed libclass-container-perl : depends: perl but it is not installed depends: libparams-validate-perl but it is not installed libclass-data-inheritable-perl : depends: perl but it is not installed libclass-dbi-abstractsearch-perl : depends: perl but it is not installed libclass-dbi-perl : depends: libclone-perl but it is not installed depends: perl but it is not installed libclass-inspector-perl : depends: perl but it is not installed libclass-makemethods-perl : depends: perl but it is not installed libclass-method-modifiers-perl : depends: perl but it is not installed libclass-trigger-perl : depends: perl but it is not installed libclone-choose-perl : depends: perl but it is not installed recommends: libclone-perl but it is not installed or libclone-pp-perl but it is not installed libconfig-inifiles-perl : depends: perl (>= 5.19.5) but it is not installed or libscalar-list-utils-perl (>= 1:1.33) libconvert-binhex-perl : depends: perl but it is not installed libcpan-changes-perl : depends: perl but it is not installed libcrypt-rc4-perl : depends: perl but it is not installed libdata-dump-perl : depends: perl but it is not installed libdata-optlist-perl : depends: perl but it is not installed depends: libparams-util-perl but it is not installed libdata-perl-perl : depends: perl but it is not installed depends: liblist-moreutils-perl but it is not installed libdate-calc-perl : depends: perl but it is not installed depends: libbit-vector-perl (>= 7.4) but it is not installed recommends: libdate-calc-xs-perl but it is not installed libdate-manip-perl : depends: perl but it is not installed libdbix-contextualfetch-perl : depends: perl but it is not installed depends: libdbi-perl but it is not installed libdbix-datasource-perl : depends: perl but it is not installed depends: libdbi-perl but it is not installed libdevel-callchecker-perl:i386 : depends: libdynaloader-functions-perl:i386 but it is not installable libdevel-globaldestruction-perl : depends: perl (>= 5.14.0) but it is not installed libdevel-stacktrace-perl : depends: perl but it is not installed libdevel-symdump-perl : depends: perl but it is not installed libdigest-bubblebabble-perl : depends: perl but it is not installed libdigest-hmac-perl : depends: perl but it is not installed libdigest-perl-md5-perl : depends: perl but it is not installed libdynaloader-functions-perl : depends: perl but it is not installed libencode-locale-perl : depends: perl but it is not installed liberror-perl : depends: perl but it is not installed libexception-class-perl : depends: perl but it is not installed libexporter-tiny-perl : depends: perl but it is not installed libfile-listing-perl : depends: perl but it is not installed libfile-sharedir-perl : depends: perl but it is not installed libfile-slurp-perl : depends: perl but it is not installed libgetopt-long-descriptive-perl : depends: perl but it is not installed depends: libparams-validate-perl but it is not installed libgraph-perl : depends: perl but it is not installed libgraphviz-perl : depends: perl but it is not installed libhash-merge-perl : depends: perl but it is not installed libhtml-mason-perl : depends: perl but it is not installed depends: libhtml-parser-perl but it is not installed depends: libparams-validate-perl but it is not installed recommends: libapache2-mod-perl2 but it is not installed libhtml-parser-perl:i386 : depends: libhtml-tagset-perl:i386 but it is not installable recommends: libhttp-message-perl:i386 but it is not installable libhtml-tagset-perl : depends: perl but it is not installed libhtml-template-perl : depends: perl but it is not installed libhtml-tree-perl : depends: perl but it is not installed depends: libhtml-parser-perl but it is not installed recommends: libhtml-format-perl but it is not installed libhttp-cookies-perl : depends: perl but it is not installed libhttp-date-perl : depends: perl but it is not installed libhttp-message-perl : depends: perl but it is not installed libhttp-negotiate-perl : depends: perl but it is not installed libima-dbi-perl : depends: perl but it is not installed depends: libdbi-perl but it is not installed libimport-into-perl : depends: perl but it is not installed libio-html-perl : depends: perl but it is not installed libio-socket-inet6-perl : depends: perl but it is not installed depends: libsocket6-perl but it is not installed libio-socket-ssl-perl : depends: libnet-ssleay-perl (>= 1.85-2~) but it is not installed depends: libssl1.1 (>= 1.1.1) but it is not installed depends: perl but it is not installed recommends: perl (>= 5.15.6) but it is not installed or libsocket-perl or libsocket6-perl but it is not installed libio-string-perl : depends: perl but it is not installed libio-stringy-perl : depends: perl but it is not installed libipc-run-perl : depends: perl but it is not installed depends: libio-pty-perl but it is not installed liblingua-en-inflect-perl : depends: perl but it is not installed liblist-moreutils-perl:i386 : depends: libexporter-tiny-perl:i386 but it is not installable liblog-any-perl : depends: perl but it is not installed liblua5.1-sec-dev : depends: lua-sec but it is not installed liblua5.1-sec1 : depends: lua-sec but it is not installed liblwp-mediatypes-perl : depends: perl but it is not installed liblwp-protocol-https-perl : depends: perl but it is not installed libmailtools-perl : depends: perl but it is not installed libmath-base-convert-perl : depends: perl but it is not installed libmd5-perl : depends: perl (>= 5.8.0-10) but it is not installed libmime-base32-perl : depends: perl but it is not installed libmime-tools-perl : depends: perl but it is not installed libmodule-build-perl : depends: perl but it is not installed depends: perl (>= 5.19.5) but it is not installed or libtest-harness-perl (>= 3.29) depends: perl (>= 5.21.3) but it is not installed or libcpan-meta-perl (>= 2.142060) recommends: libmodule-signature-perl but it is not installed recommends: libsoftware-license-perl (>= 0.103009) but it is not installed libmodule-implementation-perl : depends: perl but it is not installed libmodule-runtime-perl : depends: perl but it is not installed depends: libparams-classify-perl but it is not installed libmoo-perl : depends: perl but it is not installed recommends: libclass-xsaccessor-perl (>= 1.18) but it is not installed recommends: libsub-name-perl (>= 0.08) but it is not installed libmoox-handlesvia-perl : depends: perl but it is not installed libmro-compat-perl : depends: perl but it is not installed recommends: libclass-c3-xs-perl but it is not installed libnamespace-autoclean-perl : depends: libsub-identify-perl but it is not installed depends: perl but it is not installed libnamespace-clean-perl : depends: libsub-identify-perl but it is not installed depends: libsub-name-perl but it is not installed depends: perl but it is not installed libnet-daemon-perl : depends: perl but it is not installed libnet-dns-perl : depends: perl but it is not installed recommends: libnet-dns-sec-perl but it is not installed recommends: libnet-libidn-perl but it is not installed libnet-dns-sec-perl:i386 : depends: libnet-dns-perl:i386 (>= 1.08) but it is not installable libnet-http-perl : depends: perl but it is not installed depends: perl (>= 5.19.8) but it is not installed or libio-socket-ip-perl (>= 0.26) libnet-ip-perl : depends: perl but it is not installed libnet-smtp-ssl-perl : depends: perl but it is not installed libole-storage-lite-perl : depends: perl but it is not installed libpackage-stash-perl : depends: perl but it is not installed recommends: libpackage-stash-xs-perl but it is not installed libpackage-variant-perl : depends: perl but it is not installed libpam-krb5:i386 : depends: krb5-config:i386 but it is not installable libpam-runtime : depends: libpam-modules (>= 1.0.1-6) but it is not installed libparallel-forkmanager-perl : depends: perl but it is not installed libparams-validate-perl:i386 : depends: libmodule-implementation-perl:i386 but it is not installable libparse-debianchangelog-perl : depends: perl but it is not installed depends: liblocale-gettext-perl but it is not installed libparse-recdescent-perl : depends: perl but it is not installed libpath-tiny-perl : depends: perl but it is not installed recommends: libunicode-utf8-perl but it is not installed libplrpc-perl : depends: perl (>= 5.6.0-16) but it is not installed depends: libstorable-perl or perl-modules (>= 5.8.0-10) libpod-markdown-perl : depends: perl but it is not installed depends: perl (>= 5.18.0) but it is not installed or libpod-simple-perl (>= 3.27) recommends: libhtml-parser-perl but it is not installed libpod-readme-perl : depends: perl but it is not installed depends: perl (>= 5.19.5) but it is not installed or libscalar-list-utils-perl (>= 1:1.33) recommends: libtype-tiny-xs-perl but it is not installed libreadonly-perl : depends: perl but it is not installed libref-util-perl : depends: perl but it is not installed recommends: libref-util-xs-perl but it is not installed librole-tiny-perl : depends: perl but it is not installed libsnmp-info-perl : depends: perl but it is not installed depends: libnetaddr-ip-perl but it is not installed depends: libsnmp-perl but it is not installed libspreadsheet-parseexcel-perl : depends: perl but it is not installed depends: libjcode-pm-perl but it is not installed depends: libunicode-map-perl but it is not installed libspreadsheet-writeexcel-perl : depends: perl but it is not installed libsql-abstract-limit-perl : depends: perl but it is not installed depends: libdbi-perl but it is not installed libsql-abstract-perl : depends: perl but it is not installed libsql-statement-perl : depends: perl but it is not installed depends: libclone-perl but it is not installed depends: libparams-util-perl but it is not installed recommends: libdbi-perl but it is not installed recommends: libtext-soundex-perl but it is not installed or perl (< 5.17.9) but it is not installed libsql-translator-perl : depends: perl but it is not installed depends: libdbi-perl but it is not installed recommends: libgd-perl but it is not installed recommends: libjson-perl but it is not installed recommends: libtemplate-perl but it is not installed recommends: libxml-libxml-perl but it is not installed recommends: libyaml-perl but it is not installed libstrictures-perl : depends: perl but it is not installed libsub-exporter-perl : depends: perl but it is not installed libsub-exporter-progressive-perl : depends: perl but it is not installed libsub-install-perl : depends: perl but it is not installed libsub-quote-perl : depends: perl but it is not installed libswitch-perl : depends: perl but it is not installed libtemplate-perl:i386 : depends: libappconfig-perl:i386 (>= 1.56) but it is not installable libtext-autoformat-perl : depends: perl but it is not installed libtext-recordparser-perl : depends: liblist-moreutils-perl but it is not installed depends: perl but it is not installed libtext-reform-perl : depends: perl but it is not installed libtext-tabulardisplay-perl : depends: perl but it is not installed libtext-wrapi18n-perl : depends: libtext-charwidth-perl but it is not installed libtie-ixhash-perl : depends: perl but it is not installed libtimedate-perl : depends: perl but it is not installed libtry-tiny-perl : depends: perl but it is not installed libtype-tiny-perl : depends: perl but it is not installed recommends: libscalar-list-utils-perl (>= 1:1.40) recommends: libtype-tiny-xs-perl but it is not installed libuniversal-moniker-perl : depends: perl but it is not installed libwww-perl : depends: perl but it is not installed depends: libhtml-parser-perl but it is not installed recommends: libhtml-form-perl but it is not installed recommends: libhtml-format-perl but it is not installed recommends: libhttp-daemon-perl but it is not installed libwww-robotrules-perl : depends: perl but it is not installed libxml-libxml-perl:i386 : depends: libxml-namespacesupport-perl:i386 but it is not installable depends: libxml-sax-perl:i386 but it is not installable libxml-namespacesupport-perl : depends: perl but it is not installed libxml-sax-base-perl : depends: perl but it is not installed libxml-sax-expat-perl : depends: perl but it is not installed depends: libxml-parser-perl but it is not installed libxml-sax-perl : depends: perl but it is not installed libxml-simple-perl : depends: perl but it is not installed libxml-twig-perl : depends: perl but it is not installed depends: libxml-parser-perl but it is not installed recommends: libtext-iconv-perl but it is not installed recommends: libhtml-parser-perl but it is not installed libxml-writer-perl : depends: perl but it is not installed libxml-xpath-perl : depends: perl but it is not installed depends: libxml-parser-perl but it is not installed depends: libscalar-list-utils-perl mailx : depends: bsd-mailx but it is not installed mariadb-client-10.3:i386 : depends: libconfig-inifiles-perl:i386 but it is not installable mediawiki : depends: apache2 but it is not installed or httpd recommends: php-apcu but it is not installed recommends: php-wikidiff2 but it is not installed recommends: python3 but it is not installed mediawiki-extensions-math : depends: mediawiki-math-texvc (>= 2:1.0) but it is not installable recommends: mediawiki-extensions-base but it is not installable mediawiki-math:i386 : depends: mediawiki-extensions-math:i386 but it is not installable mercurial:i386 : depends: mercurial-common:i386 (= 4.8.2-1+deb10u1) but it is not installable mysql-client:i386 : depends: default-mysql-client:i386 but it is not installable nagios-plugins-basic : depends: monitoring-plugins-basic but it is not installed openssl-blacklist : depends: python but it is not installed perl-modules-5.24 : depends: perl-base (>= 5.24.1-1) but it is not installed recommends: perl (>= 5.24.1-1) but it is not installed perl-modules-5.28 : depends: perl-base (>= 5.28.1-1) but it is not installed recommends: perl (>= 5.28.1-1) but it is not installed php-apcu:i386 : predepends: php-common:i386 (>= 2:69~) but it is not installable php-apcu-bc:i386 : predepends: php-common:i386 (>= 2:69~) but it is not installable php-bz2 : depends: php7.3-bz2 but it is not installed php-cli : depends: php7.3-cli but it is not installed php-curl : depends: php7.3-curl but it is not installed php-gd : depends: php7.3-gd but it is not installed php-intl : depends: php7.3-intl but it is not installed php-mbstring : depends: php7.3-mbstring but it is not installed php-mysql : depends: php7.3-mysql but it is not installed php-soap : depends: php7.3-soap but it is not installed php-wikidiff2:i386 : depends: php-common:i386 (>= 1:7.0+33~) but it is not installable php-xml : depends: php7.3-xml but it is not installed php-zip : depends: php7.3-zip but it is not installed php5 : depends: libapache2-mod-php5 (>= 5.6.40+dfsg-0+deb8u9~) but it is not installable or libapache2-mod-php5filter (>= 5.6.40+dfsg-0+deb8u9~) but it is not installable or php5-cgi (>= 5.6.40+dfsg-0+deb8u9~) but it is not installable or php5-fpm (>= 5.6.40+dfsg-0+deb8u9~) but it is not installable depends: php5-common (>= 5.6.40+dfsg-0+deb8u9~) but it is not installable php7.0-bz2:i386 : depends: php-common:i386 (>= 1:35) but it is not installable php7.0-common:i386 : depends: php-common:i386 (>= 1:35) but it is not installable php7.0-gd:i386 : depends: php-common:i386 (>= 1:35) but it is not installable php7.0-intl:i386 : depends: php-common:i386 (>= 1:35) but it is not installable php7.0-json:i386 : depends: php-common:i386 (>= 1:35) but it is not installable php7.0-mbstring:i386 : depends: php-common:i386 (>= 1:35) but it is not installable php7.0-mysql:i386 : depends: php-common:i386 (>= 1:35) but it is not installable php7.0-opcache:i386 : depends: php-common:i386 (>= 1:35) but it is not installable php7.0-readline:i386 : depends: php-common:i386 (>= 1:35) but it is not installable php7.0-soap:i386 : depends: php-common:i386 (>= 1:35) but it is not installable php7.0-xml:i386 : depends: php-common:i386 (>= 1:35) but it is not installable php7.0-zip:i386 : depends: php-common:i386 (>= 1:35) but it is not installable php7.3 : depends: libapache2-mod-php7.3 but it is not installed or php7.3-fpm but it is not installed or php7.3-cgi but it is not installed depends: php7.3-common but it is not installed php7.3-bz2:i386 : depends: php-common:i386 (>= 1:35) but it is not installable php7.3-common:i386 : depends: php-common:i386 (>= 1:35) but it is not installable php7.3-curl:i386 : depends: php-common:i386 (>= 1:35) but it is not installable php7.3-gd:i386 : depends: php-common:i386 (>= 1:35) but it is not installable php7.3-intl:i386 : depends: php-common:i386 (>= 1:35) but it is not installable php7.3-json:i386 : depends: php-common:i386 (>= 1:35) but it is not installable php7.3-mbstring:i386 : depends: php-common:i386 (>= 1:35) but it is not installable php7.3-mysql:i386 : depends: php-common:i386 (>= 1:35) but it is not installable php7.3-opcache:i386 : depends: php-common:i386 (>= 1:35) but it is not installable php7.3-readline:i386 : depends: php-common:i386 (>= 1:35) but it is not installable php7.3-soap:i386 : depends: php-common:i386 (>= 1:35) but it is not installable php7.3-xml:i386 : depends: php-common:i386 (>= 1:35) but it is not installable php7.3-zip:i386 : depends: php-common:i386 (>= 1:35) but it is not installable phpmyadmin : depends: php-json depends: perl but it is not installed recommends: apache2 but it is not installed or lighttpd but it is not installed or httpd pure-ftpd-common : depends: libpam-modules but it is not installed depends: perl but it is not installed recommends: pure-ftpd pure-ftpd-ldap:i386 : depends: pure-ftpd-common:i386 (= 1.0.47-3) but it is not installable python-certifi : depends: python (< 2.8) but it is not installed depends: python (>= 2.7) but it is not installed python-cryptography:i386 : depends: python-asn1crypto:i386 but it is not installable depends: python-enum34:i386 but it is not installable depends: python-ipaddress:i386 but it is not installable python-openssl : depends: python-cryptography (>= 2.3) but it is not installed python3-acme : depends: python3-cryptography (>= 1.2.3) but it is not installed python3-certbot : depends: python3-cryptography (>= 1.2.3) but it is not installed depends: python3-zope.interface but it is not installed python3-cryptography:i386 : depends: python3-asn1crypto:i386 (>= 0.21.0~) but it is not installable python3-distutils : depends: python3 (>= 3.7.1-1~) but it is not installed depends: python3 (< 3.8) but it is not installed python3-josepy : depends: python3-cryptography (>= 0.8) but it is not installed python3-lib2to3 : depends: python3 (>= 3.7.1-1~) but it is not installed depends: python3 (< 3.8) but it is not installed python3-openssl : depends: python3-cryptography (>= 2.3) but it is not installed python3-zope.component : depends: python3-zope.hookable but it is not installed depends: python3-zope.interface (>= 4.1.0) but it is not installed sasl2-bin:i386 : depends: db-util:i386 but it is not installable sendmail-base : depends: make stunnel : depends: stunnel4 (>= 3:4.20-3) but it is not installed sysv-rc : depends: insserv (> 1.12.0-10) but it is not installed update-inetd : depends: perl but it is not installed z-push-config-apache : depends: apache2 but it is not installed depends: libapache2-mod-php or libapache2-mod-php5 but it is not installable e: unmet dependencies. try 'apt --fix-broken install' with no packages (or specify a solution). apt --fix-broken installを実行すると、システムが完全に壊れ、apt/dpkgが削除されます。sources.listは見栄えが悪いように見えます(ローカルのおおよそのインスタンスを指しています):deb http://apt-proxy:9999/debian buster main contrib non-free deb http://apt-proxy:9999/security buster/updates main contrib non-free deb http://packages.prosody.im/debian stable main deb http://ftp.at.debian.org/debian buster-backports main # z-push deb http://repo.z-hub.io/z-push:/final/debian_8.0/ / 参考までに、apt-config dumpの出力はかなり大きいので、pastebinに置きました: https://paste.ubuntu.com/p/hxtv7jkvws/ システムはdebianバスター(さまざまなバージョンからアップグレード)であり、vm /コンテナー(現在はlxc)です。絶対に再インストールは避けたいです。どうすれば続行できますか?(zfsスナップショットがあるので、クリーンリスタートも実行できます)
回答: アプリケーションまたはオペレーティングシステムを32ビットから64ビットに変換するには、アプリケーションをアンインストールして対応する64ビットアプリケーションをインストールする必要があります。オペレーティングシステム全体を64ビットに変換するには、すべてをバックアップして再インストールする必要があります。オペレーティングシステム。 64ビットへの変換は更新に耐えられる以上のものであるため、これは常に当てはまります。