即使在执行sudo apt-get update之后也无法在Ubuntu 17.04上安装vim编辑器

普拉达·萨卡(Pradipta Sarkar)

我的sources.list文件如下:

deb cdrom:[Ubuntu 17.04 _Zesty Zapus_ - Release amd64 (20170412)]/ zesty main restricted 
deb http://in.archive.ubuntu.com/ubuntu/ zesty universe
deb-src http://in.archive.ubuntu.com/ubuntu/ zesty universe
deb http://in.archive.ubuntu.com/ubuntu/ zesty-updates universe
deb-src http://in.archive.ubuntu.com/ubuntu/ zesty-updates universe

deb http://in.archive.ubuntu.com/ubuntu/ zesty multiverse
deb-src http://in.archive.ubuntu.com/ubuntu/ zesty multiverse
deb http://in.archive.ubuntu.com/ubuntu/ zesty-updates multiverse
deb-src http://in.archive.ubuntu.com/ubuntu/ zesty-updates multiverse

deb http://in.archive.ubuntu.com/ubuntu/ zesty-backports main restricted universe multiverse
deb-src http://in.archive.ubuntu.com/ubuntu/ zesty-backports main restricted universe multiverse

deb http://archive.canonical.com/ubuntu zesty partner
deb-src http://archive.canonical.com/ubuntu zesty partner

deb http://security.ubuntu.com/ubuntu zesty-security main restricted
deb-src http://security.ubuntu.com/ubuntu zesty-security main restricted
deb http://security.ubuntu.com/ubuntu zesty-security universe
deb-src http://security.ubuntu.com/ubuntu zesty-security universe
deb http://security.ubuntu.com/ubuntu zesty-security multiverse
deb-src http://security.ubuntu.com/ubuntu zesty-security multiverse

在执行sudo-get update时,最后得到以下结果:

E: The repository 'http://security.ubuntu.com/ubuntu zesty-security            Release' does no longer have a Release file.
N: Updating from such a repository can't be done securely, and is therefore disabled by default.
N: See apt-secure(8) manpage for repository creation and user configuration details.

在执行sudo apt-get install vim后,我得到以下结果:

Reading package lists... Done
Building dependency tree       
Reading state information... Done
Package vim 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 'vim' has no installation candidate

W: The repository 'http://in.archive.ubuntu.com/ubuntu zesty Release' does not have a Release file.
N: Data from such a repository can't be authenticated and is therefore potentially dangerous to use.
N: See apt-secure(8) manpage for repository creation and user configuration details.
W: The repository 'http://in.archive.ubuntu.com/ubuntu zesty-updates Release' does not have a Release file.
N: Data from such a repository can't be authenticated and is therefore potentially dangerous to use.
N: See apt-secure(8) manpage for repository creation and user configuration details.
W: The repository 'http://in.archive.ubuntu.com/ubuntu zesty-backports Release' does not have a Release file.
N: Data from such a repository can't be authenticated and is therefore potentially dangerous to use.
N: See apt-secure(8) manpage for repository creation and user configuration details.
Buh13246

您的问题是17.04即将到期...因此您需要将存储库更改为旧版本。请备份您的sources.list,并将其内容替换为

## EOL upgrade sources.list
# Required
deb http://old-releases.ubuntu.com/ubuntu/ zesty main restricted universe multiverse
deb http://old-releases.ubuntu.com/ubuntu/ zesty-updates main restricted universe multiverse
deb http://old-releases.ubuntu.com/ubuntu/ zesty-security main restricted universe multiverse

然后尝试sudo apt-get updatesudo apt-get upgrade在那之后。现在您应该可以很好地安装vim。我没有尝试。在以下位置找到了解决方案:https : //ubuntuforums.org/showthread.php?t=2382832

本文收集自互联网,转载请注明来源。

如有侵权,请联系[email protected] 删除。

编辑于
0

我来说两句

0条评论
登录后参与评论

相关文章

来自分类Dev

'sudo apt-get update'收到警告

来自分类Dev

即使在“ sudo apt-get install openjdk-6-jdk”之后也找不到Java命令

来自分类Dev

在执行sudo apt-get install <app>之后,应用程序将存储到哪里?

来自分类Dev

即使在ubuntu 18.04上重新安装docker之后,Docker守护程序也无法启动

来自分类Dev

即使在“ sudo apt-get install openjdk-6-jdk”之后也找不到Java命令

来自分类Dev

