curl -sS https://dl.yarnpkg.com/debian/pubkey.gpg | sudo apt-key add -
me donne:
OK
echo "# deb cdrom:"$(sed 's/^/\[/;s/\"/_/g;s/$/\]/' /var/log/installer/media-info)"/ "$(awk -F'"' '{sub(" .*","",$2); print tolower($2)}' /var/log/installer/media-info)" main restricted" | sudo tee /etc/apt/sources.list
me donne:
# deb cdrom:[Ubuntu 18.04.3 LTS _Bionic Beaver_ - Release amd64 (20190805)]/ bionic main restricted
tail +9 /snap/core/current/etc/cloud/templates/sources.list.ubuntu.tmpl | sed "s#{{mirror}}#http://fr.archive.ubuntu.com/ubuntu/#;s#{{codename}}#$(lsb_release -sc)#;s#{{security}}#http://security.ubuntu.com/ubuntu/#" | sudo tee -a /etc/apt/sources.list
me donne:
# See http://help.ubuntu.com/community/UpgradeNotes for how to upgrade to
# newer versions of the distribution.
deb http://fr.archive.ubuntu.com/ubuntu/ bionic main restricted
# deb-src http://fr.archive.ubuntu.com/ubuntu/ bionic main restricted
## Major bug fix updates produced after the final release of the
## distribution.
deb http://fr.archive.ubuntu.com/ubuntu/ bionic-updates main restricted
# deb-src http://fr.archive.ubuntu.com/ubuntu/ bionic-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/ bionic universe
# deb-src http://fr.archive.ubuntu.com/ubuntu/ bionic universe
deb http://fr.archive.ubuntu.com/ubuntu/ bionic-updates universe
# deb-src http://fr.archive.ubuntu.com/ubuntu/ bionic-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/ bionic multiverse
# deb-src http://fr.archive.ubuntu.com/ubuntu/ bionic multiverse
deb http://fr.archive.ubuntu.com/ubuntu/ bionic-updates multiverse
# deb-src http://fr.archive.ubuntu.com/ubuntu/ bionic-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/ bionic-backports main restricted universe multiverse
# deb-src http://fr.archive.ubuntu.com/ubuntu/ bionic-backports main restricted universe multiverse
## Uncomment the following two lines to add software from Canonical's
## 'partner' repository.
## This software is not part of Ubuntu, but is offered by Canonical and the
## respective vendors as a service to Ubuntu users.
# deb http://archive.canonical.com/ubuntu bionic partner
# deb-src http://archive.canonical.com/ubuntu bionic partner
deb http://security.ubuntu.com/ubuntu/ bionic-security main restricted
# deb-src http://security.ubuntu.com/ubuntu/ bionic-security main restricted
deb http://security.ubuntu.com/ubuntu/ bionic-security universe
# deb-src http://security.ubuntu.com/ubuntu/ bionic-security universe
deb http://security.ubuntu.com/ubuntu/ bionic-security multiverse
# deb-src http://security.ubuntu.com/ubuntu/ bionic-security multiverse
sudo apt clean && sudo apt update
me donne:
Atteint :1 http://fr.archive.ubuntu.com/ubuntu bionic InRelease
Atteint :2 http://fr.archive.ubuntu.com/ubuntu bionic-updates InRelease
Atteint :3 http://fr.archive.ubuntu.com/ubuntu bionic-backports InRelease
Atteint :4 http://security.ubuntu.com/ubuntu bionic-security InRelease
Atteint :5 http://ppa.launchpad.net/ondrej/php/ubuntu bionic InRelease
Ign :6 http://dl.google.com/linux/chrome/deb stable InRelease
Atteint :7 http://dl.google.com/linux/chrome/deb stable Release
Réception de :8 https://download.docker.com/linux/ubuntu bionic InRelease [64,4 kB]
Atteint :9 https://dl.yarnpkg.com/debian stable InRelease
Réception de :10 http://fr.archive.ubuntu.com/ubuntu bionic/main i386 Packages [1007 kB]
Réception de :11 http://fr.archive.ubuntu.com/ubuntu bionic/main amd64 Packages [1019 kB]
Réception de :12 http://fr.archive.ubuntu.com/ubuntu bionic/main Translation-fr [513 kB]
Réception de :13 http://fr.archive.ubuntu.com/ubuntu bionic/main Translation-en [516 kB]
Réception de :14 http://fr.archive.ubuntu.com/ubuntu bionic/main amd64 DEP-11 Metadata [477 kB]
Réception de :15 http://fr.archive.ubuntu.com/ubuntu bionic/main DEP-11 48x48 Icons [118 kB]
Réception de :16 http://fr.archive.ubuntu.com/ubuntu bionic/main DEP-11 64x64 Icons [245 kB]
Réception de :17 http://fr.archive.ubuntu.com/ubuntu bionic/restricted amd64 Packages [9184 B]
Réception de :18 http://fr.archive.ubuntu.com/ubuntu bionic/restricted i386 Packages [9156 B]
Réception de :19 http://fr.archive.ubuntu.com/ubuntu bionic/restricted Translation-en [3584 B]
Réception de :20 http://fr.archive.ubuntu.com/ubuntu bionic/restricted Translation-fr [2380 B]
Réception de :21 http://security.ubuntu.com/ubuntu bionic-security/restricted amd64 Packages [23,8 kB]
Réception de :22 http://security.ubuntu.com/ubuntu bionic-security/restricted i386 Packages [4280 B]
Réception de :23 http://security.ubuntu.com/ubuntu bionic-security/restricted Translation-en [6528 B]
4019 ko réceptionnés en 1s (3166 ko/s)
Lecture des listes de paquets... Fait
Construction de l'arbre des dépendances
Lecture des informations d'état... Fait
126 paquets peuvent être mis à jour. Exécutez « apt list --upgradable » pour les voir.