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 03/07/2020, à 16:31

Leonce

[résolu] 20.04, ménage dans Gestionnaire de MAJ

Bonjour à tous,

je viens de passer de 18.04 LTS à 20.04.
Tout semble s'être bien passé, mais je vois quand même dans le gestionnaire de mises à jour quelques bizarreries.

1593790939.png

Comment faire pour avoir uniquement les mises à jour (autre que le code source) :
-recommandées
-de sécurité
-non gérées

Merci à tous wink
------
Ubuntu 20.04 x64
Intel® Core™ i7-4500U CPU @ 1.80GHz × 4
Gnome 3.36
SSD 1To

Dernière modification par Leonce (Le 03/07/2020, à 18:36)


Ubuntu 22.04.1
Mes cartes géographiques en ligne

Hors ligne

#2 Le 03/07/2020, à 16:34

abelthorne

Re : [résolu] 20.04, ménage dans Gestionnaire de MAJ

Ce sont des doublons désactivés qui restent de la 18.04. Donne le contenu de ton sources.list et tes éventuels dépôts tiers :

cat /etc/apt/sources.list
ls /etc/apt/sources.list.d
cat /etc/apt/sources.list.d/*.list

(Mets les retours entre balises Code, les chevrons <> bleus dans la barre de mise en forme.)

Dernière modification par abelthorne (Le 03/07/2020, à 16:35)

Hors ligne

#3 Le 03/07/2020, à 16:38

Leonce

Re : [résolu] 20.04, ménage dans Gestionnaire de MAJ

Bonjour abelthorne,

merci pour ton aide.

cat /etc/apt/sources.list

renvoie

# See http://help.ubuntu.com/community/UpgradeNotes for how to upgrade to
# newer versions of the distribution.
deb http://fr.archive.ubuntu.com/ubuntu/ focal 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/ focal-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/ focal universe
# deb-src http://fr.archive.ubuntu.com/ubuntu/ bionic universe
deb http://fr.archive.ubuntu.com/ubuntu/ focal-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/ focal multiverse
deb http://fr.archive.ubuntu.com/ubuntu/ focal-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/ focal-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 focal partner
# deb-src http://archive.canonical.com/ubuntu bionic partner

deb http://security.ubuntu.com/ubuntu focal-security main restricted
# deb-src http://security.ubuntu.com/ubuntu bionic-security main restricted
deb http://security.ubuntu.com/ubuntu focal-security universe
# deb-src http://security.ubuntu.com/ubuntu bionic-security universe
deb http://security.ubuntu.com/ubuntu focal-security multiverse
# deb-src http://security.ubuntu.com/ubuntu bionic-security multiverse
ls /etc/apt/sources.list.d

ne retourne rien du tout

et

cat /etc/apt/sources.list.d/*.list

renvoie

cat: '/etc/apt/sources.list.d/*.list': Aucun fichier ou dossier de ce type

Ubuntu 22.04.1
Mes cartes géographiques en ligne

Hors ligne

#4 Le 03/07/2020, à 16:53

abelthorne

Re : [résolu] 20.04, ménage dans Gestionnaire de MAJ

Pour les deux dernières commandes, rien de grave, c'est juste que tu n'as pas de dépôts tiers.

Édite ton sources.list :

sudo nano /etc/apt/sources.list

Remplace tout son contenu par ça :

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

## Major bug fix updates produced after the final release of the
## distribution.
deb http://fr.archive.ubuntu.com/ubuntu/ focal-updates main restricted
# deb-src http://fr.archive.ubuntu.com/ubuntu/ focal-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/ focal universe
# deb-src http://fr.archive.ubuntu.com/ubuntu/ focal universe
deb http://fr.archive.ubuntu.com/ubuntu/ focal-updates universe
# deb-src http://fr.archive.ubuntu.com/ubuntu/ focal-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/ focal multiverse
# deb-src http://fr.archive.ubuntu.com/ubuntu/ focal multiverse
deb http://fr.archive.ubuntu.com/ubuntu/ focal-updates multiverse
# deb-src http://fr.archive.ubuntu.com/ubuntu/ focal-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/ focal-backports main restricted universe multiverse
# deb-src http://fr.archive.ubuntu.com/ubuntu/ focal-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 focal partner
# deb-src http://archive.canonical.com/ubuntu focal partner

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

Enregistre avec ctrl + O, valide le nom de fichier, ferme Nano avec ctrl + X.

Une fois que c'est fait, recharge les sources et ça devrait être plus propre :

sudo apt-get update

Note : par rapport à ton fichier d'origine, j'ai juste corrigé les dépôts source désactivés pour les passer en focal (20.04) au lieu de bionic (18.04) et j'en ai remis un manquant. Avec, tu auras :
- les dépôts de base (branches main, restricted, universe et multiverse) ;
- les mises à jour de ceux-ci ;
- les backports de ceux-ci (mises à jour reprises de la version suivante d'Ubuntu) ;
- le dépôt Partner (logiciels proprios en partenariat avec Canonical) ;
- les mises à jour de sécurité des quatre branches de base.

Après, si tu veux désactiver certains de ces dépôts, libre à toi mais je te conseille de les laisser tels quels, c'est la configuration de base d'Ubuntu. Et évite d'activer le dépôt Proposed.

Dernière modification par abelthorne (Le 03/07/2020, à 16:58)

Hors ligne

#5 Le 03/07/2020, à 17:25

Leonce

Re : [résolu] 20.04, ménage dans Gestionnaire de MAJ

Merci,

impeccable ! wink

Dernière modification par Leonce (Le 03/07/2020, à 18:29)


Ubuntu 22.04.1
Mes cartes géographiques en ligne

Hors ligne