#76 Le 17/03/2023, à 14:47
- ylag
Re : [Résolu] Ubuntu 22.04 Ré-installation Software Updater
Bonjour,
!
En dernier recours, peut-être essayer la réinstallation de python3-dbus, qui ne s'est pas faite, vu l'erreur au message #73 :
sudo apt reinstall python3-dbus
... sinon, ça empeste fortement la réinstallation, amha.
A+
Dernière modification par ylag (Le 17/03/2023, à 14:55)
Hors ligne
#77 Le 17/03/2023, à 14:53
- iznobe
Re : [Résolu] Ubuntu 22.04 Ré-installation Software Updater
J'ai essayé la soluton d'iznobe
Ca plante toujours, mais un peu différemment...
ce n ' est pas " ma " solution mais une trouvée sur internet qu ' ylag avait deja proposée avant moi .
cela dit , ca m' a plutot l' air d ' avoir empiré la situation
Dernière modification par iznobe (Le 17/03/2023, à 14:54)
retour COMPLET et utilisable de commande
MSI Z490A-pro , i7 10700 , 32 GB RAM .
Hors ligne
#78 Le 17/03/2023, à 14:56
- jfkamel
Re : [Résolu] Ubuntu 22.04 Ré-installation Software Updater
sudo apt reinstall python3-dbus
Lecture des listes de paquets... Fait
Construction de l'arbre des dépendances... Fait
Lecture des informations d'état... Fait
0 mis à jour, 0 nouvellement installés, 1 réinstallés, 0 à enlever et 4 non mis à jour.
Il est nécessaire de prendre 99,5 ko dans les archives.
Après cette opération, 0 o d'espace disque supplémentaires seront utilisés.
Réception de :1 http://fr.archive.ubuntu.com/ubuntu jammy/main amd64 python3-dbus amd64 1.2.18-3build1 [99,5 kB]
99,5 ko réceptionnés en 0s (284 ko/s)
(Lecture de la base de données... 202661 fichiers et répertoires déjà installés.
)
Préparation du dépaquetage de .../python3-dbus_1.2.18-3build1_amd64.deb ...
Dépaquetage de python3-dbus (1.2.18-3build1) sur (1.2.18-3build1) ...
Paramétrage de python3-dbus (1.2.18-3build1) ...
Est-ce que ça s'est bien passé ?
En tout cas update-manager plante :
update-manager
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/dbus/bus.py", line 177, in activate_name_owner
return self.get_name_owner(bus_name)
File "/usr/lib/python3/dist-packages/dbus/bus.py", line 361, in get_name_owner
return self.call_blocking(BUS_DAEMON_NAME, BUS_DAEMON_PATH,
File "/usr/lib/python3/dist-packages/dbus/connection.py", line 652, in call_blocking
reply_message = self.send_message_with_reply_and_block(
dbus.exceptions.DBusException: org.freedesktop.DBus.Error.NameHasNoOwner: Could not get owner of name 'org.debian.apt': no such name
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/defer/__init__.py", line 487, in _inline_callbacks
result = gen.send(result)
File "/usr/lib/python3/dist-packages/aptdaemon/client.py", line 1623, in _run_transaction_helper
daemon = get_aptdaemon(self.bus)
File "/usr/lib/python3/dist-packages/aptdaemon/client.py", line 1709, in get_aptdaemon
return dbus.Interface(bus.get_object("org.debian.apt",
File "/usr/lib/python3/dist-packages/dbus/bus.py", line 241, in get_object
return self.ProxyObjectClass(self, bus_name, object_path,
File "/usr/lib/python3/dist-packages/dbus/proxies.py", line 250, in __init__
self._named_service = conn.activate_name_owner(bus_name)
File "/usr/lib/python3/dist-packages/dbus/bus.py", line 182, in activate_name_owner
self.start_service_by_name(bus_name)
File "/usr/lib/python3/dist-packages/dbus/bus.py", line 277, in start_service_by_name
return (True, self.call_blocking(BUS_DAEMON_NAME, BUS_DAEMON_PATH,
File "/usr/lib/python3/dist-packages/dbus/connection.py", line 652, in call_blocking
reply_message = self.send_message_with_reply_and_block(
dbus.exceptions.DBusException: org.freedesktop.DBus.Error.Spawn.ExecFailed: Failed to execute program org.debian.apt: No such file or directory
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/dbus/bus.py", line 177, in activate_name_owner
return self.get_name_owner(bus_name)
File "/usr/lib/python3/dist-packages/dbus/bus.py", line 361, in get_name_owner
return self.call_blocking(BUS_DAEMON_NAME, BUS_DAEMON_PATH,
File "/usr/lib/python3/dist-packages/dbus/connection.py", line 652, in call_blocking
reply_message = self.send_message_with_reply_and_block(
dbus.exceptions.DBusException: org.freedesktop.DBus.Error.NameHasNoOwner: Could not get owner of name 'org.debian.apt': no such name
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/defer/__init__.py", line 487, in _inline_callbacks
result = gen.send(result)
File "/usr/lib/python3/dist-packages/aptdaemon/client.py", line 1623, in _run_transaction_helper
daemon = get_aptdaemon(self.bus)
File "/usr/lib/python3/dist-packages/aptdaemon/client.py", line 1709, in get_aptdaemon
return dbus.Interface(bus.get_object("org.debian.apt",
File "/usr/lib/python3/dist-packages/dbus/bus.py", line 241, in get_object
return self.ProxyObjectClass(self, bus_name, object_path,
File "/usr/lib/python3/dist-packages/dbus/proxies.py", line 250, in __init__
self._named_service = conn.activate_name_owner(bus_name)
File "/usr/lib/python3/dist-packages/dbus/bus.py", line 182, in activate_name_owner
self.start_service_by_name(bus_name)
File "/usr/lib/python3/dist-packages/dbus/bus.py", line 277, in start_service_by_name
return (True, self.call_blocking(BUS_DAEMON_NAME, BUS_DAEMON_PATH,
File "/usr/lib/python3/dist-packages/dbus/connection.py", line 652, in call_blocking
reply_message = self.send_message_with_reply_and_block(
dbus.exceptions.DBusException: org.freedesktop.DBus.Error.Spawn.ExecFailed: Failed to execute program org.debian.apt: No such file or directory
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/dbus/bus.py", line 177, in activate_name_owner
return self.get_name_owner(bus_name)
File "/usr/lib/python3/dist-packages/dbus/bus.py", line 361, in get_name_owner
return self.call_blocking(BUS_DAEMON_NAME, BUS_DAEMON_PATH,
File "/usr/lib/python3/dist-packages/dbus/connection.py", line 652, in call_blocking
reply_message = self.send_message_with_reply_and_block(
dbus.exceptions.DBusException: org.freedesktop.DBus.Error.NameHasNoOwner: Could not get owner of name 'org.debian.apt': no such name
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/aptdaemon/client.py", line 1594, in on_error
error.raise_exception()
File "/usr/lib/python3/dist-packages/defer/__init__.py", line 130, in raise_exception
raise self.value.with_traceback(self.traceback)
File "/usr/lib/python3/dist-packages/defer/__init__.py", line 487, in _inline_callbacks
result = gen.send(result)
File "/usr/lib/python3/dist-packages/aptdaemon/client.py", line 1623, in _run_transaction_helper
daemon = get_aptdaemon(self.bus)
File "/usr/lib/python3/dist-packages/aptdaemon/client.py", line 1709, in get_aptdaemon
return dbus.Interface(bus.get_object("org.debian.apt",
File "/usr/lib/python3/dist-packages/dbus/bus.py", line 241, in get_object
return self.ProxyObjectClass(self, bus_name, object_path,
File "/usr/lib/python3/dist-packages/dbus/proxies.py", line 250, in __init__
self._named_service = conn.activate_name_owner(bus_name)
File "/usr/lib/python3/dist-packages/dbus/bus.py", line 182, in activate_name_owner
self.start_service_by_name(bus_name)
File "/usr/lib/python3/dist-packages/dbus/bus.py", line 277, in start_service_by_name
return (True, self.call_blocking(BUS_DAEMON_NAME, BUS_DAEMON_PATH,
File "/usr/lib/python3/dist-packages/dbus/connection.py", line 652, in call_blocking
reply_message = self.send_message_with_reply_and_block(
dbus.exceptions.DBusException: org.freedesktop.DBus.Error.Spawn.ExecFailed: Failed to execute program org.debian.apt: No such file or directory
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/dbus/bus.py", line 177, in activate_name_owner
return self.get_name_owner(bus_name)
File "/usr/lib/python3/dist-packages/dbus/bus.py", line 361, in get_name_owner
return self.call_blocking(BUS_DAEMON_NAME, BUS_DAEMON_PATH,
File "/usr/lib/python3/dist-packages/dbus/connection.py", line 652, in call_blocking
reply_message = self.send_message_with_reply_and_block(
dbus.exceptions.DBusException: org.freedesktop.DBus.Error.NameHasNoOwner: Could not get owner of name 'org.debian.apt': no such name
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/defer/__init__.py", line 483, in _inline_callbacks
result = gen.throw(excep)
File "/usr/lib/python3/dist-packages/UpdateManager/backend/InstallBackendAptdaemon.py", line 148, in update
trans = yield self.client.update_cache(defer=True)
dbus.exceptions.DBusException: org.freedesktop.DBus.Error.Spawn.ExecFailed: Failed to execute program org.debian.apt: No such file or directory
Hors ligne
#79 Le 17/03/2023, à 14:58
- ylag
Re : [Résolu] Ubuntu 22.04 Ré-installation Software Updater
Re,
Est-ce que ça s'est bien passé ?
Oui, et toujours les erreurs python ; désolé pour toutes ces fausses pistes.
Je crois bien que tu gagnerais à réinstaller le système, sinon on tourne en rond.
A+
Dernière modification par ylag (Le 17/03/2023, à 14:59)
Hors ligne
#80 Le 17/03/2023, à 15:02
- jfkamel
Re : [Résolu] Ubuntu 22.04 Ré-installation Software Updater
Merci, il fallait bien essayer.
J'ai appris des choses, déjà faire les mises à jour sans passer par par update-manager
Je vais réinstaller tranquillement, surtout qu'en plus mon imprimante m'énerve un peu...
Merci à tous.
A+
Hors ligne
#81 Le 21/03/2023, à 09:25
- jfkamel
Re : [Résolu] Ubuntu 22.04 Ré-installation Software Updater
Bonjour,
J'ai ré-installé le système avec quelques péripéties et depuis tout va bien.
Merci à tous.
Hors ligne