aptは新しく追加されたリポジトリからパッケージをインストールしません。

aptは新しく追加されたリポジトリからパッケージをインストールしません。

私はarm64アーチのある仮想マシンにDebian 9(Stretch)を新しくインストールして使用しています。 Dockerと.NET Coreをインストールしたいです。指示に従ってリポジトリを追加しました(他のインストールではうまく機能します)。を実行すると、sudo apt updateすべてが大丈夫に見え、新しいリポジトリを一覧表示してそのリポジトリに接続できます。しかしdocker-ce、orをインストールしようとすると、dotnet-sdkパッケージaptが見つからないというメッセージが表示されます。

ストレージ設定に問題があるかどうかをどのように診断しますか?

$ cat /etc/apt/sources.list
deb http://deb.debian.org/debian/ stable main contrib non-free
#deb-src http://deb.debian.org/debian/ stable main contrib non-free
deb http://deb.debian.org/debian/ stable-updates main contrib non-free
#deb-src http://deb.debian.org/debian/ stable-updates main contrib non-free

$ cat /etc/apt/sources.list.d/docker.list
deb [arch=armhf] https://download.docker.com/linux/debian stretch stable

$ cat /etc/apt/sources.list.d/microsoft-prod.list
deb [arch=amd64] https://packages.microsoft.com/debian/9/prod stretch main

$ sudo apt update
Ign:1 http://deb.debian.org/debian stable InRelease
Get:2 http://deb.debian.org/debian stable-updates InRelease [91.0 kB]
Hit:3 http://deb.debian.org/debian stable Release
Get:4 https://download.docker.com/linux/debian stretch InRelease [39.1 kB]
Hit:5 https://packages.microsoft.com/debian/9/prod stretch InRelease
Fetched 130 kB in 8s (15.6 kB/s)
Reading package lists... Done
Building dependency tree
Reading state information... Done
All packages are up to date.

$ sudo apt install dotnet-sdk-2.1
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Unable to locate package dotnet-sdk-2.1
E: Couldn't find any package by glob 'dotnet-sdk-2.1'
E: Couldn't find any package by regex 'dotnet-sdk-2.1'

$ sudo apt install docker-ce
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Unable to locate package docker-ce

ベストアンサー1

あなたのリポジトリはサポートしていません[1]あなたのアーキテクチャRM64. 単一MD64. より良い店を見つけてください。

おすすめ記事