root@dixie:~# lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 18.04.6 LTS
Release: 18.04
Codename: bionic
root@dixie:~# dpkg -l | grep sos
ii sosreport 4.4-1ubuntu0.18.04.1 amd64 Set of tools to gather troubleshooting data from a system
Looking at /var/log/dist-upgrade/apt-term.log, python3 got installed and set up earlier than sos,
1704 Setting up python3.6 (3.6.9-1~18.04ubuntu1.12) ...^M
1705 Setting up libpython3-stdlib:amd64 (3.6.7-1~18.04) ...^M
1706 Setting up python3 (3.6.7-1~18.04) ...^M
1707 running python rtupdate hooks for python3.6...^M
2003 Setting up python3-pexpect (4.2.1-1) ...^M
2004 Setting up sosreport (4.4-1ubuntu0.18.04.1) ...^M
2005 Setting up xfsprogs (4.9.0+nmu1ubuntu2) ...^M
I noted "The optional X-Python3-Version field specifies the versions of Python 3 supported. ", but I am not sure if this would apply for the compilation in the postinst.
Hi Mauricio,
I could not reproduce this either,
root@dixie:~# lsb_release -a 18.04.1 amd64 Set of tools to gather troubleshooting data from a system
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 18.04.6 LTS
Release: 18.04
Codename: bionic
root@dixie:~# dpkg -l | grep sos
ii sosreport 4.4-1ubuntu0.
Looking at /var/log/ dist-upgrade/ apt-term. log, python3 got installed and set up earlier than sos,
1704 Setting up python3.6 (3.6.9- 1~18.04ubuntu1. 12) ...^M stdlib: amd64 (3.6.7-1~18.04) ...^M
1705 Setting up libpython3-
1706 Setting up python3 (3.6.7-1~18.04) ...^M
1707 running python rtupdate hooks for python3.6...^M
2003 Setting up python3-pexpect (4.2.1-1) ...^M 18.04.1) ...^M
2004 Setting up sosreport (4.4-1ubuntu0.
2005 Setting up xfsprogs (4.9.0+nmu1ubuntu2) ...^M
For bionic 4.5.6 to be able to release on bionic (https:/ /warthogs. atlassian. net/browse/ SEC-2624), we would need a solution for the more than hundred instances of formatted strings used in 4.5.6. (https:/ /pastebin. canonical. com/p/8DpdjwWKM 4/)
I noted "The optional X-Python3-Version field specifies the versions of Python 3 supported. ", but I am not sure if this would apply for the compilation in the postinst.
The Depends clause currently is,
Depends: ${python3:Depends}, ${misc:Depends}, python3-pexpect
Does adding python3 (>= 3.6.5-3) to Depends sound like a reasonable solution?