ошибка при обновлении в терминале linu ubuntu - PullRequest
0 голосов
/ 07 мая 2018

Я попытался обновить в linux ubuntu, используя традиционную команду в cmd

sudo apt-get update

Но когда я пытаюсь это сделать, он всегда возвращается с таким количеством ошибок, и обновление не выполняется:

Err:1 http://us.archive.ubuntu.com/ubuntu artful InRelease
403  Forbidden [IP: 91.189.91.23 80]
Err:2 http://us.archive.ubuntu.com/ubuntu artful-updates InRelease
403  Forbidden [IP: 91.189.91.26 80]
Err:3 http://us.archive.ubuntu.com/ubuntu artful-backports InRelease           
403  Forbidden [IP: 91.189.91.23 80]
Err:4 http://ppa.launchpad.net/ansible/ansible/ubuntu artful InRelease         
500  Operation not permitted
Err:5 http://security.ubuntu.com/ubuntu artful-security InRelease
500  Operation not permitted [IP: 91.189.88.152 80]
Reading package lists... Done
E: Failed to fetch http://us.archive.ubuntu.com/ubuntu/dists/artful     
/InRelease  403  Forbidden [IP: 91.189.91.23 80]
E: Failed to fetch http://us.archive.ubuntu.com/ubuntu/dists/artful-updates  
/InRelease  403  Forbidden [IP: 91.189.91.26 80]
E: Failed to fetch http://us.archive.ubuntu.com/ubuntu/dists/artful-
backports/InRelease  403  Forbidden [IP: 91.189.91.23 80]
E: Failed to fetch http://security.ubuntu.com/ubuntu/dists/artful-security
/InRelease  500  Operation not permitted [IP: 91.189.88.152 80]
E: Failed to fetch http://ppa.launchpad.net/ansible/ansible/ubuntu/dists
/artful/InRelease  500  Operation not permitted
E: Some index files failed to download. They have been ignored, or old ones
used instead.

Теперь я уже пытался использовать эту команду

sudo rm /etc/apt/sources.list.d/*

А также удаление ppa и получение чего-то нового. Я был бы очень признателен, если бы кто-нибудь мог мне помочь. Заранее спасибо.

Это вывод, когда я набрал /

sudo nano /etc/apt/sources.list

 GNU nano 2.8.6             File: /etc/apt/sources.list                        

      # deb cdrom:[Ubuntu 17.10 _Artful Aardvark_ - Release amd64   (20180105.1)]/ artf$

# See http://help.ubuntu.com/community/UpgradeNotes for how to upgrade to
# newer versions of the distribution.
deb http://us.archive.ubuntu.com/ubuntu/ artful main restricted
# deb-src http://us.archive.ubuntu.com/ubuntu/ artful main restricted

## Major bug fix updates produced after the final release of the
## distribution.
deb http://us.archive.ubuntu.com/ubuntu/ artful-updates main restricted
# deb-src http://us.archive.ubuntu.com/ubuntu/ artful-updates main restricted

## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu
## team. Also, please note that software in universe WILL NOT receive any
## review or updates from the Ubuntu security team.
deb http://us.archive.ubuntu.com/ubuntu/ artful universe
# deb-src http://us.archive.ubuntu.com/ubuntu/ artful universe
deb http://us.archive.ubuntu.com/ubuntu/ artful-updates universe
                               [ Read 51 lines ]
^G Get Help  ^O Write Out ^W Where Is  ^K Cut Text  ^J Justify   ^C Cur Pos
^X Exit      ^R Read File ^\ Replace   ^U Uncut Text^T To Spell  ^_ Go To Line
...