AskOverflow.Dev

AskOverflow.Dev Logo AskOverflow.Dev Logo

AskOverflow.Dev Navigation

  • 主页
  • 系统&网络
  • Ubuntu
  • Unix
  • DBA
  • Computer
  • Coding
  • LangChain

Mobile menu

Close
  • 主页
  • 系统&网络
    • 最新
    • 热门
    • 标签
  • Ubuntu
    • 最新
    • 热门
    • 标签
  • Unix
    • 最新
    • 标签
  • DBA
    • 最新
    • 标签
  • Computer
    • 最新
    • 标签
  • Coding
    • 最新
    • 标签
主页 / ubuntu / 问题 / 943267
Accepted
guyd
guyd
Asked: 2017-08-06 01:38:15 +0800 CST2017-08-06 01:38:15 +0800 CST 2017-08-06 01:38:15 +0800 CST

无法通过 Ubuntu 软件安装-“apt 事务返回结果退出失败”

  • 772

我正在使用 17.04 ( Clean Install ),据我记得,每次尝试安装任何软件时都会失败并显示该错误代码。

我试过了sudo apt-get update && apt-get upgrade,问题仍然存在。

知道为什么吗? 屏幕截图

编辑:使用软件更新程序给出了这个结果: 在此处输入图像描述

编辑:更新的输出

guy@LG-LAPTOP:~$ sudo apt-get update && apt-get upgrade
[sudo] password for guy: 
Ign:1 http://il.archive.ubuntu.com/ubuntu zesty InRelease
Ign:2 http://il.archive.ubuntu.com/ubuntu zesty-updates InRelease              
Ign:3 http://il.archive.ubuntu.com/ubuntu zesty-backports InRelease            
Err:4 http://il.archive.ubuntu.com/ubuntu zesty Release                        
  503  Service Unavailable
Get:5 http://security.ubuntu.com/ubuntu zesty-security InRelease [89.2 kB]     
Err:6 http://il.archive.ubuntu.com/ubuntu zesty-updates Release                
  503  Service Unavailable
Get:7 http://archive.canonical.com/ubuntu zesty InRelease [10.2 kB]            
Err:8 http://il.archive.ubuntu.com/ubuntu zesty-backports Release              
  503  Service Unavailable
Get:9 http://archive.canonical.com/ubuntu zesty/partner Sources [1,416 B]      
Get:10 http://archive.canonical.com/ubuntu zesty/partner amd64 Packages [1,616 B]
Get:11 http://archive.canonical.com/ubuntu zesty/partner i386 Packages [1,612 B]
Get:12 http://archive.canonical.com/ubuntu zesty/partner Translation-en [708 B]
Get:13 http://security.ubuntu.com/ubuntu zesty-security/main amd64 DEP-11 Metadata [11.7 kB]
Get:14 http://security.ubuntu.com/ubuntu zesty-security/main DEP-11 64x64 Icons [9,219 B]
Get:15 http://security.ubuntu.com/ubuntu zesty-security/universe amd64 DEP-11 Metadata [14.4 kB]
Get:16 http://security.ubuntu.com/ubuntu zesty-security/universe DEP-11 64x64 Icons [31.0 kB]
Reading package lists... Done                                         
E: The repository 'http://il.archive.ubuntu.com/ubuntu zesty 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.
E: The repository 'http://il.archive.ubuntu.com/ubuntu zesty-updates 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.
E: The repository 'http://il.archive.ubuntu.com/ubuntu zesty-backports 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.
guy@LG-LAPTOP:~$ 

apt get 的输出

guy@LG-LAPTOP:~$ sudo apt-get install putty
Reading package lists... Done
Building dependency tree       
Reading state information... Done
The following additional packages will be installed:
  putty-tools
Suggested packages:
  putty-doc
The following NEW packages will be installed:
  putty putty-tools
