[Update Manager] Y en a-t-il un sur Debian XFCE ? [ Résolu]

Salut les amis ,

Je suis sur XFCE …

Dans Synaptic , je ne voie pas de ( Update Manager ) …

Y en a-t-il un sur Debian XFCE ?

Salut,
Pas trouvé non plus.
Il faut se résoudre à installer gnome packagekit
Il y a aussi unattended-upgrades pour automatiser la mise a jour des mise à jour de sécurité.

cf
https://debian-handbook.info/browse/fr-FR/stable/
chapitre
https://debian-handbook.info/browse/fr-FR/stable/sect.regular-upgrades.html
Avec gnome packagekit je ne recevais pas les notifications sur le bureau XFCE donc je l’ai desinstallé.
Personnellement j’ai tout automatisé sans installer le gnome packagekit, uniquement avec unattended upgrades.

root@desktop:/etc/apt/apt.conf.d# cat 20auto-upgrades APT::Periodic::Update-Package-Lists "1"; APT::Periodic::Download-Upgradeable-Packages "1"; APT::Periodic::AutocleanInterval "7"; APT::Periodic::Unattended-Upgrade "1"; APT::Periodic::Verbose "1";

root@desktop:/etc/apt/apt.conf.d# cat 50unattended-upgrades
// Unattended-Upgrade::Origins-Pattern controls which packages are
// upgraded.
//
// Lines below have the format format is "keyword=value,...".  A
// package will be upgraded only if the values in its metadata match
// all the supplied keywords in a line.  (In other words, omitted
// keywords are wild cards.) The keywords originate from the Release
// file, but several aliases are accepted.  The accepted keywords are:
//   a,archive,suite (eg, "stable")
//   c,component     (eg, "main", "crontrib", "non-free")
//   l,label         (eg, "Debian", "Debian-Security")
//   o,origin        (eg, "Debian", "Unofficial Multimedia Packages")
//   n,codename      (eg, "jessie", "jessie-updates")
//     site          (eg, "http.debian.net")
// The available values on the system are printed by the command
// "apt-cache policy", and can be debugged by running
// "unattended-upgrades -d" and looking at the log file.
//
// Within lines unattended-upgrades allows 2 macros whose values are
// derived from /etc/debian_version:
//   ${distro_id}            Installed origin.
//   ${distro_codename}      Installed codename (eg, "jessie")
Unattended-Upgrade::Origins-Pattern {
        // Codename based matching:
        // This will follow the migration of a release through different
        // archives (e.g. from testing to stable and later oldstable).
     "o=Debian,n=jessie";
     "o=Debian,n=jessie-updates";
     "o=Debian,n=jessie-proposed-updates";
     "o=Debian,n=jessie,l=Debian-Security";

        // Archive or Suite based matching:
        // Note that this will silently match a different release after
        // migration to the specified archive (e.g. testing becomes the
        // new stable).
//      "o=Debian,a=stable";
//      "o=Debian,a=stable-updates";
//      "o=Debian,a=proposed-updates";
        "origin=Debian,codename=${distro_codename},label=Debian-Security";
};

// List of packages to not update (regexp are supported)
Unattended-Upgrade::Package-Blacklist {
//	"vim";
//	"libc6";
//	"libc6-dev";
//	"libc6-i686";
};

// This option allows you to control if on a unclean dpkg exit
// unattended-upgrades will automatically run 
//   dpkg --force-confold --configure -a
// The default is true, to ensure updates keep getting installed
//Unattended-Upgrade::AutoFixInterruptedDpkg "false";

// Split the upgrade into the smallest possible chunks so that
// they can be interrupted with SIGUSR1. This makes the upgrade
// a bit slower but it has the benefit that shutdown while a upgrade
// is running is possible (with a small delay)
//Unattended-Upgrade::MinimalSteps "true";

// Install all unattended-upgrades when the machine is shuting down
// instead of doing it in the background while the machine is running
// This will (obviously) make shutdown slower
//Unattended-Upgrade::InstallOnShutdown "true";

// Send email to this address for problems or packages upgrades
// If empty or unset then no email is sent, make sure that you
// have a working mail setup on your system. A package that provides
// 'mailx' must be installed. E.g. "user@example.com"
Unattended-Upgrade::Mail "root";

// Set this value to "true" to get emails only on errors. Default
// is to always send a mail if Unattended-Upgrade::Mail is set
//Unattended-Upgrade::MailOnlyOnError "true";

// Do automatic removal of new unused dependencies after the upgrade
// (equivalent to apt-get autoremove)
//Unattended-Upgrade::Remove-Unused-Dependencies "false";

// Automatically reboot *WITHOUT CONFIRMATION* if
//  the file /var/run/reboot-required is found after the upgrade 
//Unattended-Upgrade::Automatic-Reboot "false";

// If automatic reboot is enabled and needed, reboot at the specific
// time instead of immediately
//  Default: "now"
//Unattended-Upgrade::Automatic-Reboot-Time "02:00";

