首页
学习
活动
专区
圈层
工具
发布
首页
学习
活动
专区
圈层
工具
MCP广场
社区首页 >问答首页 >E:找不到方法驱动程序/usr/lib/apt/ method /https

E:找不到方法驱动程序/usr/lib/apt/ method /https
EN

Ask Ubuntu用户
提问于 2013-09-22 04:34:00
回答 1查看 16.5K关注 0票数 0

我试过使用sudo apt-get install apt-transport-https,但它对我不起作用。

代码语言:javascript
运行
复制
sudo apt-get update
E: The method driver /usr/lib/apt/methods/https could not be found.

sudo apt-get install apt-transport-https

Reading package lists... Done
Building dependency tree       
Reading state information... Done
Package apt-transport-https is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source

E: Package 'apt-transport-https' has no installation candidate

我的etc/apt/sources.list

代码语言:javascript
运行
复制
# deb cdrom:[Ubuntu 13.04 _Raring Ringtail_ - Release amd64 (20130424)]/ raring main restricted

deb http://ubuntu.mirror.atratoip.net/ubuntu/ raring main restricted
deb-src http://ubuntu.mirror.atratoip.net/ubuntu/ raring restricted universe multiverse main #Added by software-properties

## Major bug fix updates produced after the final release of the
## distribution.
deb http://ubuntu.mirror.atratoip.net/ubuntu/ raring-updates main restricted
deb-src http://ubuntu.mirror.atratoip.net/ubuntu/ raring-updates restricted main multiverse universe #Added by software-properties

deb http://ubuntu.mirror.atratoip.net/ubuntu/ raring universe
deb http://ubuntu.mirror.atratoip.net/ubuntu/ raring-updates universe

deb http://ubuntu.mirror.atratoip.net/ubuntu/ raring multiverse
deb http://ubuntu.mirror.atratoip.net/ubuntu/ raring-updates multiverse

deb http://ubuntu.mirror.atratoip.net/ubuntu/ raring-backports main restricted universe multiverse
deb-src http://ubuntu.mirror.atratoip.net/ubuntu/ raring-backports main restricted universe multiverse #Added by software-properties

deb http://ubuntu.mirror.atratoip.net/ubuntu/ raring-security main restricted
deb-src http://ubuntu.mirror.atratoip.net/ubuntu/ raring-security restricted main multiverse universe #Added by software-properties
deb http://ubuntu.mirror.atratoip.net/ubuntu/ raring-security universe
deb http://ubuntu.mirror.atratoip.net/ubuntu/ raring-security multiverse

## Uncomment the following two lines to add software from Canonical\'s
## \'partner\' repository.
## This software is not part of Ubuntu, but is offered by Canonical and the
## respective vendors as a service to Ubuntu users.
deb http://archive.canonical.com/ubuntu raring partner
deb-src http://archive.canonical.com/ubuntu raring partner

## This software is not part of Ubuntu, but is offered by third-party
## developers who want to ship their latest software.
deb http://extras.ubuntu.com/ubuntu raring main
deb http://archive.canonical.com/ raring partner
deb-src http://archive.canonical.com/ raring partner
deb-src http://extras.ubuntu.com/ubuntu raring main
EN

回答 1

Ask Ubuntu用户

发布于 2013-11-09 19:33:50

我无法使命令行变体准确工作,但我能够浏览到

代码语言:javascript
运行
复制
http://ubuntu.mirror.atratoip.net/ubuntu/pool/main/a/apt/

在这里,我找到了apt传输-https的最新版本,在我的例子中,

代码语言:javascript
运行
复制
apt-transport-https_0.9.7.7ubuntu6_i386.deb

然后我下载了它,双击deb文件并安装了它。现在一切似乎又恢复正常了。

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

https://askubuntu.com/questions/348582

复制
相关文章

相似问题

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