Contenu | Rechercher | Menus

Annonce

Si vous avez des soucis pour rester connecté, déconnectez-vous puis reconnectez-vous depuis ce lien en cochant la case
Me connecter automatiquement lors de mes prochaines visites.

À propos de l'équipe du forum.

#1 Le 21/08/2022, à 10:18

duocore

probleme suite a mise à niveau (Jammy) sur source.list [RESOLU]

Bonjour,
j'ai fais une mise à niveau de 20.04 vers 22.04.
Mais quand je lance : sudo apt update
j'ai des erreurs :

Atteint :1 http://archive.canonical.com/ubuntu jammy InRelease
Atteint :2 http://fr.archive.ubuntu.com/ubuntu jammy InRelease
Atteint :3 http://security.ubuntu.com/ubuntu jammy-security InRelease
Atteint :4 http://ppa.launchpad.net/cubic-wizard/release/ubuntu jammy InRelease
Atteint :5 https://cloud.r-project.org/bin/linux/ubuntu jammy-cran40/ InRelease
Atteint :6 http://fr.archive.ubuntu.com/ubuntu jammy-updates InRelease
Atteint :7 https://brave-browser-apt-release.s3.brave.com stable InRelease
Atteint :8 http://fr.archive.ubuntu.com/ubuntu jammy-backports InRelease
Atteint :9 http://ppa.launchpad.net/graphics-drivers/ppa/ubuntu jammy InRelease
Atteint :10 https://deb.opera.com/opera-stable stable InRelease
Atteint :11 https://ppa.launchpadcontent.net/mozillateam/ppa/ubuntu jammy InRelease
Atteint :12 http://ppa.launchpad.net/kisak/kisak-mesa/ubuntu jammy InRelease
Atteint :13 http://ppa.launchpad.net/lutris-team/lutris/ubuntu jammy InRelease
Atteint :14 http://ppa.launchpad.net/phd/chromium-browser/ubuntu jammy InRelease
Atteint :15 http://ppa.launchpad.net/rael-gc/ubuntu-xboxdrv/ubuntu jammy InRelease
Atteint :16 http://ppa.launchpad.net/vincent-vandevyvre/vvv/ubuntu jammy InRelease
Ign :17 https://archive.ubuntu.com/ubuntu jammy InRelease
Ign :18 https://archive.ubuntu.com/ubuntu jammy-updates InRelease
Ign :19 https://archive.ubuntu.com/ubuntu jammy-security InRelease
Ign :20 https://archive.ubuntu.com/ubuntu jammy-backports InRelease
Ign :17 https://archive.ubuntu.com/ubuntu jammy InRelease
Ign :18 https://archive.ubuntu.com/ubuntu jammy-updates InRelease
Ign :19 https://archive.ubuntu.com/ubuntu jammy-security InRelease
Ign :20 https://archive.ubuntu.com/ubuntu jammy-backports InRelease
Ign :17 https://archive.ubuntu.com/ubuntu jammy InRelease
Ign :18 https://archive.ubuntu.com/ubuntu jammy-updates InRelease
Ign :19 https://archive.ubuntu.com/ubuntu jammy-security InRelease
Ign :20 https://archive.ubuntu.com/ubuntu jammy-backports InRelease
Err :17 https://archive.ubuntu.com/ubuntu jammy InRelease
  Connexion à archive.ubuntu.com: 443 (2620:2d:4000:1::16) impossible. - connect (111: Connexion refusée) Connexion à archive.ubuntu.com: 443 (91.189.91.39) impossible. - connect (111: Connexion refusée) Connexion à archive.ubuntu.com: 443 (2001:67c:1562::18) impossible. - connect (111: Connexion refusée) Connexion à archive.ubuntu.com: 443 (185.125.190.36) impossible. - connect (111: Connexion refusée) Connexion à archive.ubuntu.com: 443 (2620:2d:4000:1::19) impossible. - connect (111: Connexion refusée) Connexion à archive.ubuntu.com: 443 (91.189.91.38) impossible. - connect (111: Connexion refusée) Connexion à archive.ubuntu.com: 443 (2001:67c:1562::15) impossible. - connect (111: Connexion refusée) Connexion à archive.ubuntu.com: 443 (185.125.190.39) impossible. - connect (111: Connexion refusée)
