Devuan bug report logs - #528
python3-reportbug: fails to install due to syntax error

Packages: 7.8.0+devuan1, severity:, grave, python3-reportbug, version:; Maintainer for 7.8.0+devuan1 is (unknown); Maintainer for severity: is (unknown); Maintainer for grave is (unknown); Maintainer for python3-reportbug is Mark Hindley <mark@hindley.org.uk>; Source for python3-reportbug is src:reportbug. Maintainer for version: is (unknown);

Reported by: "Gerard H. Pille" <ghpille@hotmail.com>

Date: Fri, 4 Dec 2020 23:18:02 UTC

Severity: normal

Tags: invalid, moreinfo

Done: Mark Hindley <mark@hindley.org.uk>

Full log


🔗 View this message in rfc822 format

MIME-Version: 1.0
X-Mailer: MIME-tools 5.509 (Entity 5.509)
X-Loop: owner@bugs.devuan.org
From: owner@bugs.devuan.org (Devuan Bug Tracking System)
Subject: Bug#528 closed by Mark Hindley <mark@hindley.org.uk> (Re:
 bug#528: python3-reportbug: fails to install due to syntax error)
Message-ID: <handler.528.b528.160720020210026.notifdone@bugs.devuan.org>
References: <X8vs6HuS97/VwmVM@hindley.org.uk>
X-Devuan-PR-Keywords: invalid moreinfo
X-Devuan-PR-Message: they-closed 528
X-Devuan-PR-Package: python3-reportbug version: 7.8.0+devuan1 severity: grave
Date: Sat, 05 Dec 2020 20:33:06 +0000
Content-Type: multipart/mixed; boundary="----------=_1607200386-10093-0"
[Message part 1 (text/plain, inline)]
This is an automatic notification regarding your bug report
which was filed against the python3-reportbug version: 7.8.0+devuan1 severity: grave package:

#528: python3-reportbug: fails to install due to syntax error

It has been closed by Mark Hindley <mark@hindley.org.uk>.

Their explanation is attached below along with your original report.
If this explanation is unsatisfactory and you have not received a
better one in a separate message then please contact Mark Hindley <mark@hindley.org.uk> by
replying to this email.


-- 
528: https://bugs.devuan.org/cgi/bugreport.cgi?bug=528
Devuan Bug Tracking System
Contact owner@bugs.devuan.org with problems
[Message part 2 (message/rfc822, inline)]
From: Mark Hindley <mark@hindley.org.uk>
To: "Gerard H. Pille" <ghpille@hotmail.com>
Cc: 528@bugs.devuan.org
Subject: Re: bug#528: python3-reportbug: fails to install due to syntax error
Date: Sat, 5 Dec 2020 20:26:16 +0000
Control: tags -1 invalid
Control: close -1

On Sat, Dec 05, 2020 at 08:05:34PM +0100, Gerard H. Pille wrote:
> # dpkg -S $(which python)
> python-minimal: /usr/bin/python
> 
> # python3 -V
> Python 3.8.6
> 
> # python2 -V
> Python 2.7.18
> 
> # python -V
> Python 2.7.18
> 
> 

> Currently, an "apt-get reinstall python3-reportbug" succeeds.

Good!

> So, somewhere in the upgrade from ascii to chimaera, python3-reportbug was
> installed while python2 was still used.  Caused by skipping Beowulf?

Ah, yes. That is definitely *not* supported. You are not supposed to miss out a
release[1] for exactly this sort of reason. Python versions and packaging are
quite fragile and you can end up with mismatches. For example, python-minimal
doesn't exist in chimaera at all.

I can't reproduce your behaviour on a correctly installed ceres or chimaera
system, so I am going to tag it invalid an close.

Please feel free to reopen if you really think there is a reportbug issue.

Thanks

Mark

[1]  https://unix.stackexchange.com/questions/542459/upgrade-debian-jessie-8-to-buster-10-possible-or-need-to-go-sequential-in-ve

[Message part 3 (message/rfc822, inline)]
From: "Gerard H. Pille" <ghpille@hotmail.com>
To: Devuan Bug Tracking System <submit@bugs.devuan.org>
Subject: python3-reportbug: fails to install due to syntax error
Date: Sat, 5 Dec 2020 00:03:34 +0100
Package: python3-reportbug Version: 7.8.0+devuan1 Severity: grave
Justification: renders package unusable

Dear Maintainer,

*** Reporter, please consider answering these questions, where
appropriate ***

   * What led up to the situation?
upgrade from ascii to chimaera (not dist-upgrade)
   * What exactly did you do (or not do) that was effective (or
     ineffective)?
   * What was the outcome of this action?
this package failed to upgrade
# dpkg -i python3-reportbug_7.8.0+devuan1_all.deb
(Reading database ... 119108 files and directories currently installed.)
Preparing to unpack python3-reportbug_7.8.0+devuan1_all.deb ...
Unpacking python3-reportbug (7.8.0+devuan1) over (7.8.0+devuan1) ...
Setting up python3-reportbug (7.8.0+devuan1) ...
  File "/usr/lib/python3/dist-packages/reportbug/utils.py", line 1214
    init += f', PID 1: {pf.read().strip()}'
                                          ^
SyntaxError: invalid syntax

dpkg: error processing package python3-reportbug (--install):
 subprocess installed post-installation script returned error exit status 1
Errors were encountered while processing:
 python3-reportbug

   * What outcome did you expect instead?

-- System Information: Distributor ID:  Devuan Description:     Devuan
GNU/Linux 4.0.0 (n/a) Release:  4.0.0 Codename: n/a Architecture: x86_64

Kernel: Linux 4.9.0-11-amd64 (SMP w/4 CPU threads) Kernel taint flags:
TAINT_PROPRIETARY_MODULE, TAINT_OOT_MODULE Locale: LANG=C, LC_CTYPE=C
(charmap=ANSI_X3.4-1968), LANGUAGE=nl_BE:nl Shell: /bin/sh linked to
/bin/dash Init: sysvinit (via /sbin/init)

Versions of packages python3-reportbug depends on: ii apt 2.1.11+devuan1
ii file 1:5.38-5 ii python3 3.5.3-1 ii python3-apt 1.4.1 ii
python3-debian 0.1.38 ii python3-debianbts 3.0.2 ii python3-requests
2.12.4-1 ii sensible-utils 0.0.12+nmu1

python3-reportbug recommends no packages.

Versions of packages python3-reportbug suggests: ii reportbug
7.8.0+devuan1

-- no debconf information

Send a report that this bug log contains spam.


Devuan BTS -- Powered by Debian bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson,
2005-2017 Don Armstrong, and many other contributors.

Devuan Bugs Owner <owner@bugs.devuan.org>.
Last modified: Fri Apr 19 08:57:02 2024;