web-dev-qa-db-fra.com

apt-get upgrade: donner une erreur 403 Forbidden à presque tous les liens

Je suis un étudiant et j'obtiens cette erreur presque pendant un mois. Je pensais au départ que c’était une erreur de serveur, mais je suis à peu près sûr que cela n’a plus rien à voir avec le serveur, j’ai essayé tous les serveurs et aucun d’entre eux n’était rentable. J'utilise Ubuntu 18.04 LTS depuis des mois, mais cette erreur ne fait que se présenter. maintenant. Voici ma sortie pour Sudo apt-get update:

    Hit:1 http://la-mirrors.evowise.com/ubuntu bionic InRelease                                                                                          
    Ign:2 http://dl.google.com/linux/chrome/deb stable InRelease                                                                                         
    Hit:3 http://ppa.launchpad.net/webupd8team/atom/ubuntu bionic InRelease                                                                              
    Hit:4 https://packages.Microsoft.com/repos/vscode stable InRelease                                                                                   
    Hit:5 http://dl.google.com/linux/chrome/deb stable Release                                                                                           
    Hit:6 http://archive.canonical.com/ubuntu zesty InRelease                                                           
    Hit:7 http://dl.winehq.org/wine-builds/ubuntu artful InRelease                                     
    Get:8 http://la-mirrors.evowise.com/ubuntu bionic-updates InRelease [88.7 kB]
    Get:10 http://la-mirrors.evowise.com/ubuntu bionic-backports InRelease [74.6 kB]
    Get:11 http://la-mirrors.evowise.com/ubuntu bionic-security InRelease [83.2 kB]
    Get:12 http://la-mirrors.evowise.com/ubuntu bionic-updates/main i386 Packages [397 kB]                                                               
    Get:13 http://la-mirrors.evowise.com/ubuntu bionic-updates/main AMD64 Packages [454 kB]                                                              
    Get:14 http://la-mirrors.evowise.com/ubuntu bionic-updates/main Translation-en [169 kB]                                                              
    Get:15 http://la-mirrors.evowise.com/ubuntu bionic-updates/main AMD64 DEP-11 Metadata [234 kB]                                                       
    Get:16 http://la-mirrors.evowise.com/ubuntu bionic-updates/main DEP-11 48x48 Icons [52.2 kB]                                                         
    Get:17 http://la-mirrors.evowise.com/ubuntu bionic-updates/main DEP-11 64x64 Icons [99.1 kB]                                                         
    Get:18 http://la-mirrors.evowise.com/ubuntu bionic-updates/universe AMD64 Packages [588 kB]                                                          
    Get:19 http://la-mirrors.evowise.com/ubuntu bionic-updates/universe i386 Packages [581 kB]                                                           
    Get:20 http://la-mirrors.evowise.com/ubuntu bionic-updates/universe Translation-en [161 kB]                                                          
    Get:21 http://la-mirrors.evowise.com/ubuntu bionic-updates/universe AMD64 DEP-11 Metadata [195 kB]                                                   
    Get:22 http://la-mirrors.evowise.com/ubuntu bionic-updates/universe DEP-11 48x48 Icons [187 kB]                                                      
    Get:23 http://la-mirrors.evowise.com/ubuntu bionic-updates/universe DEP-11 64x64 Icons [323 kB]                                                      
    Get:24 http://la-mirrors.evowise.com/ubuntu bionic-updates/multiverse AMD64 Packages [6,372 B]                                                       
    Get:25 http://la-mirrors.evowise.com/ubuntu bionic-updates/multiverse i386 Packages [6,524 B]                                                        
    Get:26 http://la-mirrors.evowise.com/ubuntu bionic-updates/multiverse AMD64 DEP-11 Metadata [2,464 B]                                                
    Get:27 http://la-mirrors.evowise.com/ubuntu bionic-backports/universe AMD64 DEP-11 Metadata [5,812 B]                                                
    Get:28 http://la-mirrors.evowise.com/ubuntu bionic-security/main i386 Packages [168 kB]                                                              
    Get:29 http://la-mirrors.evowise.com/ubuntu bionic-security/main AMD64 Packages [218 kB]                                                             
    Get:30 http://la-mirrors.evowise.com/ubuntu bionic-security/main Translation-en [84.0 kB]                                                            
    Get:31 http://la-mirrors.evowise.com/ubuntu bionic-security/main AMD64 DEP-11 Metadata [204 B]                                                       
    Get:32 http://la-mirrors.evowise.com/ubuntu bionic-security/universe AMD64 Packages [101 kB]                                                         
    Get:33 http://la-mirrors.evowise.com/ubuntu bionic-security/universe i386 Packages [99.8 kB]                                                         
    Get:34 http://la-mirrors.evowise.com/ubuntu bionic-security/universe Translation-en [56.5 kB]                                                        
    Get:35 http://la-mirrors.evowise.com/ubuntu bionic-security/universe AMD64 DEP-11 Metadata [10.6 kB]                                                 
    Get:36 http://la-mirrors.evowise.com/ubuntu bionic-security/universe DEP-11 48x48 Icons [9,088 B]                                                    
    Get:37 http://la-mirrors.evowise.com/ubuntu bionic-security/universe DEP-11 64x64 Icons [20.1 kB]                                                    
    Get:38 http://la-mirrors.evowise.com/ubuntu bionic-security/multiverse i386 Packages [1,608 B]                                                       
    Get:39 http://la-mirrors.evowise.com/ubuntu bionic-security/multiverse AMD64 Packages [1,440 B]                                                      
    Fetched 4,479 kB in 47s (96.3 kB/s)                                                                                                                                         
    Reading package lists... Done

