在Ubuntu 15.04上安裝Docker,更新失敗

在Ubuntu 15.04上安裝Docker,更新失敗

我正在努力使用sudo apt-get update

Description:    Ubuntu 15.04
Release:        15.04
Codename:       vivid

我正在 Illumina Basespace 上使用虛擬機,這可能是問題的一部分(除了 Basespace 的整個要點是使用 docker,所以我覺得它應該是可能的)。

我收到錯誤:

...
Ign https://get.docker.io docker/main Translation-en
Fetched 6,507 B in 10s (606 B/s)
W: Conflicting distribution: http://download.mono-project.com wheezy/snapshots/3.12.0 InRelease (expected wheezy/snapshots but got wheezy)
W: Failed to fetch http://us.archive.ubuntu.com/ubuntu/dists/trusty/Release  Unable to find expected entry 'partner/binary-amd64/Packages' in Release file (Wrong sources.list entry or malformed file)
W: Failed to fetch https://download.docker.com/linux/ubuntu/dists/vivid/stable/binary-amd64/Packages  HttpError404
W: Failed to fetch https://download.docker.com/linux/ubuntu/dists/vivid/stable/binary-armhf/Packages  HttpError404
W: Failed to fetch http://basespace-apt.s3.amazonaws.com/dists/bfs/main/binary-amd64/Packages  404  Not Found
W: Failed to fetch http://basespace-apt.s3.amazonaws.com/dists/bfs/main/binary-i386/Packages  404  Not Found
E: Some index files failed to download. They have been ignored, or old ones used instead."

如果我嘗試訪問有問題的鏈接,該地址似乎沒有 ubuntu/dists/vivid 資料夾,這可能是問題的一部分?

當我嘗試使用安裝 Docker 時

$ sudo apt-get install docker-ce

它告訴我無法找到該軟體包,我認為是因為更新無法正常工作。

我對這一切都很陌生,但我想知道是否有人可以提供任何幫助?我已經從類似的論壇嘗試了很多不同的東西,但沒有一個起作用。

答案1

根據Docker官網, docker 可以安裝在 Ubuntu 14.04,16.04 和 16.10 上

作業系統要求

要安裝 Docker,您需要以下 Ubuntu 版本之一的 64 位元版本:

烤鴨 16.10

Xenial 16.04 (LTS)

值得信賴 14.04 (LTS)

x86_64 和 armhf 架構均支援 Docker CE。

apt由於wheezyubuntu 發行版上的原始碼而失敗:

W: Conflicting distribution: http://download.mono-project.com wheezy/snapshots/3.12.0 InRelease (expected wheezy/snapshots but got wheezy)

相關內容