
私は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. より良い店を見つけてください。
答え2
Docker CEをインストールするには、システムアーキテクチャに合わせてストレージ定義を調整する必要があります。
deb [arch=arm64] https://download.docker.com/linux/debian stretch stable
amd64
Microsoft は、お客様のアーキテクチャに合った .NET Core パッケージを提供していません。バイナリタールボールのダウンロード指示に従って手動でインストールしてください。