首页
学习
活动
专区
圈层
工具
发布
社区首页 >问答首页 >未能在Debian 8上安装对接器

未能在Debian 8上安装对接器
EN

Server Fault用户
提问于 2016-02-09 16:43:14
回答 1查看 1.9K关注 0票数 1

这是我第一次和Debian打交道,我需要一个码头。我跟踪https://docs.docker.com/engine/installation/linux/debian/以安装它,但是我遇到了错误:

代码语言:javascript
复制
% apt-get update
Ign cdrom://[Debian GNU/Linux 8.3.0 _Jessie_ - Official amd64 DVD Binary-1 20160123-19:03] jessie InRelease
Ign cdrom://[Debian GNU/Linux 8.3.0 _Jessie_ - Official amd64 DVD Binary-1 20160123-19:03] jessie Release.gpg
Ign cdrom://[Debian GNU/Linux 8.3.0 _Jessie_ - Official amd64 DVD Binary-1 20160123-19:03] jessie Release
Ign cdrom://[Debian GNU/Linux 8.3.0 _Jessie_ - Official amd64 DVD Binary-1 20160123-19:03] jessie/contrib amd64 Packages/DiffIndex
Ign cdrom://[Debian GNU/Linux 8.3.0 _Jessie_ - Official amd64 DVD Binary-1 20160123-19:03] jessie/main amd64 Packages/DiffIndex
Ign cdrom://[Debian GNU/Linux 8.3.0 _Jessie_ - Official amd64 DVD Binary-1 20160123-19:03] jessie/contrib Translation-en_CA
Ign cdrom://[Debian GNU/Linux 8.3.0 _Jessie_ - Official amd64 DVD Binary-1 20160123-19:03] jessie/main Translation-en_CA
Hit http://security.debian.org jessie/updates InRelease
Hit http://security.debian.org jessie/updates/main Sources
Hit http://security.debian.org jessie/updates/contrib Sources
Hit http://security.debian.org jessie/updates/main amd64 Packages
Hit http://security.debian.org jessie/updates/contrib amd64 Packages
Hit http://security.debian.org jessie/updates/contrib Translation-en
Hit http://security.debian.org jessie/updates/main Translation-en
Reading package lists... Done
% apt-get install apt-transport-https ca-certificates
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Unable to locate package apt-transport-https
%

按照建议,我更新了/etc/apt/sources.list

代码语言:javascript
复制
% cat /etc/apt/sources.list
#
deb http://ftp.de.debian.org/debian/ jessie main
deb-src http://ftp.de.debian.org/debian/ jessie main

deb http://security.debian.org/ jessie/updates main
deb-src http://security.debian.org/ jessie/updates main

deb http://ftp.de.debian.org/debian/ jessie-updates main
deb-src http://ftp.de.debian.org/debian/ jessie-updates main

然而,apt-cache show apt-transport-https返回错误(无法找到包),and apt-get install apt-transport-https返回与以前相同的失败。

我应该看什么来解决这个问题?谢谢。

EN

回答 1

Server Fault用户

回答已采纳

发布于 2016-02-09 18:20:29

软件包可在官方存储库中使用(使用apt-cache show apt-transport-https检查),但似乎没有包含在用于安装的DVD中。

修改您的sources.list以使用因特网存储库而不是DVD应该可以修复它。另见此处:https://unix.stackexchange.com/questions/16370/apt-get-prompts-for-cds-when-installing-packages-how-do-i-make-it-stop

票数 3
EN
页面原文内容由Server Fault提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://serverfault.com/questions/755040

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档