Remove traceback from error messages on the console
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Aptdaemon |
Triaged
|
Low
|
Unassigned |
Bug Description
If I ssh into a computer and uses aptdcon to install a package, aptdaemon fails with
olof@ichiban:~$ aptdcon --install meld
Traceback (most recent call last):
File "/usr/lib/
self.result = callback(
File "/usr/lib/
error_
File "/usr/lib/
lambda err: error_handler(
File "/usr/lib/
sys.exit(msg)
SystemExit: ERROR: You are not allowed to perform this action.
('system-bus-name', {'name': ':1.60'}): org.debian.
If this is a problem in aptdaemon, then it is a bug, and if this is because policykit isn't designed to work over remote connections, then this is a feature request that I would like to have a better error message
There isn't any PolicyKit console client. So you need to run aptdcon using sudo over ssh. But indeed the message could be improved.