Hi Arif,

Thank you very much!

I'm attaching the pastebin contents for archival purposes (pastebins may
disappear).

I can confirm there are no changes on the install order of python or other 
packages.
(filtered diff [1])

AFAICT, previous concerns were addressed (ordering of package upgrades due to 
python
versioned dependency, in comment #3), so it looks good, and this is a proper 
fix vs.
the workaround in comment #10, as the python language features in the package 
should
be reflected in the dependencies.

So, let's proceed with the SRU!

One of the requirements is the newer releases (supported & devel) are fixed.
Can you please provide the debdiffs for them, for us to proceed?

  $ for release in noble mantic jammy focal bionic; do git show 
pkg/ubuntu/${release}-devel:debian/control | grep 'X-Python-Version:'; done
  $

I think that the strictly minimal Python version (ie, based on language 
features)
is not necessarily what has to be figured out and included, but just the lowest
Python version supported per release (e.g., `py3versions --min-supported`),
so as to ensure that it (or a later version) is always installed on that release
or on upgrade to it when sosreport is installed.
(And of course, if a language feature of a Python version newer than the lowest
supported is needed, than that should be used instead. :)

Thanks again for all the work and help on fixing this issue!


[1] 

$ grep '^[+-]' /tmp/diff_apt-term_log.diff | grep -v 'Reading database'
--- xenial01_logs/log/dist-upgrade/apt-term.log 2024-03-21 14:16:41.306113621 
+0000
+++ xenial02_logs/log/dist-upgrade/apt-term.log 2024-03-21 14:16:58.374173593 
+0000
-Log started: 2024-03-21  12:48:08
-Log ended: 2024-03-21  12:48:11
+Log started: 2024-03-21  13:31:32
+Log ended: 2024-03-21  13:31:34
-Log started: 2024-03-21  12:48:16
+Log started: 2024-03-21  13:31:37
-Log ended: 2024-03-21  12:48:27
+Log ended: 2024-03-21  13:31:44
-Log started: 2024-03-21  12:49:44
+Log started: 2024-03-21  13:32:29
-Preparing to unpack .../sosreport_4.4-1ubuntu0.18.04.1_amd64.deb ...
-Unpacking sosreport (4.4-1ubuntu0.18.04.1) over (3.9.1-1ubuntu0.16.04.2) ...
+Preparing to unpack .../sosreport_4.4-1ubuntu0.18.04.2_amd64.deb ...
+Unpacking sosreport (4.4-1ubuntu0.18.04.2) over (3.9.1-1ubuntu0.16.04.3) ...
-File descriptor 3 (pipe:[100507]) leaked on lvs invocation. Parent PID 9320: 
/bin/sh
+File descriptor 3 (pipe:[104562]) leaked on lvs invocation. Parent PID 9969: 
/bin/sh
-Setting up sosreport (4.4-1ubuntu0.18.04.1) ...
+Setting up sosreport (4.4-1ubuntu0.18.04.2) ...
-Replacing config file /etc/ssh/sshd_config with new version
+Replacing config file /etc/ssh/sshd_config with new version
-Local time is now:      Thu Mar 21 13:03:00 UTC 2024.
-Universal Time is now:  Thu Mar 21 13:03:00 UTC 2024.
+Local time is now:      Thu Mar 21 13:43:40 UTC 2024.
+Universal Time is now:  Thu Mar 21 13:43:40 UTC 2024.
-Log ended: 2024-03-21  13:06:10
+Log ended: 2024-03-21  13:45:49
-Log started: 2024-03-21  13:09:03
+Log started: 2024-03-21  14:07:58
-Log ended: 2024-03-21  13:09:27
+Log ended: 2024-03-21  14:08:14

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/2038648

Title:
  package sosreport 4.4-1ubuntu0.18.04.1 failed to install/upgrade:
  installed sosreport package post-installation script subprocess
  returned error exit status 1

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/sosreport/+bug/2038648/+subscriptions


-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to