[RÉSOLU] Souci avec update-notifier

Bonjour à tous,

J’ai un problème avec update-notifier depuis un moment, lorsqu’il y a des mises à jour à faire, je clique, je rentre mon mot de passe, il cherche les dépendances, et la fenêtre se ferme toute seule. :cry:

Perso, c’est pas trop grave aptitude upgrade fonctionne mais ça ennuie ma femme…

voilà ce que raconte la console :

[code]** (gksu:11044): WARNING **: couldn’t communicate with gnome keyring daemon via dbus: The name org.gnome.keyring was not provided by any .service files

** (gksu:11044): WARNING **: couldn’t communicate with gnome keyring daemon via dbus: The name org.gnome.keyring was not provided by any .service files

** (gksu:11044): WARNING **: couldn’t communicate with gnome keyring daemon via dbus: The name org.gnome.keyring was not provided by any .service files
/usr/lib/python2.4/site-packages/apt/init.py:17: FutureWarning: apt API not stable yet
warnings.warn(“apt API not stable yet”, FutureWarning)
/var/lib/python-support/python2.4/UpdateManager/GtkProgress.py:67: GtkWarning: Failed to set text from markup due to error parsing markup: Error on line 1 char 41: Invalid UTF-8 encoded text
self._status.set_markup("%s" % self.op)
current dist not found in meta-release file
Traceback (most recent call last):
File “/usr/bin/update-manager”, line 71, in ?
app.main(options)
File “/var/lib/python-support/python2.4/UpdateManager/UpdateManager.py”, line 759, in main
self.fillstore()
File “/var/lib/python-support/python2.4/UpdateManager/UpdateManager.py”, line 613, in fillstore
self.list.update(self.cache)
File “/var/lib/python-support/python2.4/UpdateManager/UpdateManager.py”, line 204, in update
cache.saveDistUpgrade()
File “/var/lib/python-support/python2.4/UpdateManager/UpdateManager.py”, line 97, in saveDistUpgrade
self.clean()
File “/var/lib/python-support/python2.4/UpdateManager/UpdateManager.py”, line 87, in clean
action_group = apt_pkg.GetPkgActionGroup(self._depcache)
AttributeError: ‘module’ object has no attribute ‘GetPkgActionGroup’
[/code]

Ça à l’air d’être un pbm de python et comme j’y connais rien…

Une solution ??

Thanks

question bete tu as essayer de faire la mise à jour du paquet update-notifier??

ça me fait la même chose sur Testing et Sid.

Je viens de faire la mise à jour sur ma Sid et rebelote ça me fait pareil.
Je viens de trouver ça sur linuxhelpforum :

[quote]
Em Sex, 2007-06-29 Ã*s 16:40 -0400, Sean escreveu:

action_group = apt_pkg.GetPkgActionGroup(self._depcache)
AttributeError: ‘module’ object has no attribute ‘GetPkgActionGroup’

I remember that there was a python update recently. Could that have
caused the problem?

It looks like update-manager needs a higher version of python-apt…
I’ll take a look at what version it needs, but will probably fix this by
using the action group conditionally.[/quote]
Je fais la mise à jour de python-apt sur ma sid et je vous tiens au courant.

C’est bon après la mise à jour de python-apt. => RÉSOLU !!!

Par contre, une question. J’ai déjà lu plusieurs fois qu’il valait mieux sur une sid avoir également les dépôts testing dans le sources.list pour compléter.
Je n’ai pas de fichier preferences sur ma sid, et je pensais que apt choisissait en priorité la version la plus récente d’un paquet.
Cependant, le paquet python-apt était en version testing, ainsi que aptitude + quelques dépendances… Est-ce normal ??