Err :18 https://archive.ubuntu.com/ubuntu jammy-updates InRelease
  Impossible de se connecter à archive.ubuntu.com:https :
Err :19 https://archive.ubuntu.com/ubuntu jammy-security InRelease
  Impossible de se connecter à archive.ubuntu.com:https :
Err :20 https://archive.ubuntu.com/ubuntu jammy-backports InRelease
  Impossible de se connecter à archive.ubuntu.com:https :

voici mon fichier source.list :

deb https://archive.ubuntu.com/ubuntu/ jammy main restricted universe multiverse
# deb-src https://archive.ubuntu.com/ubuntu/ jammy main restricted universe multiverse

deb https://archive.ubuntu.com/ubuntu/ jammy-updates main restricted universe multiverse
# deb-src https://archive.ubuntu.com/ubuntu/ jammy-updates main restricted universe multiverse

deb https://archive.ubuntu.com/ubuntu/ jammy-security main restricted universe multiverse
# deb-src https://archive.ubuntu.com/ubuntu/ jammy-security main restricted universe multiverse

deb https://archive.ubuntu.com/ubuntu/ jammy-backports main restricted universe multiverse
# deb-src https://archive.ubuntu.com/ubuntu/ jammy-backports main restricted universe multiverse

deb http://archive.canonical.com/ubuntu/ jammy partner
# deb-src http://archive.canonical.com/ubuntu/ jammy partner

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

## Major bug fix updates produced after the final release of the
## distribution.
deb http://fr.archive.ubuntu.com/ubuntu/ jammy-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://fr.archive.ubuntu.com/ubuntu/ jammy universe
deb http://fr.archive.ubuntu.com/ubuntu/ jammy-updates universe

## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu 
## team, and may not be under a free licence. Please satisfy yourself as to 
## your rights to use the software. Also, please note that software in 
## multiverse WILL NOT receive any review or updates from the Ubuntu
## security team.
deb http://fr.archive.ubuntu.com/ubuntu/ jammy multiverse
# deb-src http://fr.archive.ubuntu.com/ubuntu/ jammy multiverse
deb http://fr.archive.ubuntu.com/ubuntu/ jammy-updates multiverse
# deb-src http://fr.archive.ubuntu.com/ubuntu/ jammy-updates multiverse

## N.B. software from this repository may not have been tested as
## extensively as that contained in the main release, although it includes
## newer versions of some applications which may provide useful features.
## Also, please note that software in backports WILL NOT receive any review
## or updates from the Ubuntu security team.
deb http://fr.archive.ubuntu.com/ubuntu/ jammy-backports main restricted universe multiverse
# deb-src http://fr.archive.ubuntu.com/ubuntu/ jammy-backports main restricted universe multiverse

deb http://security.ubuntu.com/ubuntu jammy-security main restricted
deb http://security.ubuntu.com/ubuntu jammy-security universe
deb http://security.ubuntu.com/ubuntu jammy-security multiverse
deb https://cloud.r-project.org/bin/linux/ubuntu jammy-cran40/

merci pour votre aide

Dernière modification par duocore (Le 21/08/2022, à 15:40)

Hors ligne

#2 Le 21/08/2022, à 11:49

ylag

Re : probleme suite a mise à niveau (Jammy) sur source.list [RESOLU]

Bonjour,

Ton fichier sources.list est en vrac... smile

D'autres pourront me corriger s'il y a lieu....
Commence par faire une copie de sauvegarde du fichier actuel, puis tu pourrais remplacer le contenu du fichier original par ceci, qui utilise le serveur pour la France :

deb http://fr.archive.ubuntu.com/ubuntu/ jammy main restricted universe multiverse
# deb-src http://fr.archive.ubuntu.com/ubuntu/ jammy main restricted universe multiverse

deb http://fr.archive.ubuntu.com/ubuntu/ jammy-updates main restricted universe multiverse
# deb-src http://fr.archive.ubuntu.com/ubuntu/ jammy-updates main restricted universe multiverse

deb http://fr.archive.ubuntu.com/ubuntu/ jammy-backports main restricted universe multiverse
# deb-src http://fr.archive.ubuntu.com/ubuntu/ jammy-backports main restricted universe multiverse

deb http://security.ubuntu.com/ubuntu jammy-security main restricted universe multiverse
# deb-src http://security.ubuntu.com/ubuntu jammy-security main restricted universe multiverse

deb http://archive.canonical.com/ubuntu jammy partner
# deb-src http://archive.canonical.com/ubuntu jammy partner

deb https://cloud.r-project.org/bin/linux/ubuntu jammy-cran40/

A+

Dernière modification par ylag (Le 21/08/2022, à 12:07)

Hors ligne

#3 Le 21/08/2022, à 12:10

nany

Re : probleme suite a mise à niveau (Jammy) sur source.list [RESOLU]

Bonjour,



ylag a écrit :

…
deb http://archive.canonical.com/ubuntu jammy partner
# deb-src http://archive.canonical.com/ubuntu jammy partner
…

Ces lignes sont parfaitement inutiles dans jammy. wink

Sinon, pour refaire son sources.list, je recommande le fil accessible en cliquant sur le lien Retour aux sources dans ma signature.
Ne pas oublier de remettre le dépôt pour R.

Dernière modification par nany (Le 21/08/2022, à 15:38)

Hors ligne

#4 Le 21/08/2022, à 14:04

ylag

Re : probleme suite a mise à niveau (Jammy) sur source.list [RESOLU]

Bonjour,

nany a écrit :

Ne pas oublier de remettre le dépôt pour R.

Il y a cette ligne à la fin du fichier :

deb https://cloud.r-project.org/bin/linux/ubuntu jammy-cran40/

...est-ce suffisant ?

Pour le dépôt partner, je l'ai inclus parce qu'il y était déjà dans le fichier original.
Je suis d'accord concernant son inutilité, mais p'têt bien qu'ils y rajouteront quelque chose, éventuellement ?
Sinon, simplement supprimer la ligne du fichier  le concernant pour s'en débarrasser.

A+

Dernière modification par ylag (Le 21/08/2022, à 14:06)

Hors ligne

#5 Le 21/08/2022, à 15:26

duocore

Re : probleme suite a mise à niveau (Jammy) sur source.list [RESOLU]

Merci pour m'avoir aidé avec mon source.list.
Mais quand je fais un sudo apt update j'ai ceci :

W: https://cloud.r-project.org/bin/linux/ubuntu/jammy-cran40/InRelease: Key is stored in legacy trusted.gpg keyring (/etc/apt/trusted.gpg), see the DEPRECATION section in apt-key(8) for details.

Hors ligne

#6 Le 21/08/2022, à 15:28

nany

Re : probleme suite a mise à niveau (Jammy) sur source.list [RESOLU]

ylag a écrit :

...est-ce suffisant ?

Oui mais je préfère que la ligne soit placée dans un autre fichier que sources.list, ce que devrait faire la procédure que j’ai indiquée.

ylag a écrit :

… mais p'têt bien qu'ils y rajouteront quelque chose, éventuellement ?

Ils ont purement et simplement viré les deux lignes contenant partner du sources.list, je ne pense pas que c’est avec l’intention de les remettre ultérieurement.

Hors ligne

#7 Le 21/08/2022, à 15:36

nany

Re : probleme suite a mise à niveau (Jammy) sur source.list [RESOLU]

duocore a écrit :

Merci pour m'avoir aidé avec mon source.list.
Mais quand je fais un sudo apt update j'ai ceci :

W: https://cloud.r-project.org/bin/linux/ubuntu/jammy-cran40/InRelease: Key is stored in legacy trusted.gpg keyring (/etc/apt/trusted.gpg), see the DEPRECATION section in apt-key(8) for details.

Ah oui, il faut maintenant mettre la clé dans /usr/share/keyrings/.

Alors donne le retour de :

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"' _ '{}' \;

Hors ligne

#8 Le 21/08/2022, à 15:39

duocore

Re : probleme suite a mise à niveau (Jammy) sur source.list [RESOLU]

Pour mon soucis dans le post #5, j'ai resolu le probleme avec :

https://www.how2shout.com/linux/how-to-install-r-base-ubuntu-22-04-lts-jammy/

Merci pour tout

Hors ligne