dpkgがすでに最新バージョンの場合、どのようにアップグレードしますか? // LetsEncrypt Certbot バックポートが原因で dpkg が原因で apt-get のアップグレードが中断されました。

dpkgがすでに最新バージョンの場合、どのようにアップグレードしますか? // LetsEncrypt Certbot バックポートが原因で dpkg が原因で apt-get のアップグレードが中断されました。

Debian 9.4 ストレッチで

updated && upgraded誤って変更しましたが、後で正しいものに変更しjessie-backportsました。sources.liststretch-backports

これは私のアパートを台無しにしますか?

そうでない場合:

sudo apt-get update && sudo apt-get upgrade

与えられた

The following packages have been kept back:
[...] 116 not upgraded.    

その理由は次のとおりですdpkg

sudo apt-get install -f util-linux
[Going down the dependency breaks]
sudo apt-get install -f perl-base
perl-base : PreDepends: dpkg (>= 1.17.17) but 1.16.17 is to be installed
            Breaks: texinfo (< 6.1.0.dfsg.1-8) but 4.13a.dfsg.1-10 is to be installed

sudo apt-get install -f dpkg
dpkg is already the newest version.

Certbotをインストールするには、dpkgによる依存関係の問題をstretch-backports解決する必要util-linuxがありますか?

可能ですか?

ベストアンサー1

cat /etc/issue

私にくださいDebian GNU/Linux 9 \n \l

そのため、wheezysource.listの以前のパッケージ構成を次のように変更しましたstretch

deb http://deb.debian.org/debian stretch main contrib non-free
deb-src http://deb.debian.org/debian stretch main contrib non-free

deb http://deb.debian.org/debian stretch-updates main contrib non-free
deb-src http://deb.debian.org/debian stretch-updates main contrib non-free

deb http://security.debian.org/debian-security/ stretch/updates main contrib non-free
deb-src http://security.debian.org/debian-security/ stretch/updates main contrib non-free

残念ながら、これらのパッケージは中断されているように見え、現在jessieを介して拡張されるようにアップグレードされています。

おすすめ記事