在每次安装软件包之前,是否都必须强制执行“ sudo apt-get update”?

来自分类Dev

无法使用apt-get安装vim

来自分类Dev

恢复Ubuntu安装-'sudo apt-get install -f'之后,Ubuntu吞噬了自己

来自分类Dev

sudo apt-get autoremove openjdk-7-jre之后sudo apt-get更新的错误

来自分类Dev

无法在ubuntu 14.04上使用apt-get安装git

来自分类Dev

必须执行“ sudo su”,然后执行apt-get update / upgrade / install,以sudo开头不起作用

来自分类Dev

'sudo apt-get update'收到警告

来自分类Dev

执行sudo apt-get update时出现404 not found错误

来自分类Dev

无法锁定管理目录(sudo apt-get upgrade和&apt-get update)

来自分类Dev

在尝试安装tomcat之后,在apt-get操作上执行insserv会导致很多错误

来自分类Dev

sudo apt-get无法正常工作

来自分类Dev

sudo apt-get update ubuntu 16.04的问题

来自分类Dev

UBUNTU:sudo apt-get更新错误

来自分类Dev

Ubuntu在sudo apt-get update上仅检查5个链接

来自分类Dev

错误“ sudo apt-get -f安装”

来自分类Dev

sudo apt-get update返回错误

来自分类Dev

无法sudo apt-get更新

来自分类Dev

Live USB无法运行sudo apt-get update

来自分类Dev

使用sudo apt-get update无法在Ubuntu 16.04上正确更新。也不能安装pgadmin3或oracle-java-8。说您拿着破损的包裹

来自分类Dev

无法sudo apt-get install ubuntu-desktop --reinstall

来自分类Dev

即使更新后也无法从apt-get或apt下载任何内容?

来自分类Dev

sudo apt-get update 返回警告

来自分类Dev

我无法在 ubuntu 17.10 中运行 sudo apt-get update

来自分类Dev

Repo 没有 Release 文件,即使删除 apt 列表和 sources.list 也无法 apt-get update

Related 相关文章

  1. 1

    'sudo apt-get update'收到警告

  2. 2

    即使在“ sudo apt-get install openjdk-6-jdk”之后也找不到Java命令

  3. 3

    在执行sudo apt-get install <app>之后,应用程序将存储到哪里?

  4. 4

    即使在ubuntu 18.04上重新安装docker之后,Docker守护程序也无法启动

  5. 5

    即使在“ sudo apt-get install openjdk-6-jdk”之后也找不到Java命令

  6. 6

    在每次安装软件包之前,是否都必须强制执行“ sudo apt-get update”?

  7. 7

    无法使用apt-get安装vim

  8. 8

    恢复Ubuntu安装-'sudo apt-get install -f'之后,Ubuntu吞噬了自己

  9. 9

    sudo apt-get autoremove openjdk-7-jre之后sudo apt-get更新的错误

  10. 10

    无法在ubuntu 14.04上使用apt-get安装git

  11. 11

    必须执行“ sudo su”,然后执行apt-get update / upgrade / install,以sudo开头不起作用

  12. 12

    'sudo apt-get update'收到警告

  13. 13

    执行sudo apt-get update时出现404 not found错误

  14. 14

    无法锁定管理目录(sudo apt-get upgrade和&apt-get update)

  15. 15

    在尝试安装tomcat之后,在apt-get操作上执行insserv会导致很多错误

  16. 16

    sudo apt-get无法正常工作

  17. 17

    sudo apt-get update ubuntu 16.04的问题

  18. 18

    UBUNTU:sudo apt-get更新错误

  19. 19

    Ubuntu在sudo apt-get update上仅检查5个链接

  20. 20

    错误“ sudo apt-get -f安装”

  21. 21

    sudo apt-get update返回错误

  22. 22

    无法sudo apt-get更新

  23. 23

    Live USB无法运行sudo apt-get update

  24. 24

    使用sudo apt-get update无法在Ubuntu 16.04上正确更新。也不能安装pgadmin3或oracle-java-8。说您拿着破损的包裹

  25. 25

    无法sudo apt-get install ubuntu-desktop --reinstall

  26. 26

    即使更新后也无法从apt-get或apt下载任何内容?

  27. 27

    sudo apt-get update 返回警告

  28. 28

    我无法在 ubuntu 17.10 中运行 sudo apt-get update

  29. 29

    Repo 没有 Release 文件,即使删除 apt 列表和 sources.list 也无法 apt-get update

热门标签

归档