[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 "
   ^
  SyntaxError: invalid syntax
  
  dpkg: error processing package sosreport (--configure):
   installed sosreport package post-installation script subprocess returned 
error exit status 1
  Errors were encountered while processing:
   sosreport
  ERROR: Cannot create report: [Errno 17] File exists: 
'/var/crash/sosreport.0.crash'
- Exception during pm.DoInstall():  E:Sub-process /usr/bin/dpkg returned an 
error code (1)
+ Exception during pm.DoInstall(): E:Sub-process /usr/bin/dpkg returned an 
error code (1)
  
  ProblemType: Package
  DistroRelease: Ubuntu 16.04
  Package: sosreport 4.4-1ubuntu0.18.04.1
  ProcVersionSignature: Ubuntu 4.15.0-213.224-generic 4.15.18
  Uname: Linux 4.15.0-213-generic x86_64
  ApportVersion: 2.20.9-0ubuntu7.29
  AptOrdering: NULL: ConfigurePending
  Architecture: amd64
- Date: Fri Oct  6 11:34:34 2023
+ Date: Fri Oct 6 11:34:34 2023
  Ec2AMI: ami-1e749f67
  Ec2AMIManifest: (unknown)
  Ec2AvailabilityZone: eu-west-1a
  Ec2InstanceType: m3.xlarge
  Ec2Kernel: unavailable
  Ec2Ramdisk: unavailable
  ErrorMessage: installed sosreport package post-installation script subprocess 
returned error exit status 1
  Python3Details: /usr/bin/python3.5, Python 3.5.2, python3-minimal, 3.5.1-3
  PythonDetails: /usr/bin/python2.7, Python 2.7.17, python-minimal, 2.7.15~rc1-1
  RelatedPackageVersions:
   dpkg 1.19.0.5ubuntu2.4
-  apt  1.6.17
+  apt 1.6.17
  SourcePackage: sosreport
  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
  UpgradeStatus: Upgraded to xenial on 2023-10-06 (0 days ago)
+ 
+ [ Test Plan ]
+ 
+ The bug is not easily reproducible, and has been tested by many people within
+ the team.
+ 
+ One process that has been a form of testing it so add the bionic repo to a
+ xenial machine, and try upgrading sosreport. When this is done we see the 
above
+ error. This is the only test scenario we have that are able to test.
+ 
+ Then we can enabled -proposed pocket or the PPA with the change, and do the 
same
+ upgrade, and we should not face the same problem.
+ 
+ [ Where problems could occur ]
+ 
+ * The package may not install
+ * The package may not have the right dependencies
+ * There could be other factors in play that the above that we may not have 
seen entirely
+ 
+ [ Other Info ]
+ 
+ The proposed fix adds "X-Python3-Version: >= 3.6" to the control file, and 
this
+ is based on the upstream dependency, and that 3.6 and above are supported. 
This
+ would be reflected in all packages for consistency. As per the discussion in
+ this bug the upstream project is due to move to Python 3.8 later in the year 
for
+ releases greater than 4.8.0. This line would follow suite in a future SRU when
+ we do a release from upstream SRU.

-- 
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

[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 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

[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:
  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

[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 compatibility.

So, when 4.8.0 comes out in August, we plan to update that value to 3.8, as th
upstream project is planning to move on. This will ensure that the compatibility
of this future package will ensure that we have the right version of python, and
we are unlikely to be SRU'ing back to bionic, but will ensure that any future
upgrades, i.e. bionic to focal would work as the new package will depend on the
newer python version when we get there and hence we will not see this particular
issue.

I hope that makes sense.

-- 
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

[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 like a hard-coded value, this
bug may just be hit again in the future, when just meeting that version dep
is not going to be enough again -- so something dynamic would be preferred.)

I had in mind something like comment #31, to ensure python3 from the newer
release (upgraded to) is installed before sosreport on release upgrade, so
it does not `py3compile` with python from the older release (upgraded from).

But, as mentioned, if the strictly right version is python 3.6, and you want
to keep that, it is fine. *However*, we have to cover this issue in testing
for sosreport SRUs (i.e., whether the new package can install fine/py3compile
with the python version from the previous/upgraded-from stable release _and_
previous LTS release).

Please let us know which route is preferred by sosreport in Ubuntu.

Thanks!

-- 
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

[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
>  $

The noble, mantic, jammy and focal builds will have the
X-Python3-version sorted in the 4.7.0 SRU which is currently in progress
in LP #2054395. Once that is done, all packages will have this there. I
hope that suffices

-- 
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

[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 by any means by many
of us in this bug (as you are aware and helping with).

Upgrading a release (or individual packages across releases) like that is
not supported, as do-release-upgrade does a bunch of work for the upgrade
(including changing apt sources list at the right time), but it looks like
the best reproducer, and apparently related to what the bug reporter might
have done (thanks!), but we could never get a confirmation or more info.

So, that will definitely be helpful to verify the SRU in -proposed.

Thanks again!

-- 
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

[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 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 
+
+++ xenial02_logs/log/dist-upgrade/apt-term.log 2024-03-21 14:16:58.374173593 
+
-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

[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.
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

[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"

https://paste.ubuntu.com/p/8wZ5bsXcbh/

history.log was not worth looking at, as it was only 25 lines

On another note, I was looking for a corner case where I could re-
produce the problem.

Installed a xenial machine, changed /etc/apt/sources.ist to point to
bionic, and then just install sosreport. This reports the same problem
as reported by OP.

Now, adding my test PPA with the "X-Python3-version: >= 3.6" doesn't see
this problem, and installs python3.6 from the bionic repos.

So, on that basis, I think this should work as expected.

Hopefully that suffices the tests, and let me know if you need anything
further

-- 
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

[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 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

[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 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

[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 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

[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 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

[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

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

[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:
  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

[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 Installing python3.6-minimal as Depends of python3.6
104   MarkInstall python3.6-minimal [ amd64 ] < none -> 
3.6.9-1~18.04ubuntu1.12 > ( python ) FU=0
105   Installing libpython3.6-minimal as Depends of python3.6-minimal
106 MarkInstall libpython3.6-minimal [ amd64 ] < none -> 
3.6.9-1~18.04ubuntu1.12 > ( python ) FU=0
107 Installing libpython3.6-stdlib as Recommends of libpython3.6-minimal
108   MarkInstall libpython3.6-stdlib [ amd64 ] < none -> 
3.6.9-1~18.04ubuntu1.12 > ( python ) FU=0

548   MarkInstall sosreport [ amd64 ] < 3.9.1-1ubuntu0.16.04.3 -> 
4.7.0-0ubuntu1~18.04.7 > ( admin ) FU=0
549   Installing python3-pexpect as Depends of sosreport
550 MarkInstall python3-pexpect [ amd64 ] < none -> 4.2.1-1 > ( python ) 
FU=0
551 Installing python3-ptyprocess as Depends of python3-pexpect
552   MarkInstall python3-ptyprocess [ amd64 ] < none -> 0.5.2-1 > ( python 
) FU=0

apt-term.log
1719 Setting up python3 (3.6.7-1~18.04) ...^M
2019 Setting up sosreport (4.7.0-0ubuntu1~18.04.7) ...^M

-- 
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

[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:
  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

[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

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

[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 shown
below

--- xenial01-post-upgrade_comma.txt 2024-03-14 15:14:51.421651041 +
+++ xenial02-post-upgrade_comma.txt 2024-03-14 15:14:58.693678265 +
@@ -502,7 +502,7 @@
 ii,shared-mime-info,1.9-2
 ii,snapd,2.58+18.04.1
 ii,software-properties-common,0.96.24.32.22
-ii,sosreport,4.7.0-0ubuntu1~18.04.7
+ii,sosreport,4.4-1ubuntu0.18.04.1
 ii,squashfs-tools,1:4.3-6ubuntu0.18.04.4
 ii,ssh-import-id,5.7-0ubuntu1.1
 ii,strace,4.21-1ubuntu1

I hope that this helps and avoids any concerns on the extra package
dependancies.

[1] https://launchpad.net/~arif-ali/+archive/ubuntu/sosreport-dev

-- 
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

[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 'sosreport'
in 'Also affects project' to better reflect that if needed! :)

cheers,


** Changed in: sosreport (Ubuntu Bionic)
   Status: Fix Committed => 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 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

[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 have gone into a situation where the python3 was then not
upgraded for sosreport to be functional.

Ref: https://github.com/sosreport/sos/pull/3567

** Changed in: sosreport (Ubuntu Bionic)
   Status: Triaged => Fix Committed

** Changed in: sosreport (Ubuntu Bionic)
 Assignee: (unassigned) => Arif Ali (arif-ali)

-- 
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