0 upgraded, 2 newly installed, 0 to remove and 0 not upgraded.
Need to get 661 kB of archives.
After this operation, 2,713 kB of additional disk space will be used.
Do you want to continue? [Y/n] 
Err:1 http://il.archive.ubuntu.com/ubuntu zesty/universe amd64 putty-tools amd64 0.67-3
  503  Service Unavailable
Err:2 http://il.archive.ubuntu.com/ubuntu zesty/universe amd64 putty amd64 0.67-3
  503  Service Unavailable
E: Failed to fetch http://il.archive.ubuntu.com/ubuntu/pool/universe/p/putty/putty-tools_0.67-3_amd64.deb  503  Service Unavailable
E: Failed to fetch http://il.archive.ubuntu.com/ubuntu/pool/universe/p/putty/putty_0.67-3_amd64.deb  503  Service Unavailable
E: Unable to fetch some archives, maybe run apt-get update or try with --fix-missing?
guy@LG-LAPTOP:~$ 
software-installation
  • 1 1 个回答
  • 37584 Views

1 个回答

  • Voted
  1. Best Answer
    L. D. James
    2017-08-06T05:46:32+08:002017-08-06T05:46:32+08:00

    您的软件源服务器有问题。从软件源应用程序更改它。您可以通过以下方式获得它:

    • (单击)左上角的齿轮图标
    • 系统设置
    • 软件和更新
    • (单击选项卡)Ubuntu 软件
    • 从下载下拉列表中选择不同的服务器

    如果您选择Other,您将获得最佳服务器,然后单击Select Best Server。在该选项上,系统将运行测试并将您与您所在位置性能最佳的镜像服务器相匹配。

    • 19

相关问题

  • 如何在没有 root 访问权限的情况下安装软件包?

  • 设置 LAMP 堆栈的最简单方法是什么?

  • 我应该在哪里安装 sagemath?

  • How do I install Adobe Flash player?对于 11.10 及更高版本明确修复 11.10 上的 64 位 Flash

  • 如何设置软件中心为非 root 用户安装软件?

Sidebar

Stats

  • 问题 205573
  • 回答 270741
  • 最佳答案 135370
  • 用户 68524
  • 热门
  • 回答
  • Marko Smith

    如何运行 .sh 脚本?

    • 16 个回答
  • Marko Smith

    如何安装 .tar.gz(或 .tar.bz2)文件?

    • 14 个回答
  • Marko Smith

    如何列出所有已安装的软件包

    • 24 个回答
  • Marko Smith

    无法锁定管理目录 (/var/lib/dpkg/) 是另一个进程在使用它吗?

    • 25 个回答
  • Martin Hope
    Flimm 如何在没有 sudo 的情况下使用 docker? 2014-06-07 00:17:43 +0800 CST
  • Martin Hope
    Ivan 如何列出所有已安装的软件包 2010-12-17 18:08:49 +0800 CST
  • Martin Hope
    La Ode Adam Saputra 无法锁定管理目录 (/var/lib/dpkg/) 是另一个进程在使用它吗? 2010-11-30 18:12:48 +0800 CST
  • Martin Hope
    David Barry 如何从命令行确定目录(文件夹)的总大小? 2010-08-06 10:20:23 +0800 CST
  • Martin Hope
    jfoucher “以下软件包已被保留:”为什么以及如何解决? 2010-08-01 13:59:22 +0800 CST
  • Martin Hope
    David Ashford 如何删除 PPA? 2010-07-30 01:09:42 +0800 CST

热门标签

10.10 10.04 gnome networking server command-line package-management software-recommendation sound xorg

Explore

  • 主页
  • 问题
    • 最新
    • 热门
  • 标签
  • 帮助

Footer

AskOverflow.Dev

关于我们

  • 关于我们
  • 联系我们

Legal Stuff

  • Privacy Policy

Language

  • Pt
  • Server
  • Unix

© 2023 AskOverflow.DEV All Rights Reserve