Sudo apt-get upgrade:

Reading package lists... Done
Building dependency tree       
Reading state information... Done
Calculating upgrade... Done
The following packages have been kept back:
  libgnome-desktop-3-17 linux-generic linux-headers-generic linux-image-generic netplan.io nodejs nodejs-dev wireshark-common wireshark-qt
The following packages will be upgraded:
  libssh-4 libssh-gcrypt-4 nplan ubuntu-keyring
4 upgraded, 0 newly installed, 0 to remove and 9 not upgraded.
Need to get 364 kB of archives.
After this operation, 5,120 B of additional disk space will be used.
Ign:1 http://la-mirrors.evowise.com/ubuntu bionic-updates/main AMD64 ubuntu-keyring all 2018.09.18.1~18.04.0
Ign:2 http://la-mirrors.evowise.com/ubuntu bionic-updates/main AMD64 nplan all 0.40.1~18.04.3
Ign:3 http://la-mirrors.evowise.com/ubuntu bionic-updates/main AMD64 libssh-4 AMD64 0.8.0~20170825.94fa1e38-1ubuntu0.2
Ign:4 http://la-mirrors.evowise.com/ubuntu bionic-updates/main AMD64 libssh-gcrypt-4 AMD64 0.8.0~20170825.94fa1e38-1ubuntu0.2
Err:1 http://la-mirrors.evowise.com/ubuntu bionic-updates/main AMD64 ubuntu-keyring all 2018.09.18.1~18.04.0
  403  Forbidden [IP: 104.19.137.75 80]
Err:2 http://la-mirrors.evowise.com/ubuntu bionic-updates/main AMD64 nplan all 0.40.1~18.04.3
  403  Forbidden [IP: 104.19.137.75 80]
Err:3 http://la-mirrors.evowise.com/ubuntu bionic-updates/main AMD64 libssh-4 AMD64 0.8.0~20170825.94fa1e38-1ubuntu0.2
  403  Forbidden [IP: 104.19.137.75 80]
