[Bug 1773087] Re: Remove python3-apport as dependency of xserver-xorg
sordna, regarding your specific problem, please file a bug against apport via a terminal: ubuntu-bug apport In this new report, please copy/paste the reproduction steps, and result as per terminal command. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1773087 Title: Remove python3-apport as dependency of xserver-xorg To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/xorg/+bug/1773087/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1773087] Re: Remove python3-apport as dependency of xserver-xorg
Interactive use of python shouldn't invoke apport! On my 19.04 system typing "foo" on the python3 interpreter ends up in this huge ugly mess for no reason: $ python3 Python 3.7.3 (default, Oct 7 2019, 12:56:13) [GCC 8.3.0] on linux Type "help", "copyright", "credits" or "license" for more information. >>> foo Traceback (most recent call last): File "", line 1, in NameError: name 'foo' is not defined Error in sys.excepthook: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/apport_python_hook.py", line 63, in apport_excepthook from apport.fileutils import likely_packaged, get_recent_crashes File "/usr/lib/python3/dist-packages/apport/__init__.py", line 5, in from apport.report import Report File "/usr/lib/python3/dist-packages/apport/report.py", line 21, in from urllib.request import urlopen File "/usr/lib/python3.7/urllib/request.py", line 88, in import http.client File "/usr/lib/python3.7/http/client.py", line 72, in import email.message File "/usr/lib/python3.7/email/message.py", line 10, in import uu File "/var/home/alx/uu.py", line 4, in uinput.KEY_L, uinput.KEY_O]) as device: File "/usr/lib/python3/dist-packages/uinput/__init__.py", line 178, in __init__ self.__uinput_fd = fd or fdopen() File "/usr/lib/python3/dist-packages/uinput/__init__.py", line 84, in fdopen return _libsuinput.suinput_open() File "/usr/lib/python3/dist-packages/uinput/__init__.py", line 70, in _open_error_handler raise OSError(code, msg) PermissionError: [Errno 13] Failed to open the uinput device: Permission denied Original exception was: Traceback (most recent call last): File "", line 1, in NameError: name 'foo' is not defined >>> -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1773087 Title: Remove python3-apport as dependency of xserver-xorg To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/xorg/+bug/1773087/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1773087] Re: Remove python3-apport as dependency of xserver-xorg
xserver-xorg now has an apport hook. So in order of ubuntu-bug to work, it is necessary to have python3-apport installed, per LP: #1730035. Definitely not a bug. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1773087 Title: Remove python3-apport as dependency of xserver-xorg To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/xorg/+bug/1773087/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1773087] Re: Remove python3-apport as dependency of xserver-xorg
Caused by #1730035 -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1773087 Title: Remove python3-apport as dependency of xserver-xorg To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/xorg/+bug/1773087/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1773087] Re: Remove python3-apport as dependency of xserver-xorg
Jörn Heissler, as mentioned previously, apport (which python3-apport is a dependent of) is used to capture and process program crashes (e.g. xorg and related packages). For more on apport, please see: https://wiki.ubuntu.com/Apport apt-rdepends apport Reading package lists... Done Building dependency tree Reading state information... Done apport Depends: gir1.2-glib-2.0 (>= 1.29.17) Depends: lsb-base (>= 3.0-6) Depends: python3 Depends: python3-apport (>= 2.20.9-0ubuntu7) Depends: python3-gi gir1.2-glib-2.0 Depends: libgirepository-1.0-1 (>= 1.45.4) Depends: libglib2.0-0 (>= 2.56.1) libgirepository-1.0-1 Depends: libc6 (>= 2.14) Depends: libffi6 (>= 3.0.4) Depends: libglib2.0-0 (>= 2.56.1) libc6 Depends: libgcc1 libgcc1 Depends: gcc-8-base (= 8-20180414-1ubuntu2) Depends: libc6 (>= 2.14) gcc-8-base libffi6 Depends: libc6 (>= 2.14) libglib2.0-0 Depends: libc6 (>= 2.17) Depends: libffi6 (>= 3.0.4) Depends: libmount1 (>= 2.19.1) Depends: libpcre3 Depends: libselinux1 (>= 1.32) Depends: zlib1g (>= 1:1.2.2) libmount1 Depends: libblkid1 (>= 2.17.2) Depends: libc6 (>= 2.25) Depends: libselinux1 (>= 2.6-3~) libblkid1 Depends: libc6 (>= 2.25) Depends: libuuid1 (>= 2.16) libuuid1 Depends: libc6 (>= 2.25) libselinux1 Depends: libc6 (>= 2.14) Depends: libpcre3 libpcre3 Depends: libc6 (>= 2.14) zlib1g Depends: libc6 (>= 2.14) lsb-base python3 Depends: libpython3-stdlib (= 3.6.5-3) Depends: python3.6 (>= 3.6.5-2~) PreDepends: python3-minimal (= 3.6.5-3) libpython3-stdlib Depends: libpython3.6-stdlib (>= 3.6.5-2~) libpython3.6-stdlib Depends: libbz2-1.0 Depends: libc6 (>= 2.15) Depends: libdb5.3 Depends: libffi6 (>= 3.0.4) Depends: liblzma5 (>= 5.1.1alpha+20120614) Depends: libmpdec2 Depends: libncursesw5 (>= 6) Depends: libpython3.6-minimal (= 3.6.5-3) Depends: libreadline7 (>= 7.0~beta) Depends: libsqlite3-0 (>= 3.5.9) Depends: libtinfo5 (>= 6) Depends: mime-support libbz2-1.0 Depends: libc6 (>= 2.4) libdb5.3 Depends: libc6 (>= 2.17) liblzma5 Depends: libc6 (>= 2.17) libmpdec2 Depends: libc6 (>= 2.14) libncursesw5 Depends: libc6 (>= 2.14) Depends: libtinfo5 (= 6.1-1ubuntu1) libtinfo5 Depends: libc6 (>= 2.16) libpython3.6-minimal Depends: libc6 (>= 2.14) Depends: libssl1.1 (>= 1.1.0) libssl1.1 Depends: debconf (>= 0.5) Depends: debconf-2.0 Depends: libc6 (>= 2.14) debconf PreDepends: perl-base (>= 5.20.1-3~) perl-base PreDepends: dpkg (>= 1.17.17) PreDepends: libc6 (>= 2.23) dpkg Depends: tar (>= 1.28-1) PreDepends: libbz2-1.0 PreDepends: libc6 (>= 2.14) PreDepends: liblzma5 (>= 5.2.2) PreDepends: libselinux1 (>= 2.3) PreDepends: libzstd1 (>= 1.3.2) PreDepends: zlib1g (>= 1:1.1.4) tar PreDepends: libacl1 (>= 2.2.51-8) PreDepends: libc6 (>= 2.17) PreDepends: libselinux1 (>= 1.32) libacl1 Depends: libattr1 (>= 1:2.4.46-8) Depends: libc6 (>= 2.14) libattr1 Depends: libc6 (>= 2.4) libzstd1 Depends: libc6 (>= 2.14) debconf-2.0 libreadline7 Depends: libc6 (>= 2.15) Depends: libtinfo5 (>= 6) Depends: readline-common readline-common Depends: dpkg (>= 1.15.4) Depends: install-info install-info Depends: libc6 (>= 2.14) PreDepends: dpkg (>= 1.16.1) libsqlite3-0 Depends: libc6 (>= 2.14) mime-support python3.6 Depends: libpython3.6-stdlib (= 3.6.5-3) Depends: mime-support Depends: python3.6-minimal (= 3.6.5-3) python3.6-minimal Depends: libexpat1 (>= 2.1~beta3) Depends: libpython3.6-minimal (= 3.6.5-3) Depends: zlib1g (>= 1:1.2.0) PreDepends: libc6 (>= 2.25) libexpat1 Depends: libc6 (>= 2.25) python3-minimal Depends: dpkg (>= 1.13.20) Depends: python3.6-minimal (>= 3.6.5-2~) python3-apport Depends: lsb-release Depends: python3-apt (>= 0.7.9) Depends: python3-httplib2 Depends: python3-problem-report (>= 0.94) Depends: python3-requests-unixsocket Depends: python3:any (>= 3.3.2-2~) lsb-release Depends: distro-info-data Depends: python3:any (>= 3.4~) distro-info-data python3:any python3-apt Depends: libapt-inst2.0 (>= 1.4~beta3) Depends: libapt-pkg5.0 (>= 1.4~beta3) Depends: libc6 (>= 2.14) Depends: libgcc1 (>= 1:3.0) Depends: libstdc++6 (>= 5.2) Depends: python-apt-common Depends: python3 (>= 3.6~) Depends: python3:any (>= 3.3.2-2~) libapt-inst2.0 Depends: libapt-pkg5.0 (>= 1.1~exp9) Depends: libc6 (>= 2.14) Depends: libgcc1 (>= 1:3.0) Depends: libstdc++6 (>= 5.2) libapt-pkg5.0 Depends: libbz2-1.0 Depends: libc6 (>= 2.27) Depends: libgcc1 (>= 1:3.0) Depends: liblz4-1 (>= 0.0~r127) Depends: liblzma5 (>= 5.1.1alpha+20120614) Depends: libstdc++6 (>= 5.2) Depends: libudev1 (>= 183) Depends: libzstd1 (>= 1.3.2) Depends: zlib1g (>= 1:1.2.2.3) liblz4-1 Depends: libc6 (>= 2.14) libstdc++6 Depends: gcc-8-base (= 8-20180414-1ubuntu2) Depends: libc6 (>= 2.18) Depends: libgcc1 (>= 1:4.2) libudev1 Depends: libc6 (>= 2.25) python-apt-common python3-httplib2 Depends: ca-certificates
[Bug 1773087] Re: Remove python3-apport as dependency of xserver-xorg
It's perfectly fine if apport and python3-apport are installed by default. But I don't see how xserver-xorg actually depends on python3-apport. To quote from the Ubuntu Policy Manual: """ The Depends field should be used if the depended-on package is required for the depending package to provide a significant amount of functionality. The Depends field should also be used if the postinst, prerm or postrm scripts require the package to be present in order to run. Note, however, that the postrm cannot rely on any non-essential packages to be present during the purge phase. """ Can you please clarify how this applies? -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1773087 Title: Remove python3-apport as dependency of xserver-xorg To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/xorg/+bug/1773087/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1773087] Re: Remove python3-apport as dependency of xserver-xorg
** Summary changed: - don't depend on python3-apport + Remove python3-apport as dependency of xserver-xorg -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1773087 Title: Remove python3-apport as dependency of xserver-xorg To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/xorg/+bug/1773087/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs