Verified on Ubuntu 19.10
on 19.10 python3-apt is built for pyton3.7, the system python for 19.10
so i tested against python3.8 from universe.
bart@DH170:~$ apt-cache policy python3-apport
python3-apport:
Geïnstalleerd: 2.20.11-0ubuntu8.9
Kandidaat: 2.20.11-0ubuntu8.9
Versietabel:
*** 2.20.11-0ubuntu8.9 400
400 http://nl.archive.ubuntu.com/ubuntu eoan-proposed/main amd64
Packages
400 http://nl.archive.ubuntu.com/ubuntu eoan-proposed/main i386 Packages
100 /var/lib/dpkg/status
2.20.11-0ubuntu8.8 500
500 http://nl.archive.ubuntu.com/ubuntu eoan-updates/main amd64 Packages
500 http://nl.archive.ubuntu.com/ubuntu eoan-updates/main i386 Packages
500 http://nl.archive.ubuntu.com/ubuntu eoan-security/main amd64
Packages
500 http://nl.archive.ubuntu.com/ubuntu eoan-security/main i386 Packages
2.20.11-0ubuntu8 500
500 http://nl.archive.ubuntu.com/ubuntu eoan/main amd64 Packages
500 http://nl.archive.ubuntu.com/ubuntu eoan/main i386 Packages
bart@DH170:~$ python3.7 -c 'import apt_pkg'
bart@DH170:~$ python3.8 -c 'import apt_pkg'
Traceback (most recent call last):
File "<string>", line 1, in <module>
ModuleNotFoundError: No module named 'apt_pkg'
bart@DH170:~$ python3.8 -c 'print hello'
File "<string>", line 1
print hello
^
SyntaxError: Missing parentheses in call to 'print'. Did you mean print(hello)?
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1774843
Title:
apport python exception for python versions which python-apt is not
built on
To manage notifications about this bug go to:
https://bugs.launchpad.net/apport/+bug/1774843/+subscriptions
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs