#1 Le 20/07/2023, à 12:03
- musette91
sudo apt-get update ne fonctionne pas
Bonjour,
J'ai installé Ubuntu Server 22.0.4 et quand je tape la commande sudo apt-get update voici ce que j'obtiens :
Hit:1 [url]http://fr.archive.ubuntu.com/ubuntu[/url] jammy InRelease
Ign:2 [url]https://ppa.launchpadcontent.net/mozillateam/ppa/ubuntu[/url] jammy InRelease
Hit:3 [url]http://fr.archive.ubuntu.com/ubuntu[/url] jammy-updates InRelease
Hit:4 [url]http://fr.archive.ubuntu.com/ubuntu[/url] jammy-backports InRelease
Hit:5 [url]http://fr.archive.ubuntu.com/ubuntu[/url] jammy-security InRelease
Ign:2 [url]https://ppa.launchpadcontent.net/mozillateam/ppa/ubuntu[/url] jammy InRelease
Ign:2 [url]https://ppa.launchpadcontent.net/mozillateam/ppa/ubuntu[/url] jammy InRelease
Err:2 [url]https://ppa.launchpadcontent.net/mozillateam/ppa/ubuntu[/url] jammy InRelease
Reading from proxy failed - read (115: Operation now in progress) [IP: 147.100.179.233 443]
Reading package lists... Done
W: Failed to fetch [url]https://ppa.launchpadcontent.net/mozillateam/ppa/ubuntu/dists/jammy/InRelease[/url] Reading from proxy failed - read (115: Operation now in progress) [IP: 147.100.179.233 443]
W: Some index files failed to download. They have been ignored, or old ones used instead.
Est-ce que vous pourriez m'aider s'il vous plaît ?
Merci.
Dernière modification par musette91 (Le 20/07/2023, à 12:28)
Hors ligne
#2 Le 20/07/2023, à 12:20
- xubu1957
Re : sudo apt-get update ne fonctionne pas
Bonjour,
Pour ajouter toi-même les balises code à ton précédent message #1 : Merci
Cliquer sur le lien « Modifier » en bas à droite du message
Sélectionner le texte
Cliquer sur le <> de l'éditeur de message
comme indiqué dans le : Retour utilisable de commande
Montre le sources.list avec la numérotation :
find /etc/apt -type f \( -name '*.list*' -o -name '*.sources' \) -exec bash -c 'echo -e "\n\t$1\n"; [ "${1##*.}" = "list" -o "${1##*.}" = "sources" ] && cat -n "$1"' _ '{}' \;
Astuce pour copier / coller sans erreur :
triple clic gauche pour sélectionner et copier une ligne entière
clic molette pour coller dans le terminal
Dernière modification par xubu1957 (Le 20/07/2023, à 14:20)
Conseils pour les nouveaux demandeurs et pas qu'eux
Important : Pensez à passer vos sujets en [Réso|u] lorsque ceux-ci le sont, au début du titre en cliquant sur Modifier sous le premier message, et un bref récapitulatif de la solution à la fin de celui-ci. Merci. Membre de Linux-Azur
Hors ligne
#3 Le 20/07/2023, à 14:13
- inbox
Re : sudo apt-get update ne fonctionne pas
Salut,
Ce message "Reading from proxy failed " laisse à penser que ton PC serait derrière un serveur proxy, alias serveur mandataire. Il faut donc que tu le configure correctement avant de pouvoir installer des paquets via APT.
A+
Un problème résolu ? Indiquez le en modifiant le titre du sujet.
Hors ligne
#4 Le 20/07/2023, à 14:52
- musette91
Re : sudo apt-get update ne fonctionne pas
Merci beaucoup.
Voici le résultat de la commande :
find /etc/apt -type f \( -name '*.list*' -o -name '*.sources' \) -exec bash -c 'echo -e "\n\t$1\n"; [ "${1##*.}" = "list" -o "${1##*.}" = "sources" ] && cat -n "$1"' _ '{}' \;
/etc/apt/sources.list
1 # See http://help.ubuntu.com/community/UpgradeNotes for how to upgrade to
2 # newer versions of the distribution.
3 deb http://fr.archive.ubuntu.com/ubuntu jammy main restricted
4 # deb-src http://fr.archive.ubuntu.com/ubuntu jammy main restricted
5
6 ## Major bug fix updates produced after the final release of the
7 ## distribution.
8 deb http://fr.archive.ubuntu.com/ubuntu jammy-updates main restricted
9 # deb-src http://fr.archive.ubuntu.com/ubuntu jammy-updates main restricted
10
11 ## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu
12 ## team. Also, please note that software in universe WILL NOT receive any
13 ## review or updates from the Ubuntu security team.
14 deb http://fr.archive.ubuntu.com/ubuntu jammy universe
15 # deb-src http://fr.archive.ubuntu.com/ubuntu jammy universe
16 deb http://fr.archive.ubuntu.com/ubuntu jammy-updates universe
17 # deb-src http://fr.archive.ubuntu.com/ubuntu jammy-updates universe
18
19 ## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu
20 ## team, and may not be under a free licence. Please satisfy yourself as to
21 ## your rights to use the software. Also, please note that software in
22 ## multiverse WILL NOT receive any review or updates from the Ubuntu
23 ## security team.
24 deb http://fr.archive.ubuntu.com/ubuntu jammy multiverse
25 # deb-src http://fr.archive.ubuntu.com/ubuntu jammy multiverse
26 deb http://fr.archive.ubuntu.com/ubuntu jammy-updates multiverse
27 # deb-src http://fr.archive.ubuntu.com/ubuntu jammy-updates multiverse
28
29 ## N.B. software from this repository may not have been tested as
30 ## extensively as that contained in the main release, although it includes
31 ## newer versions of some applications which may provide useful features.
32 ## Also, please note that software in backports WILL NOT receive any review
33 ## or updates from the Ubuntu security team.
34 deb http://fr.archive.ubuntu.com/ubuntu jammy-backports main restricted universe multiverse
35 # deb-src http://fr.archive.ubuntu.com/ubuntu jammy-backports main restricted universe multiverse
36
37 deb http://fr.archive.ubuntu.com/ubuntu jammy-security main restricted
38 # deb-src http://fr.archive.ubuntu.com/ubuntu jammy-security main restricted
39 deb http://fr.archive.ubuntu.com/ubuntu jammy-security universe
40 # deb-src http://fr.archive.ubuntu.com/ubuntu jammy-security universe
41 deb http://fr.archive.ubuntu.com/ubuntu jammy-security multiverse
42 # deb-src http://fr.archive.ubuntu.com/ubuntu jammy-security multiverse
/etc/apt/sources.list.save
/etc/apt/sources.list.curtin.old
/etc/apt/sources.list.d/mozillateam-ubuntu-ppa-jammy.list
1 deb https://ppa.launchpadcontent.net/mozillateam/ppa/ubuntu/ jammy main
Bonjour,
Pour ajouter toi-même les balises code à ton précédent message #1 : Merci
Cliquer sur le lien « Modifier » en bas à droite du message
Sélectionner le texte
Cliquer sur le <> de l'éditeur de message
https://i.ibb.co/KX9HwrL/Balisesmoko138.jpg
comme indiqué dans le : Retour utilisable de commande
Montre le sources.list avec la numérotation :
find /etc/apt -type f \( -name '*.list*' -o -name '*.sources' \) -exec bash -c 'echo -e "\n\t$1\n"; [ "${1##*.}" = "list" -o "${1##*.}" = "sources" ] && cat -n "$1"' _ '{}' \;
cqfd93 a écrit :Astuce pour copier / coller sans erreur :
triple clic gauche pour sélectionner et copier une ligne entière
clic molette pour coller dans le terminal
Hors ligne
#5 Le 20/07/2023, à 14:54
- musette91
Re : sudo apt-get update ne fonctionne pas
Merci beaucoup mais il n'y a pas de proxy
Salut,
Ce message "Reading from proxy failed " laisse à penser que ton PC serait derrière un serveur proxy, alias serveur mandataire. Il faut donc que tu le configure correctement avant de pouvoir installer des paquets via APT.
A+
Hors ligne
#6 Le 20/07/2023, à 14:56
- xubu1957
Re : sudo apt-get update ne fonctionne pas
Détail pratique :
(...)
3. Utilisez la citation avec modération : il ne sert à rien de citer l'intégralité du post précédent.
(...)
Tu avais vu la réponse d'inbox, au message #3 ?
Montre aussi d'éventuels paquets cassés :
dpkg -l | grep -v ^ii
Dernière modification par xubu1957 (Le 20/07/2023, à 14:57)
Conseils pour les nouveaux demandeurs et pas qu'eux
Important : Pensez à passer vos sujets en [Réso|u] lorsque ceux-ci le sont, au début du titre en cliquant sur Modifier sous le premier message, et un bref récapitulatif de la solution à la fin de celui-ci. Merci. Membre de Linux-Azur
Hors ligne
#7 Le 20/07/2023, à 14:58
- musette91
Re : sudo apt-get update ne fonctionne pas
merci xubu1957 désolée pour avoir cité l'intégralité du message
oui j'ai répondu à inbox (il n'y a pas de proxy)
Hors ligne
#8 Le 20/07/2023, à 15:01
- musette91
Re : sudo apt-get update ne fonctionne pas
Montre aussi d'éventuels paquets cassés :
dpkg -l | grep -v ^ii
dpkg -l | grep -v ^ii
Desired=Unknown/Install/Remove/Purge/Hold
| Status=Not/Inst/Conf-files/Unpacked/halF-conf/Half-inst/trig-aWait/Trig-pend
|/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad)
||/ Name Version Architecture Description
+++-==========================================-=======================================-============-================================================================================
Hors ligne
#9 Le 20/07/2023, à 15:07
- xubu1957
Re : sudo apt-get update ne fonctionne pas
Essaye de changer de serveur, la Doc > § 4.1.1 software-properties#logiciels_ubuntu
Conseils pour les nouveaux demandeurs et pas qu'eux
Important : Pensez à passer vos sujets en [Réso|u] lorsque ceux-ci le sont, au début du titre en cliquant sur Modifier sous le premier message, et un bref récapitulatif de la solution à la fin de celui-ci. Merci. Membre de Linux-Azur
Hors ligne
#10 Le 20/07/2023, à 15:26
- iznobe
Re : sudo apt-get update ne fonctionne pas
Bonjour , on est sur quelle distro , donne le retour de :
cat /etc/os*
je pense tres fortement que c ' est du au fait que ton " apt " ne supporte pas le " https " , car c ' est la seule avec le https dans la liste des depots .
donne aussi ce retour :
sudo apt-get -y install apt-transport-https
puis
sudo apt update
si ca ne change rien , tu peux simplement editer le fichier du depot de mozillateam pour y supprimer le " s " et voir ce que ca dis :
echo deb http://ppa.launchpadcontent.net/mozillateam/ppa/ubuntu/ jammy main | sudo tee /etc/apt/sources.list.d/mozillateam-ubuntu-ppa-jammy.list
suivi de
sudo apt update
pour verif .
Dernière modification par iznobe (Le 20/07/2023, à 16:00)
retour COMPLET et utilisable de commande
MSI Z490A-pro , i7 10700 , 32 GB RAM .
Hors ligne
#11 Le 20/07/2023, à 15:56
- inbox
Re : sudo apt-get update ne fonctionne pas
Est-ce que coller l'URL "https://ppa.launchpadcontent.net/mozillateam/ppa/ubuntu" dans ton navigateur te permet d'accéder au site ?
Un problème résolu ? Indiquez le en modifiant le titre du sujet.
Hors ligne
#12 Le 20/07/2023, à 16:02
- iznobe
Re : sudo apt-get update ne fonctionne pas
Salut inbox , le navigateur supporte " nativement " le https non ?
ca ne veut pas dire que apt si , puisque ce paquet existe non ? et qu ' a une epoque ( pas si lointaine ) ce probleme etait relativement courant .
retour COMPLET et utilisable de commande
MSI Z490A-pro , i7 10700 , 32 GB RAM .
Hors ligne
#13 Le 20/07/2023, à 16:22
- inbox
Re : sudo apt-get update ne fonctionne pas
C'est pour être certain que l'accès réseau fonctionne, en général.
[Edit] Mais passer le "https" en "http", pourrait régler le problème.
Dernière modification par inbox (Le 20/07/2023, à 16:23)
Un problème résolu ? Indiquez le en modifiant le titre du sujet.
Hors ligne
#14 Le 24/07/2023, à 12:49
- musette91
Re : sudo apt-get update ne fonctionne pas
Bonjour,
Je vous remercie pour vos réponses. Je vais essayer de bien répondre à tout le monde.
Retour commande :
cat /etc/os*
PRETTY_NAME="Ubuntu 22.04.2 LTS"
NAME="Ubuntu"
VERSION_ID="22.04"
VERSION="22.04.2 LTS (Jammy Jellyfish)"
VERSION_CODENAME=jammy
ID=ubuntu
ID_LIKE=debian
HOME_URL="https://www.ubuntu.com/"
SUPPORT_URL="https://help.ubuntu.com/"
BUG_REPORT_URL="https://bugs.launchpad.net/ubuntu/"
PRIVACY_POLICY_URL="https://www.ubuntu.com/legal/terms-and-policies/privacy-policy"
UBUNTU_CODENAME=jammy
sudo apt-get -y install apt-transport-https
[sudo] password for admin_local:
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
The following NEW packages will be installed:
apt-transport-https
0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
Need to get 1510 B of archives.
After this operation, 169 kB of additional disk space will be used.
Get:1 http://fr.archive.ubuntu.com/ubuntu jammy-updates/universe amd64 apt-transport-https all 2.4.9 [1510 B]
Fetched 1510 B in 0s (14,0 kB/s)
Selecting previously unselected package apt-transport-https.
(Reading database ... 163334 files and directories currently installed.)
Preparing to unpack .../apt-transport-https_2.4.9_all.deb ...
Unpacking apt-transport-https (2.4.9) ...
Setting up apt-transport-https (2.4.9) ...
Scanning processes...
Scanning processor microcode...
Scanning linux images...
Running kernel seems to be up-to-date.
The processor microcode seems to be up-to-date.
No services need to be restarted.
No containers need to be restarted.
No user sessions are running outdated binaries.
No VM guests are running outdated hypervisor (qemu) binaries on this host.
sudo apt update
Hit:1 http://fr.archive.ubuntu.com/ubuntu jammy InRelease
Ign:2 https://ppa.launchpadcontent.net/mozillateam/ppa/ubuntu jammy InRelease
Get:3 http://fr.archive.ubuntu.com/ubuntu jammy-updates InRelease [119 kB]
Get:4 http://fr.archive.ubuntu.com/ubuntu jammy-backports InRelease [108 kB]
Get:5 http://fr.archive.ubuntu.com/ubuntu jammy-security InRelease [110 kB]
Get:6 http://fr.archive.ubuntu.com/ubuntu jammy-updates/main amd64 Packages [799 kB]
Get:7 http://fr.archive.ubuntu.com/ubuntu jammy-updates/main Translation-en [202 kB]
Get:8 http://fr.archive.ubuntu.com/ubuntu jammy-updates/main amd64 DEP-11 Metadata [99,6 kB]
Get:9 http://fr.archive.ubuntu.com/ubuntu jammy-updates/main amd64 c-n-f Metadata [15,4 kB]
Get:10 http://fr.archive.ubuntu.com/ubuntu jammy-updates/restricted amd64 Packages [580 kB]
Get:11 http://fr.archive.ubuntu.com/ubuntu jammy-updates/restricted Translation-en [90,8 kB]
Get:12 http://fr.archive.ubuntu.com/ubuntu jammy-updates/universe amd64 Packages [946 kB]
Get:13 http://fr.archive.ubuntu.com/ubuntu jammy-updates/universe Translation-en [204 kB]
Get:14 http://fr.archive.ubuntu.com/ubuntu jammy-updates/universe amd64 DEP-11 Metadata [274 kB]
Get:15 http://fr.archive.ubuntu.com/ubuntu jammy-updates/universe amd64 c-n-f Metadata [20,7 kB]
Get:16 http://fr.archive.ubuntu.com/ubuntu jammy-updates/multiverse amd64 DEP-11 Metadata [940 B]
Get:17 http://fr.archive.ubuntu.com/ubuntu jammy-backports/main amd64 DEP-11 Metadata [7972 B]
Get:18 http://fr.archive.ubuntu.com/ubuntu jammy-backports/universe amd64 DEP-11 Metadata [15,4 kB]
Ign:2 https://ppa.launchpadcontent.net/mozillateam/ppa/ubuntu jammy InRelease
Get:19 http://fr.archive.ubuntu.com/ubuntu jammy-security/main amd64 Packages [579 kB]
Get:20 http://fr.archive.ubuntu.com/ubuntu jammy-security/main Translation-en [142 kB]
Get:21 http://fr.archive.ubuntu.com/ubuntu jammy-security/main amd64 DEP-11 Metadata [41,5 kB]
Get:22 http://fr.archive.ubuntu.com/ubuntu jammy-security/main amd64 c-n-f Metadata [11,0 kB]
Get:23 http://fr.archive.ubuntu.com/ubuntu jammy-security/restricted amd64 Packages [568 kB]
Get:24 http://fr.archive.ubuntu.com/ubuntu jammy-security/restricted Translation-en [89,0 kB]
Get:25 http://fr.archive.ubuntu.com/ubuntu jammy-security/universe amd64 Packages [751 kB]
Get:26 http://fr.archive.ubuntu.com/ubuntu jammy-security/universe Translation-en [134 kB]
Get:27 http://fr.archive.ubuntu.com/ubuntu jammy-security/universe amd64 DEP-11 Metadata [21,9 kB]
Get:28 http://fr.archive.ubuntu.com/ubuntu jammy-security/universe amd64 c-n-f Metadata [15,8 kB]
Ign:2 https://ppa.launchpadcontent.net/mozillateam/ppa/ubuntu jammy InRelease
Err:2 https://ppa.launchpadcontent.net/mozillateam/ppa/ubuntu jammy InRelease
Reading from proxy failed - read (115: Operation now in progress) [IP: 147.100.179.233 443]
Fetched 5944 kB in 7s (827 kB/s)
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
6 packages can be upgraded. Run 'apt list --upgradable' to see them.
W: Failed to fetch https://ppa.launchpadcontent.net/mozillateam/ppa/ubuntu/dists/jammy/InRelease Reading from proxy failed - read (115: Operation now in progress) [IP: 147.100.179.233 443]
W: Some index files failed to download. They have been ignored, or old ones used instead.
Hors ligne
#15 Le 24/07/2023, à 12:53
- musette91
Re : sudo apt-get update ne fonctionne pas
$ echo deb http://ppa.launchpadcontent.net/mozillateam/ppa/ubuntu/ jammy main | sudo tee /etc/apt/sources.list.d/mozillateam-ubuntu-ppa-jammy.list
deb http://ppa.launchpadcontent.net/mozillateam/ppa/ubuntu/ jammy main
admin_local@jj-1313-srve003:~$ sudo apt update
Hit:1 http://fr.archive.ubuntu.com/ubuntu jammy InRelease
Hit:2 http://fr.archive.ubuntu.com/ubuntu jammy-updates InRelease
Hit:3 http://fr.archive.ubuntu.com/ubuntu jammy-backports InRelease
Get:4 http://ppa.launchpadcontent.net/mozillateam/ppa/ubuntu jammy InRelease [23,8 kB]
Hit:5 http://fr.archive.ubuntu.com/ubuntu jammy-security InRelease
Get:6 http://ppa.launchpadcontent.net/mozillateam/ppa/ubuntu jammy/main amd64 Packages [34,0 kB]
Get:7 http://ppa.launchpadcontent.net/mozillateam/ppa/ubuntu jammy/main Translation-en [7144 B]
Fetched 64,9 kB in 1s (105 kB/s)
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
6 packages can be upgraded. Run 'apt list --upgradable' to see them.
Dernière modification par musette91 (Le 25/07/2023, à 10:39)
Hors ligne
#16 Le 24/07/2023, à 12:55
- musette91
Re : sudo apt-get update ne fonctionne pas
$ apt list --upgradable
Listing... Done
curl/jammy-updates,jammy-security 7.81.0-1ubuntu1.13 amd64 [upgradable from: 7.81.0-1ubuntu1.10]
libcurl3-gnutls/jammy-updates,jammy-security 7.81.0-1ubuntu1.13 amd64 [upgradable from: 7.81.0-1ubuntu1.10]
libcurl4/jammy-updates,jammy-security 7.81.0-1ubuntu1.13 amd64 [upgradable from: 7.81.0-1ubuntu1.10]
libsmbclient/jammy-updates,jammy-security 2:4.15.13+dfsg-0ubuntu1.2 amd64 [upgradable from: 2:4.15.13+dfsg-0ubuntu1.1]
libwbclient0/jammy-updates,jammy-security 2:4.15.13+dfsg-0ubuntu1.2 amd64 [upgradable from: 2:4.15.13+dfsg-0ubuntu1.1]
samba-libs/jammy-updates,jammy-security 2:4.15.13+dfsg-0ubuntu1.2 amd64 [upgradable from: 2:4.15.13+dfsg-0ubuntu1.1]
Dernière modification par musette91 (Le 25/07/2023, à 10:39)
Hors ligne
#17 Le 24/07/2023, à 12:58
- musette91
Re : sudo apt-get update ne fonctionne pas
Est-ce que coller l'URL "https://ppa.launchpadcontent.net/mozillateam/ppa/ubuntu" dans ton navigateur te permet d'accéder au site ?
merci oui j'ai bien accès au site
sinon j'en profite pour demander, qulle application vous utilisez sur windows pour prendre en main le serveur à distance ?
Merci.
Bonne journée.
Hors ligne
#18 Le 24/07/2023, à 20:16
- ceric
Re : sudo apt-get update ne fonctionne pas
Bonsoir,
J'avais un problème avec un ppa, et j'ai trouvé dans le gestionnaire des mise à jour à l'onglet "autres logiciels" le ppa qui était indésirables.
Il faut les sélectionner et les supprimer (juste les ppa à supprimer pas le reste)
Dernière modification par ceric (Le 24/07/2023, à 20:17)
Mac mini 7.1 en dual boot Ubuntu Gnome 22.04.5 [LTS] & macOS (Monterey)
HP elitedesk 800 G2 SFF en single boot Ubuntu Gnome 24.04.1 [LTS]
HP zBook G3 15" en single boot Mageia 9
Hors ligne