[Bug 2038648] Re: package sosreport 4.4-1ubuntu0.18.04.1 failed to install/upgrade: installed sosreport package post-installation script subprocess returned error exit status 1

2024-05-14 Thread Arif Ali
** Description changed: + [impact] + This is what I got when I tried do-release-upgrade from 16.04 to 18.04 Setting up sosreport (4.4-1ubuntu0.18.04.1) ... File "/usr/lib/python3/dist-packages/sos/report/plugins/gcp.py", line 99 f"Failed to communicate with Metadata Server "

[Bug 2038648] Re: package sosreport 4.4-1ubuntu0.18.04.1 failed to install/upgrade: installed sosreport package post-installation script subprocess returned error exit status 1

2024-04-26 Thread Arif Ali
** Changed in: sosreport (Ubuntu Bionic) Status: Incomplete => In Progress -- 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

[Bug 2038648] Re: package sosreport 4.4-1ubuntu0.18.04.1 failed to install/upgrade: installed sosreport package post-installation script subprocess returned error exit status 1

2024-04-04 Thread Mauricio Faria de Oliveira
Hi Arif, Cool. So, the python version is a coordinated decision at the upstream project level -- that looks good. Thanks for clarifying! -- 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:

[Bug 2038648] Re: package sosreport 4.4-1ubuntu0.18.04.1 failed to install/upgrade: installed sosreport package post-installation script subprocess returned error exit status 1

2024-03-26 Thread Arif Ali
Hi Mauricio, The version that sosreport currently supports is 3.6 and there are plans to potentially move on from 3.6 for the next major release of sosreport. My current idea and plan was, when upstream make that change we would then update the X-Python3-Version based on the upstream python

[Bug 2038648] Re: package sosreport 4.4-1ubuntu0.18.04.1 failed to install/upgrade: installed sosreport package post-installation script subprocess returned error exit status 1

2024-03-26 Thread Mauricio Faria de Oliveira
Hi Arif, That's good news, thanks! Yes, but I see the debdiffs for all releases have `X-Python3-Version: >= 3.6`. Could you please confirm that has been verified with `py3compile`, so as to make sure this bug is not hit again in newer releases? (And to be honest, I'm afraid that if it's set

[Bug 2038648] Re: package sosreport 4.4-1ubuntu0.18.04.1 failed to install/upgrade: installed sosreport package post-installation script subprocess returned error exit status 1

2024-03-26 Thread Arif Ali
> 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 > $

[Bug 2038648] Re: package sosreport 4.4-1ubuntu0.18.04.1 failed to install/upgrade: installed sosreport package post-installation script subprocess returned error exit status 1

2024-03-25 Thread Mauricio Faria de Oliveira
> Installed a xenial machine, changed /etc/apt/sources.[l]ist to point to > bionic, and then just install sosreport. This reports the same problem > as reported by OP. Clarifying, that is the same symptom; the problem is on do-release-upgrade (per description), but this could not be reproducible

[Bug 2038648] Re: package sosreport 4.4-1ubuntu0.18.04.1 failed to install/upgrade: installed sosreport package post-installation script subprocess returned error exit status 1

2024-03-25 Thread Mauricio Faria de Oliveira
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

[Bug 2038648] Re: package sosreport 4.4-1ubuntu0.18.04.1 failed to install/upgrade: installed sosreport package post-installation script subprocess returned error exit status 1

2024-03-25 Thread Mauricio Faria de Oliveira
** Patch added: "diff_apt-term_log.diff" https://bugs.launchpad.net/ubuntu/+source/sosreport/+bug/2038648/+attachment/5759306/+files/diff_apt-term_log.diff -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu.

[Bug 2038648] Re: package sosreport 4.4-1ubuntu0.18.04.1 failed to install/upgrade: installed sosreport package post-installation script subprocess returned error exit status 1

2024-03-21 Thread Arif Ali
So, did the tests again to get more data Below is the diff between the 2 apt-term.log, which shows the ordering of installation of the packages. The main differences are dates, the version of sosreport being installed and loads of data around "Reading database"

[Bug 2038648] Re: package sosreport 4.4-1ubuntu0.18.04.1 failed to install/upgrade: installed sosreport package post-installation script subprocess returned error exit status 1

2024-03-21 Thread Mauricio Faria de Oliveira
Hi Arif, Thanks for the debdiff! AFAICT, comment #25 (ref to #3) is not yet addressed, could you please check/confirm? ** Changed in: sosreport (Ubuntu Bionic) Status: In Progress => Incomplete -- You received this bug notification because you are a member of Ubuntu Bugs, which is

[Bug 2038648] Re: package sosreport 4.4-1ubuntu0.18.04.1 failed to install/upgrade: installed sosreport package post-installation script subprocess returned error exit status 1