Err:4 http://la-mirrors.evowise.com/ubuntu bionic-updates/main AMD64 libssh-gcrypt-4 AMD64 0.8.0~20170825.94fa1e38-1ubuntu0.2
  403  Forbidden [IP: 104.19.137.75 80]
E: Failed to fetch http://la-mirrors.evowise.com/ubuntu/pool/main/u/ubuntu-keyring/ubuntu-keyring_2018.09.18.1~18.04.0_all.deb  403  Forbidden [IP: 104.19.137.75 80]
E: Failed to fetch http://la-mirrors.evowise.com/ubuntu/pool/main/n/netplan.io/nplan_0.40.1~18.04.3_all.deb  403  Forbidden [IP: 104.19.137.75 80]
E: Failed to fetch http://la-mirrors.evowise.com/ubuntu/pool/main/libs/libssh/libssh-4_0.8.0~20170825.94fa1e38-1ubuntu0.2_AMD64.deb  403  Forbidden [IP: 104.19.137.75 80]
E: Failed to fetch http://la-mirrors.evowise.com/ubuntu/pool/main/libs/libssh/libssh-gcrypt-4_0.8.0~20170825.94fa1e38-1ubuntu0.2_AMD64.deb  403  Forbidden [IP: 104.19.137.75 80]
E: Unable to fetch some archives, maybe run apt-get update or try with --fix-missing?

Sources.list :

###### Ubuntu Main Repos
deb http://in.archive.ubuntu.com/ubuntu/ bionic main restricted universe multiverse 

###### Ubuntu Update Repos
deb http://in.archive.ubuntu.com/ubuntu/ bionic-security main restricted universe multiverse 
deb http://in.archive.ubuntu.com/ubuntu/ bionic-updates main restricted universe multiverse

ls /etc/apt/sources.list.d

$ ls
fossproject-ubuntu-ppa-artful.list              pbek-ubuntu-qownnotes-artful.list.distUpgrade  webupd8team-ubuntu-brackets-bionic.list.save
fossproject-ubuntu-ppa-artful.list.distUpgrade  pbek-ubuntu-qownnotes-artful.list.save         webupd8team-ubuntu-Java-artful.list
fossproject-ubuntu-ppa-artful.list.save         vscode.list                                    webupd8team-ubuntu-Java-artful.list.distUpgrade
google-chrome.list                              vscode.list.save                               webupd8team-ubuntu-Java-artful.list.save
google-chrome.list.distUpgrade                  webupd8team-ubuntu-atom-bionic.list            wireshark-dev-ubuntu-stable-zesty.list
google-chrome.list.save                         webupd8team-ubuntu-atom-bionic.list.save       wireshark-dev-ubuntu-stable-zesty.list.distUpgrade
pbek-ubuntu-qownnotes-artful.list               webupd8team-ubuntu-brackets-bionic.list        wireshark-dev-ubuntu-stable-zesty.list.save

J'ai essayé presque tout, mais rien n'a aidé. Je ne suis pas en double amorçage ni quoi que ce soit que mon système d'exploitation normal est Ubuntu.Veuillez m'aider ...

1
Pearl Yadav

Vous devez corriger le fichier source.list et basculer vers le miroir de référentiel par défaut du pays, car cela ne vous permet pas de télécharger des packages sans authentification. Vous devez éditer le fichier /etc/apt/source.list

Sudo nano /etc/apt/source.list

Remplacer le contenu par le contenu suivant

###### Ubuntu Main Repos
deb http://in.archive.ubuntu.com/ubuntu/ bionic main restricted universe multiverse 

###### Ubuntu Update Repos
deb http://in.archive.ubuntu.com/ubuntu/ bionic-security main restricted universe multiverse 
deb http://in.archive.ubuntu.com/ubuntu/ bionic-updates main restricted universe multiverse 

Après cela, vous pourrez mettre à jour et mettre à niveau votre système.

Sudo apt update && Sudo apt upgrade
1
Ketan Patel