Remove python3-apport as dependency of xserver-xorg
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
xorg (Ubuntu) |
Invalid
|
Wishlist
|
Unassigned |
Bug Description
Distro: Bionic
Binary Package: xserver-xorg
Version: 1:7.7+19ubuntu7
Hello!
The package xserver-xorg depends on python3-apport. I don't want to use apport on my systems.
Can the dependency be removed?
Also, it doesn't work anyway. That's how I noticed that the package is installed:
root@00debac04d
Traceback (most recent call last):
File "/usr/bin/foo", line 3, in <module>
raise Exception
Exception
Error in sys.excepthook:
Traceback (most recent call last):
File "/usr/lib/
os.O_WRONLY | os.O_CREAT | os.O_EXCL, 0o640), 'wb') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/var/crash/
Original exception was:
Traceback (most recent call last):
File "/usr/bin/foo", line 3, in <module>
raise Exception
Exception
Thanks
Jörn Heissler
summary: |
- don't depend on python3-apport + Remove python3-apport as dependency of xserver-xorg |
Jörn Heissler, thank you for reporting this and helping make Ubuntu better.
1) Regarding not using apport, one may disable it as per:
cat /etc/default/apport
# set this to 0 to disable apport, or to 1 to enable it
# you can temporarily override this with
# sudo service apport start force_start=1
enabled=1
2) Regarding apport not working, feel free to file a report about this against the apport package via the following terminal command and include the details of the Traceback:
ubuntu-bug apport
3) Regarding removing the dependency, it likely won't be removed as a dependency due to how apport is a vital function for Ubuntu developers to gather and process crash logs automatically. Given it may be disabled as per above, a compelling case (wider impact positives and negatives) to have apport removed as a dependency hasn't been provided.
Despite this, while this is being marked Won't Fix, the discussion may still continue. If this change is no longer of interest to you, feel free to mark the Status Invalid.