2024-03-20 Thread Arif Ali
The 4.4 minimal change debdiff attached. tested this in lab, and works as expected ** Patch added: "bionic-4_4-sosreport.debdiff" https://bugs.launchpad.net/ubuntu/+source/sosreport/+bug/2038648/+attachment/5757522/+files/bionic-4_4-sosreport.debdiff ** Tags added: sts-sru-needed -- You

[Bug 2038648] Re: package sosreport 4.4-1ubuntu0.18.04.1 failed to install/upgrade: installed sosreport package post-installation script subprocess returned error exit status 1

2024-03-15 Thread Mauricio Faria de Oliveira
By the way, if at all possible, could you please test the changes on top of sosreport 4.4 in Bionic (for a minimal change, instead of 4.7) so that we can SRU it to the Ubuntu Archive, to address non-Pro/ESM users? (Bionic in Ubuntu Pro/ESM can have the newer version). -- You received this bug

[Bug 2038648] Re: package sosreport 4.4-1ubuntu0.18.04.1 failed to install/upgrade: installed sosreport package post-installation script subprocess returned error exit status 1

2024-03-15 Thread Mauricio Faria de Oliveira
Hi Arif, Cool, thanks for the tests and logs! Did you also have a chance to compare apt history.log (or another log for this purpose), as we discussed, to be able to address/consider the point from Robie in comment #3? Thanks again, -- You received this bug notification because you are a

[Bug 2038648] Re: package sosreport 4.4-1ubuntu0.18.04.1 failed to install/upgrade: installed sosreport package post-installation script subprocess returned error exit status 1

2024-03-14 Thread Arif Ali
** Attachment added: "apt-term.log" https://bugs.launchpad.net/ubuntu/+source/sosreport/+bug/2038648/+attachment/5756026/+files/apt-term.log -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/2038648

[Bug 2038648] Re: package sosreport 4.4-1ubuntu0.18.04.1 failed to install/upgrade: installed sosreport package post-installation script subprocess returned error exit status 1

2024-03-14 Thread Arif Ali
** Attachment added: "apt.log" https://bugs.launchpad.net/ubuntu/+source/sosreport/+bug/2038648/+attachment/5756025/+files/apt.log -- 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:

[Bug 2038648] Re: package sosreport 4.4-1ubuntu0.18.04.1 failed to install/upgrade: installed sosreport package post-installation script subprocess returned error exit status 1

2024-03-14 Thread Arif Ali
Excerpts from the logs with the upgrade using the PPA apt.log 100 MarkInstall python3 [ amd64 ] < 3.5.1-3 -> 3.6.7-1~18.04 > ( python ) FU=0 101 Installing python3.6 as Depends of python3 102 MarkInstall python3.6 [ amd64 ] < none -> 3.6.9-1~18.04ubuntu1.12 > ( python ) FU=0 103

[Bug 2038648] Re: package sosreport 4.4-1ubuntu0.18.04.1 failed to install/upgrade: installed sosreport package post-installation script subprocess returned error exit status 1

2024-03-14 Thread Arif Ali
** Attachment added: "main.log" https://bugs.launchpad.net/ubuntu/+source/sosreport/+bug/2038648/+attachment/5756028/+files/main.log -- 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:

[Bug 2038648] Re: package sosreport 4.4-1ubuntu0.18.04.1 failed to install/upgrade: installed sosreport package post-installation script subprocess returned error exit status 1

2024-03-14 Thread Arif Ali
** Attachment added: "history.log" https://bugs.launchpad.net/ubuntu/+source/sosreport/+bug/2038648/+attachment/5756027/+files/history.log -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/2038648

[Bug 2038648] Re: package sosreport 4.4-1ubuntu0.18.04.1 failed to install/upgrade: installed sosreport package post-installation script subprocess returned error exit status 1

2024-03-14 Thread Arif Ali
ack, no worries. As per our discussions yesterday, I've run 2 different dist-upgrades, and did d dpkg -l in both scenarios. One with my amended PPA [1] with X-Python3-Version: >= 3.6 and one that is default from the bionic repos, and the only difference was the package available in the PPA, as

[Bug 2038648] Re: package sosreport 4.4-1ubuntu0.18.04.1 failed to install/upgrade: installed sosreport package post-installation script subprocess returned error exit status 1

2024-03-14 Thread Mauricio Faria de Oliveira
Hi Arif, I'll revert the status in 'sosreport (Ubuntu) / Bionic' to In Progress from Fix Committed, as this means available in bionic-proposed in the 'Ubuntu' project. The PR you mentioned being committed in sosreport upstream refers to another project in Launchpad terms; you may find

[Bug 2038648] Re: package sosreport 4.4-1ubuntu0.18.04.1 failed to install/upgrade: installed sosreport package post-installation script subprocess returned error exit status 1

2024-03-13 Thread Arif Ali
As we have not been able to reproduce the problem, but still conscious of the issue. We have implemented an update with the debian control file for the next SRU where we depend on python 3.6. By default, based on testing the dependency was for python 3.3, and as xenial already had this, we could