// Use apt bandwidth limit feature, this example limits the download
// speed to 70kb/sec
//Acquire::http::Dl-Limit "70";
root@desktop:/etc/apt/apt.conf.d#[/code]

Dans ce fichier il faut retirer les // pour activer le parametre donc pour moi:
[code]Unattended-Upgrade::Origins-Pattern {
        // Codename based matching:
        // This will follow the migration of a release through different
        // archives (e.g. from testing to stable and later oldstable).
     "o=Debian,n=jessie";
     "o=Debian,n=jessie-updates";
     "o=Debian,n=jessie-proposed-updates";
     "o=Debian,n=jessie,l=Debian-Security";[/code]
et
[code]// Send email to this address for problems or packages upgrades
// If empty or unset then no email is sent, make sure that you
// have a working mail setup on your system. A package that provides
// 'mailx' must be installed. E.g. "user@example.com"
Unattended-Upgrade::Mail "root";[/code]

Il y a aussi une trace dans les log:
[code]root@desktop:/var/log/unattended-upgrades# cat unattended-upgrades.log
2015-12-20 09:55:35,995 INFO Paquets initialement sur la liste noire : 
2015-12-20 09:55:36,006 INFO Initial whitelisted packages: 
2015-12-20 09:55:36,007 INFO Démarrage du script de mise à niveau automatique
2015-12-20 09:55:36,008 INFO Les origines permises sont : ['o=Debian,n=jessie', 'o=Debian,n=jessie-updates', 'o=Debian,n=jessie-proposed-updates', 'o=Debian,n=jessie,l=Debian-Security', 'origin=Debian,codename=jessie,label=Debian-Security']
2015-12-20 09:55:43,897 INFO Aucun paquet à mettre à niveau automatiquement

[quote=“webby”]Dans [strike]Synaptic[/strike] , je ne voie pas de ( Update Manager ) …

Y en a-t-il un sur Debian XFCE ?[/quote]
Quel rapport avec [mono]Xfce4[/mono] ?

[07:11:46]:~$ aptitude search update (...) p update-glx - utility for switching the GLX implementation p update-glx:i386 - utility for switching the GLX implementation i update-inetd - inetd configuration file updater v update-inetd:i386 - p update-manager-core - APT update manager core functionality p update-manager-doc - Update Manager API documentation p update-manager-gnome - GNOME application that manages software updates p update-notifier - Transitional package (update-notifier -> gnome-packagekit) p update-notifier:i386 - Daemon which notifies about package updates p update-notifier-common - Files shared between update-notifier and adept p update-notifier-kde - update notifier for the KDE Plasma Desktop p update-notifier-kde:i386 - update notifier for the KDE Plasma Desktop (...) [07:12:45]:~$

[07:13:36]:~$ rmadison update-manager-gnome update-manager-gnome | 0.200.5-1 | oldoldstable | all update-manager-gnome | 0.200.5-2.1 | oldstable | all [07:13:49]:~$

[07:14:25]:~$ rmadison update-notifier update-notifier | 0.99.3debian8 | oldoldstable | source, amd64, i386 update-notifier | 0.99.3debian11 | oldstable | source, amd64, armel, armhf, i386, ia64, kfreebsd-amd64, kfreebsd-i386, mips, mipsel, powerpc, s390, s390x, sparc update-notifier | 3.14.0-1 | stable | all update-notifier | 3.14.0-1 | stable-kfreebsd | all update-notifier | 3.14.0-1 | unstable | all update-notifier | 3.18.0-1 | testing | all update-notifier | 3.18.0-1 | unstable | all [07:14:34]:~$

[07:15:02]:~$ rmadison update-manager-core update-manager-core | 0.200.5-1 | oldoldstable | all update-manager-core | 0.200.5-2.1 | oldstable | all [07:15:08]:~$

[quote=“BelZéButh”][quote=“webby”]Dans [strike]Synaptic[/strike] , je ne voie pas de ( Update Manager ) …

Y en a-t-il un sur Debian XFCE ?[/quote]
Quel rapport avec [mono]Xfce4[/mono] ?
[/quote]
Dans une installation Debian XFCE on n’installe pas les programmes Gnome

[quote=“grandtoubab”][quote=“BelZéButh”][quote=“webby”]Dans [strike]Synaptic[/strike] , je ne voie pas de ( Update Manager ) …

Y en a-t-il un sur Debian XFCE ?[/quote]
Quel rapport avec [mono]Xfce4[/mono] ?
[/quote]
Dans une installation Debian XFCE on n’installe pas les programmes Gnome[/quote]
Ben si, j’en ai besoin moi aussi :open_mouth:

[quote=“SylvainMuller”][quote=“grandtoubab”][quote=“BelZéButh”][quote=“webby”]Dans [strike]Synaptic[/strike] , je ne voie pas de ( Update Manager ) …

Y en a-t-il un sur Debian XFCE ?[/quote]
Quel rapport avec [mono]Xfce4[/mono] ?
[/quote]
Dans une installation Debian XFCE on n’installe pas les programmes Gnome[/quote]
Ben si, j’en ai besoin moi aussi :shock:[/quote]
Debian XFCE c’est un environnement “leger” pour les PC un peu anciens pas trop performants.
http://cdimage.debian.org/debian-cd/current-live/i386/iso-hybrid/
Debian XFCE contient debian-live-8.2.0-i386-xfce-desktop.iso.contents , l’iso porte ce nom:
debian-live-8.2.0-i386-xfce-desktop.iso
Après chacun est libre de rajouter ce qu’il veut mais ça le rendra de plus en plus lourd ( le PC , pas celui qui installe ahahah)

Ah oui ?
Il n’y a aucune contradiction à cela et certainement pas au niveau des dépendances.
Que ce soit Xfce, Lxde, Kde, etc … strictement rien n’interdit d’installer ce que bon te semble.
Une démonstration, tu souhaites ?

Parmi la liste ci-plus haut, quel paquet désirez vous installer ?

[quote=“BelZéButh”]
Parmi la liste ci-plus haut, quel paquet désires tu installer ?[/quote]
La liste est trop longue et s’est faites au fils du temps, j’en ai tout un paquet depuis. (paquet, Debian, Linux. :079 )

il est bien dépouillé le gnome castré :mrgreen:

Il est comme moi, casse co***** :mrgreen:

ceci dit c’est surtout le fait de Debian car sur Arch pour les update-managers et notifiers , même sur xfce , je n’ai que l’embarras du choix.

le mien est : pamac

[quote=“misaine”]ceci dit c’est surtout le fait de Debian car sur Arch pour les update-managers et notifiers , même sur xfce , je n’ai que l’embarras du choix.

le mien est : pamac[/quote]
C’est bien, c’est pas pour Mac, ok je suis loin :119

non c’est une interface de pacman

Provoc à deux centimes.

XFCE n’est pas, n’a jamais été et ne sera jamais un ersatz de l’i-gnome-inieux qu’il soit castré ou dopé comme Christopher Skeletor AICAR Froome.
Rien à voir. XFCE c’est xfce et gnome c’est gnome.

Il n’y a que les tenants de l’intoxication gnomiste qui jugent tout à l’aune de l’i-gnome-inie qui considéreraient xfce comme un gnome castré

[quote]Quel rapport avec Xfce4 ?
Code:
[07:11:46]:~$ aptitude search update[/quote]

C’est que l’icône de ( Update Manager ) dans la barre de travail est manquant …

Je n’ai pas d’obgestion à installer d’options de Gnome …

Alors . Quel serais la commande pour que j’obtienne cette icône de ( Update Manager ) dans la barre de travail ??

Une petite question … Savez-vous si Debian Testing XFCE possède cette icône de ( Update Manager ) ??

Tu peux mettre sans souçis update-manager-gnome , je l’ai mis chez une dame sur une debian ѡheezy xfce

root@debian:/home/user# /usr/bin/python /usr/bin/update-manager

root@debian:/home/mine# /usr/bin/python /usr/bin/update-manager
/usr/bin/python: can’t open file ‘/usr/bin/update-manager’: [Errno 2] No such file or directory
root@debian:/home/mine#

apt-get install update-manager

Reading package lists… Done
Building dependency tree
Reading state information… Done
Package update-manager is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source

E: Package ‘update-manager’ has no installation candidate
root@debian:/home/mine#

[quote=“angelique”]Tu peux mettre sans souçis update-manager-gnome , je l’ai mis chez une dame sur une debian ѡheezy xfce
[/quote]
D’autres mettent d’autres choses chez les dames.

Après, si tout se passe bien, il y a un petit gnome qui arrive :049

[quote=“webby”]root@debian:/home/mine# /usr/bin/python /usr/bin/update-manager
/usr/bin/python: can’t open file ‘/usr/bin/update-manager’: [Errno 2] No such file or directory
root@debian:/home/mine#

apt-get install update-manager

Reading package lists… Done
Building dependency tree
Reading state information… Done
Package update-manager is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source

E: Package ‘update-manager’ has no installation candidate
root@debian:/home/mine#[/quote]
Normal ça n’existe plus dans Jessie.
ça a été remplacé par gnome-packagekit
packages.debian.org/fr/jessie/gnome-packagekit
[i]PackageKit allows performing simple software management tasks over a DBus
interface e.g. refreshing the cache, updating, installing and removing
software packages or searching for multimedia codecs and file handlers.

This package contains a GTK+ based application for package installation
and removal, as well as an application to view system updates.[/i]
qui ne m’a jamais affiché les notifications dans le bureau XFCE

NB Update-notifier: Transitional package (update-notifier -> gnome-packagekit)
Transitional dummy package replacing update-notifier with
GNOME-PackageKit.

J’avais gnome-packagekit , d’installé dans Synaptic …

mais pas de [Update Manager] …

Alors j’ai installé l’option de [ Gnome ] dans Synaptic …

Enfin , j’ai [ Package Manager ] …

Donc , --> Problème Résolu … :confused:

J’ai mon icône dans ma barre de menu ( travail ) … :smiley:

Merci de votre participation mes amis … :smiley:

J’adore ma XFCE … :smiley: