Pages : 1
#1 Le 12/10/2018, à 22:36
- stephane13
[Resolu] Pas de notification de maj
Bonjour,
Tout est dans le sujet. J'ai refais l'installation
sudo apt install --reinstall update-manager-core update-manager update-notifier update-notifier-common
et quand je lance manuellement, j'ai
stephane@pcbureau:~$ update-notifier
** (update-notifier:16007): WARNING **: 23:31:57.401: already running?
stephane@pcbureau:~$
Merci.
Dernière modification par stephane13 (Le 15/01/2019, à 22:02)
Ubuntu Mate 22.04
Hors ligne
#2 Le 21/12/2018, à 19:18
- nam1962
Re : [Resolu] Pas de notification de maj
Donne nous :
cat /etc/apt/sources.list
ls /etc/apt/sources.list.d -1
Dernière modification par nam1962 (Le 05/01/2019, à 19:09)
[ Modéré ]
Hors ligne
#3 Le 05/01/2019, à 17:30
- stephane13
Re : [Resolu] Pas de notification de maj
stephane@pcbureau:~$ cat /etc/apt/sources.list
# deb cdrom:[Ubuntu-MATE 18.04.1 LTS _Bionic Beaver_ - Release amd64 (20180725)]/ bionic main multiverse restricted universe
# 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
stephane@pcbureau:~$
stephane@pcbureau:~$ ls /etc:apt/sources.list.d -1
ls: impossible d'accéder à '/etc:apt/sources.list.d': Aucun fichier ou dossier de ce type
stephane@pcbureau:~$
Merci.
Ubuntu Mate 22.04
Hors ligne
#4 Le 05/01/2019, à 19:11
- nam1962
Re : [Resolu] Pas de notification de maj
Oups, ma faute :
ls /etc/apt/sources.list.d -1
Et du coup en plus :
echo $XDG_CURRENT_DESKTOP
ls -l /usr/share/xsessions
[ Modéré ]
Hors ligne
#5 Le 05/01/2019, à 20:21
- stephane13
Re : [Resolu] Pas de notification de maj
stephane@pcbureau:~$ ls /etc/apt/sources.list.d -1
brave-bionic.list
brave-bionic.list.save
michael-gruz-ubuntu-canon-bionic.list
michael-gruz-ubuntu-canon-bionic.list.save
michael-gruz-ubuntu-canon-trunk-bionic.list
michael-gruz-ubuntu-canon-trunk-bionic.list.save
rvm-ubuntu-smplayer-bionic.list
rvm-ubuntu-smplayer-bionic.list.save
thierry-f-ubuntu-fork-michael-gruz-bionic.list
thierry-f-ubuntu-fork-michael-gruz-bionic.list.save
webupd8team-ubuntu-java-bionic.list
webupd8team-ubuntu-java-bionic.list.save
stephane@pcbureau:~$
stephane@pcbureau:~$ echo $XDG_CURRENT_DESKTOP
MATE
stephane@pcbureau:~$
stephane@pcbureau:~$ ls -l /usr/share/xsessions
total 8
-rw-r--r-- 1 root root 7001 févr. 13 2018 mate.desktop
stephane@pcbureau:~$
Ubuntu Mate 22.04
Hors ligne
#6 Le 05/01/2019, à 20:51
- nam1962
Re : [Resolu] Pas de notification de maj
Tes trois PPA Michael gruz risquent de se taper dessus, en principe il ne t'en faut qu'un.
Sinon, je relis le message 1, tout est normal, sauf éventuellement qu'il n'y ait pas de notification (mais il faut des mise à jour dispo aussi)
Pour le principe on va faire nettoyage et mise à jour :
sudo apt clean
[[ $(dpkg -l | grep ^rc) ]] && sudo dpkg -P $(dpkg -l | grep ^rc | tr -s " " | cut -d " " -f 2)
sudo apt update
sudo apt full-upgrade
sudo apt autoremove --purge
[ Modéré ]
Hors ligne
#7 Le 05/01/2019, à 21:59
- stephane13
Re : [Resolu] Pas de notification de maj
Fait!
Une question: quelle est la différence entre le fichier /etc/apt/sources.list.d -1 et le fichier /etc/apt/sources.list?
Dans mon fichier sources.list j'avais viré la ligne brave et smplayer parce que je ne m'en servais plus.
Ubuntu Mate 22.04
Hors ligne
#8 Le 06/01/2019, à 09:31
- nam1962
Re : [Resolu] Pas de notification de maj
Si ton système est bien maintenu, le fichier sources.list contient les dépôts officiels et RIEN d'autre (c'est d'ailleurs sur lui que se passera tout le boulot de mise à niveau, les PPA étant désactivés))
Le dossier sources.list.d contient les fichiers de chaque PPA (à propos, ceux-là, il est mieux de les gérer avec ppa-purge ---> https://doc.ubuntu-fr.org/ppa
(brave & smplayer n'avaient rien à faire dans le sources.list)
Plus généralement quand tu vois un fichier machin.truc et un répertoire machin.truc.d, tu peux t'attendre à voir dans le fichier les réglages par défaut de ton installation et dans le dossier (ou répertoire), les réglages que tu auras fait ou ajouté.
Le paramètre -1 est juste là pour que le retour soit plus lisible, compare ces deux commandes :
ls /etc/apt/sources.list.d -1
ls /etc/apt/sources.list.d
Pour plus d'info :
man ls
Ou pour avoir des cas d'utilisation :
sudo pip install eg
puis
eg ls
Dernière modification par nam1962 (Le 06/01/2019, à 09:52)
[ Modéré ]
Hors ligne
#9 Le 15/01/2019, à 22:02
- stephane13
Re : [Resolu] Pas de notification de maj
C'est bon! Ça marche!
J'attendais d'avoir plusieurs notifications pour être sûr.
Merci nam1962.
Ubuntu Mate 22.04
Hors ligne
#10 Le 15/01/2019, à 22:18
- Coeur Noir
Re : [Resolu] Pas de notification de maj
brave & smplayer n'avaient rien à faire dans le sources.list
Certes ça n'était pas leur place idéale mais ça n'était pas forcément du ressort de stephane13 :
- certains logiciels inscrivent leur dépôt source directement dans le fichier sources.list
- à une époque lointaine, les ppa s'ajoutaient là par défaut il me semble.
Par clarté et facilité de maintenance :
fichier sources.list → uniquement pour les dépôts « officiels » de ta distribution,
dossier sources.list.d → les autres sources de logiciels, ajoutées par l'utilisateur ensuite.
Débuter ⋅ Doc ⋅ Bien rédiger ⋅ Retour commande ⋅ Insérer image | illustrations & captures d'écran < ⋅ >
Hors ligne
Pages : 1