Ubuntu : Crash de update-manager

J’avais donc des crash de update-manage, j’ai donc utilisé plusieurs méthodes vu sur Google.

Voici le crash que j’avais :

$ update-manager 
Traceback (most recent call last):
  File "/usr/bin/update-manager", line 28, in 
    import gi
  File "/usr/lib/python3/dist-packages/gi/__init__.py", line 42, in 
    from . import _gi
ImportError: cannot import name '_gi' from partially initialized module 'gi' (most likely due to a circular import) (/usr/lib/python3/dist-packages/gi/__init__.py)

$ cd /usr/lib/python3/dist-packages/gi/
/usr/lib/python3/dist-packages/gi$ ls *.so
_gi_cairo.cpython-36m-x86_64-linux-gnu.so
_gi.cpython-36m-x86_64-linux-gnu.so
_gi.cpython-37m-x86_64-linux-gnu.so

Solution 1 :

$ sudo apt-get install --reinstall dbus python-dbus python3-dbus

=> Echec.

Solution 2 :

$ sudo apt purge update-manager && sudo apt install update-manager

=> Echec.

Solution 3 :

$ sudo rm  /usr/bin/python3
$ sudo ln -s /usr/bin/python3.6 /usr/bin/python3

Avant j’avais (python3 -> python3.8) et maintenant j’ai (python3 -> python3.6)

==> Réussite (partielle).

$ update-manager 
WARNING:root:can not import unity GI Namespace Dbusmenu not available
Gtk-Message: 09:25:18.817: GtkDialog mapped without a transient parent. This is discouraged.
debconf: DbDriver "passwords" warning: could not open /var/cache/debconf/passwords.dat: Permission denied
Use of uninitialized value $template in exists at /usr/share/perl5/Debconf/Template.pm line 86, <> line 9.
Use of uninitialized value $item in exists at /usr/share/perl5/Debconf/DbDriver/Cache.pm line 40, <> line 9.
Use of uninitialized value $item in exists at /usr/share/perl5/Debconf/DbDriver/Cache.pm line 40, <> line 9.
Use of uninitialized value $template in exists at /usr/share/perl5/Debconf/Template.pm line 86, <> line 21.
Use of uninitialized value $item in exists at /usr/share/perl5/Debconf/DbDriver/Cache.pm line 40, <> line 21.
Use of uninitialized value $item in exists at /usr/share/perl5/Debconf/DbDriver/Cache.pm line 40, <> line 21.
Use of uninitialized value $template in exists at /usr/share/perl5/Debconf/Template.pm line 86, <> line 25.
Use of uninitialized value $item in exists at /usr/share/perl5/Debconf/DbDriver/Cache.pm line 40, <> line 25.
Use of uninitialized value $item in exists at /usr/share/perl5/Debconf/DbDriver/Cache.pm line 40, <> line 25.
debconf: DbDriver "passwords" warning: could not open /var/cache/debconf/passwords.dat: Permission denied
Use of uninitialized value $template in exists at /usr/share/perl5/Debconf/Template.pm line 86, <> line 12.
Use of uninitialized value $item in exists at /usr/share/perl5/Debconf/DbDriver/Cache.pm line 40, <> line 12.
Use of uninitialized value $item in exists at /usr/share/perl5/Debconf/DbDriver/Cache.pm line 40, <> line 12.
Use of uninitialized value $template in exists at /usr/share/perl5/Debconf/Template.pm line 86, <> line 16.
Use of uninitialized value $item in exists at /usr/share/perl5/Debconf/DbDriver/Cache.pm line 40, <> line 16.
Use of uninitialized value $item in exists at /usr/share/perl5/Debconf/DbDriver/Cache.pm line 40, <> line 16.
debconf: DbDriver "passwords" warning: could not open /var/cache/debconf/passwords.dat: Permission denied
debconf: DbDriver "passwords" warning: could not open /var/cache/debconf/passwords.dat: Permission denied
debconf: DbDriver "passwords" warning: could not open /var/cache/debconf/passwords.dat: Permission denied
...

Laisser un commentaire

Votre adresse e-mail ne sera pas publiée. Les champs obligatoires sont indiqués avec *

Time limit is exhausted. Please reload CAPTCHA.