ไม่สามารถติดตั้งผ่านซอฟต์แวร์ Ubuntu -“ การทำธุรกรรม apt ส่งคืนผลลัพธ์การออก - ล้มเหลว”


10

ฉันใช้ 17.04 (ล้างการติดตั้ง) และเท่าที่ฉันจำได้ทุกครั้งที่พยายามติดตั้งซอฟต์แวร์ใด ๆ - มันล้มเหลวด้วยรหัสข้อผิดพลาดนั้น

ฉันพยายามsudo apt-get update && apt-get upgradeและปัญหายังคงมีอยู่

คิดอะไรทำไม? ภาพหน้าจอจากหน้าจอ

แก้ไข: การใช้ซอฟต์แวร์ Updater ให้ผลลัพธ์นี้: ป้อนคำอธิบายรูปภาพที่นี่

แก้ไข: เอาต์พุตของการอัพเดต

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 รับ

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:~$ 

คำตอบ:


18

คุณประสบปัญหากับเซิร์ฟเวอร์ต้นทางซอฟต์แวร์ของคุณ เปลี่ยนจากแอพ Software Sources คุณสามารถไปที่:

  • (คลิก) ไอคอนรูปเฟืองที่มุมบนซ้าย
  • การตั้งค่าระบบ
  • ซอฟต์แวร์ & การปรับปรุง
  • (คลิกที่แท็บ) ซอฟต์แวร์ Ubuntu
  • เลือกเซิร์ฟเวอร์อื่นจากดรอปดาวน์ดาวน์โหลด

คุณจะได้รับเซิร์ฟเวอร์ที่ดีที่สุดถ้าคุณเลือกที่อื่น ๆจากนั้นคลิกเลือกเซิร์ฟเวอร์ที่ดีที่สุด ในตัวเลือกนั้นระบบจะทำการทดสอบและจับคู่คุณกับเซิร์ฟเวอร์มิเรอร์ที่มีประสิทธิภาพดีที่สุดสำหรับตำแหน่งของคุณ


1
ใช้งานได้อย่างมีเสน่ห์ (หลังจากตั้งค่าเซิร์ฟเวอร์เป็นเซิร์ฟเวอร์หลัก )
Guy D

ดีใจที่มันทำงาน ขอบคุณที่รับทราบ
LD James
โดยการใช้ไซต์ของเรา หมายความว่าคุณได้อ่านและทำความเข้าใจนโยบายคุกกี้และนโยบายความเป็นส่วนตัวของเราแล้ว
Licensed under cc by-sa 3.0 with attribution required.