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

Package: python3-reportbug version: 7.8.0+devuan1 severity: grave; Reported by: "Gerard H. Pille" <[email protected]>; Keywords: invalid moreinfo; Done: Mark Hindley <[email protected]>; Maintainer for python3-reportbug is Mark Hindley <[email protected]>.

Message received at [email protected]:


Received: (at 528) by bugs.devuan.org; 5 Dec 2020 20:50:03 +0000
Return-Path: <[email protected]>
Delivered-To: [email protected]
Received: from tupac3.dyne.org [195.169.149.119]
	by doc.devuan.org with IMAP (fetchmail-6.4.0.beta4)
	for <debbugs@localhost> (single-drop); Sat, 05 Dec 2020 20:50:03 +0000 (UTC)
Received: from mail-pf1-f174.google.com (mail-pf1-f174.google.com [209.85.210.174])
	(using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits))
	(No client certificate requested)
	by vm6.ganeti.dyne.org (Postfix) with ESMTPS id EDFAFF60AD5
	for <[email protected]>; Sat,  5 Dec 2020 21:40:03 +0100 (CET)
Authentication-Results: vm6.ganeti.dyne.org;
	dkim=pass (2048-bit key; unprotected) header.d=gmail.com [email protected] header.b="RTr3XScS";
	dkim-atps=neutral
Received: by mail-pf1-f174.google.com with SMTP id 131so6248694pfb.9
        for <[email protected]>; Sat, 05 Dec 2020 12:40:03 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
        d=gmail.com; s=20161025;
        h=content-transfer-encoding:mime-version:subject:from:in-reply-to:cc
         :date:message-id:references:to;
        bh=SyzudeLQ7lJzlW5u2MjcnIEW7iNOTv72NcOkmIhWUR0=;
        b=RTr3XScSXrjTzLpDZob9/qFVZ9fr5qXkM5NF517XxoRnMTb9rBxfY5SNqnJDvbAsoD
         oTAe6nesAvNpXtHTzOzFPC9agEM0SDsYvkTiFgGhqr5yDttzAwkMMY41cqItwfsAMDfn
         F1+Dydqdwb4KLHCjpsHrY7xyjzD63LAsugCRsV5d6SSQvxfoFXnyABkLvI7hCpi/QxCX
         TYW80ZlFs29WYhc4Ypfpof4awukjL5ikLg+CboDQGmBg/2cTKZ4FxA3yM4cuQ0Fgb7Ki
         TSo1ZbuFzjibQj3bk3bK4dGYLQNeHUGVDxrcN5gE57HpjbkuwuzcS1KTX0N/8NLmEsX7
         +e/A==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
        d=1e100.net; s=20161025;
        h=x-gm-message-state:content-transfer-encoding:mime-version:subject
         :from:in-reply-to:cc:date:message-id:references:to;
        bh=SyzudeLQ7lJzlW5u2MjcnIEW7iNOTv72NcOkmIhWUR0=;
        b=HLa3JmY1vzXOSIcsbELmdq19fe8A1tqin1wHFyyeZbVmh1jNx4l2GLp4jdJX8uJmaq
         GA45bHmIuHMUsu95gWuyF06sFqpYgCeVIuweoGuZvAdSIc7pz8yaydomxYLFSP7TM28m
         HQS4DnDrLebblYmBztn5soAoOZF3ezKXjrBvFg1qUXyTVBOvStvi+xT3JSTydUgXELad
         hv0y/SGaRUQz3QKunIKum5H/+45wVQUjMvjW+y9Q1cHFGfbMDIOUYwzmc3pcQdLujhai
         /WTw7joyo9rX6BtpHnfCm6uWc8AT/1fph7YgT7oE2KMdAOGQLvFBGm6bNQgQ0z9BqCc7
         iQUQ==
X-Gm-Message-State: AOAM530OLnzzILr95qDS4j9vQg/S8u8mZTl5b2alms5OMa9Y2jU/Uf3/
	pbwiGAZs2EXYTNOA4studcpKqkL7/kfn2g==
X-Google-Smtp-Source: ABdhPJwqbPnaHG0q6p/ttsF57dmFBjTUSJMM3Fs9HgQY4rF+xfusQOpxvzw9Rhaj8uaGqhARNwJ5TA==
X-Received: by 2002:a65:594b:: with SMTP id g11mr12577133pgu.424.1607200801190;
        Sat, 05 Dec 2020 12:40:01 -0800 (PST)
Received: from [10.0.0.117] (119-18-0-212.771200.syd.nbn.aussiebb.net. [119.18.0.212])
        by smtp.gmail.com with ESMTPSA id 21sm966674pfx.84.2020.12.05.12.40.00
        (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128);
        Sat, 05 Dec 2020 12:40:00 -0800 (PST)
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: quoted-printable
Mime-Version: 1.0 (1.0)
Subject: Re: [devuan-dev] bug#528: python3-reportbug: fails to install due to syntax error
From: [email protected]
In-Reply-To: <X8u4UcDlR4/[email protected]>
Cc: "Gerard H. Pille" <[email protected]>, [email protected]
Date: Sun, 6 Dec 2020 07:39:57 +1100
Message-Id: <[email protected]>
References: <X8u4UcDlR4/[email protected]>
To: Mark Hindley <[email protected]>
X-Mailer: iPhone Mail (18B92)
X-Spam-Status: No, score=-0.2 required=5.0 tests=DKIM_SIGNED,DKIM_VALID,
	DKIM_VALID_AU,DKIM_VALID_EF,FREEMAIL_FROM,RCVD_IN_DNSWL_NONE,
	RCVD_IN_MSPIKE_H3,RCVD_IN_MSPIKE_WL,SPF_PASS autolearn=disabled
	version=3.4.2
X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on tupac3.dyne.org



> On 6 Dec 2020, at 04:02, Mark Hindley <[email protected]> wrote:
>=20
> =EF=BB=BFGerard,
>=20
>> On Sat, Dec 05, 2020 at 02:34:21PM +0100, Gerard H. Pille wrote:
>> Mark Hindley wrote:
>>> Does /usr/bin/python exist? Which package does it belong to? Is it a sym=
link,
>>> and if so, what to?
>> ghp-amdphIIx4a:/root
>> # ls -al /usr/bin/python
>> lrwxrwxrwx 1 root root 9 24 jan  2017 /usr/bin/python -> python2.7
>> According to the date, this is not my doing.  System was installed a year=

>> ago on a disk that hadn't seen Linux before.
>=20
> Does it belong to any installed package? 'dpkg -S /usr/bin/python' should t=
ell
> you.
>=20
> Even with a /usr/bin/python -> python2 symlink I am unable to get the post=
inst
> to fail as it does in your case. Somehow you appear to have a python2 inte=
rpreter
> which is trying to compile python3 code. I can't see how that could happen=
.
>=20
> Can you check your python3 versions? I get:
>=20
> $ python3 -V
> Python 3.9.1rc1
>=20
> Any extraneous symlinks in /usr/local/bin or elsewhere in the $PATH?
>=20
> Thanks.
>=20
> Mark

Mark,

Another possibility is that f-strings weren=E2=80=99t introduced to python u=
ntil version 3.6 while ascii only has version 3.5. Maybe python3-reportbug i=
s trying to run a script somewhere before the system has upgraded the python=
3 interpreter?

I also noticed that the python3-reportbug package in chimaera doesn=E2=80=99=
t have a version restriction for >python3.6 so it=E2=80=99s possible to upgr=
ade that package without upgrading the main python3 package which could lead=
 to this problem.

Tom=

Acknowledgement sent to [email protected]:
Extra info received and forwarded to list. Copy sent to Mark Hindley <[email protected]>, [email protected]. Full text available.
Information forwarded to [email protected], Mark Hindley <[email protected]>, [email protected]:
bug#528; Package python3-reportbug version: 7.8.0+devuan1 severity: grave. Full text available.
Notification sent to "Gerard H. Pille" <[email protected]>:
bug acknowledged by developer. Full text available.
Marked bug as done Request was from Mark Hindley <[email protected]> to [email protected]. Full text available.
Added tag(s) invalid. Request was from Mark Hindley <[email protected]> to [email protected]. Full text available.

Message received at [email protected]:


Received: (at 528) by bugs.devuan.org; 5 Dec 2020 20:30:02 +0000
Return-Path: <[email protected]>
Delivered-To: [email protected]
Received: from tupac3.dyne.org [195.169.149.119]
	by doc.devuan.org with IMAP (fetchmail-6.4.0.beta4)
	for <debbugs@localhost> (single-drop); Sat, 05 Dec 2020 20:30:02 +0000 (UTC)
Received: from mx.hindley.org.uk (193-36-131-5.cfwn.uk [193.36.131.5])
	(using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits))
	(No client certificate requested)
	by vm6.ganeti.dyne.org (Postfix) with ESMTPS id E193DF604AF
	for <[email protected]>; Sat,  5 Dec 2020 21:26:20 +0100 (CET)
Received: from apollo.hindleynet ([192.168.1.3] helo=hindley.org.uk)
	by mx.hindley.org.uk with smtp (Exim 4.84_2)
	(envelope-from <[email protected]>)
	id 1kle8I-00020h-3y; Sat, 05 Dec 2020 20:26:18 +0000
Received: (nullmailer pid 30412 invoked by uid 1000);
	Sat, 05 Dec 2020 20:26:17 -0000
Date: Sat, 5 Dec 2020 20:26:16 +0000
From: Mark Hindley <[email protected]>
To: "Gerard H. Pille" <[email protected]>
Cc: [email protected]
Subject: Re: bug#528: python3-reportbug: fails to install due to syntax error
Message-ID: <X8vs6HuS97/[email protected]>
References: <AM5PR04MB3185CDCB518BFB41FDA24421BCF10@AM5PR04MB3185.eurprd04.prod.outlook.com>
 <[email protected]>
 <AM5PR04MB318534446BB5CFC205546420BCF00@AM5PR04MB3185.eurprd04.prod.outlook.com>
 <[email protected]>
 <AM5PR04MB31850FC0B2AF156AE0C338B8BCF00@AM5PR04MB3185.eurprd04.prod.outlook.com>
 <X8u4UcDlR4/[email protected]>
 <AM5PR04MB3185549FDA54EF7C4C7122F8BCF00@AM5PR04MB3185.eurprd04.prod.outlook.com>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
In-Reply-To: <AM5PR04MB3185549FDA54EF7C4C7122F8BCF00@AM5PR04MB3185.eurprd04.prod.outlook.com>
X-Spam-Status: No, score=0.4 required=5.0 tests=RDNS_DYNAMIC,SPF_PASS
	autolearn=disabled version=3.4.2
X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on tupac3.dyne.org

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


Acknowledgement sent to Mark Hindley <[email protected]>:
Extra info received and forwarded to list. Copy sent to [email protected]. Full text available.
Information forwarded to [email protected], [email protected]:
bug#528; Package python3-reportbug version: 7.8.0+devuan1 severity: grave. Full text available.

Message received at [email protected]:


Received: (at 528) by bugs.devuan.org; 5 Dec 2020 16:50:03 +0000
Return-Path: <[email protected]>
Delivered-To: [email protected]
Received: from tupac3.dyne.org [195.169.149.119]
	by doc.devuan.org with IMAP (fetchmail-6.4.0.beta4)
	for <debbugs@localhost> (single-drop); Sat, 05 Dec 2020 16:50:03 +0000 (UTC)
Received: from mx.hindley.org.uk (193-36-131-5.cfwn.uk [193.36.131.5])
	(using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits))
	(No client certificate requested)
	by vm6.ganeti.dyne.org (Postfix) with ESMTPS id CBF84F60917
	for <[email protected]>; Sat,  5 Dec 2020 17:41:59 +0100 (CET)
Received: from apollo.hindleynet ([192.168.1.3] helo=hindley.org.uk)
	by mx.hindley.org.uk with smtp (Exim 4.84_2)
	(envelope-from <[email protected]>)
	id 1kladA-0000wR-Tj; Sat, 05 Dec 2020 16:41:57 +0000
Received: (nullmailer pid 23152 invoked by uid 1000);
	Sat, 05 Dec 2020 16:41:53 -0000
Date: Sat, 5 Dec 2020 16:41:53 +0000
From: Mark Hindley <[email protected]>
To: "Gerard H. Pille" <[email protected]>
Cc: [email protected]
Subject: Re: bug#528: python3-reportbug: fails to install due to syntax error
Message-ID: <X8u4UcDlR4/[email protected]>
References: <AM5PR04MB3185CDCB518BFB41FDA24421BCF10@AM5PR04MB3185.eurprd04.prod.outlook.com>
 <[email protected]>
 <AM5PR04MB318534446BB5CFC205546420BCF00@AM5PR04MB3185.eurprd04.prod.outlook.com>
 <[email protected]>
 <AM5PR04MB31850FC0B2AF156AE0C338B8BCF00@AM5PR04MB3185.eurprd04.prod.outlook.com>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
In-Reply-To: <AM5PR04MB31850FC0B2AF156AE0C338B8BCF00@AM5PR04MB3185.eurprd04.prod.outlook.com>
X-Spam-Status: No, score=0.4 required=5.0 tests=RDNS_DYNAMIC,SPF_PASS
	autolearn=disabled version=3.4.2
X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on tupac3.dyne.org

Gerard,

On Sat, Dec 05, 2020 at 02:34:21PM +0100, Gerard H. Pille wrote:
> Mark Hindley wrote:
> > 
> > Does /usr/bin/python exist? Which package does it belong to? Is it a symlink,
> > and if so, what to?
> 
> ghp-amdphIIx4a:/root
> # ls -al /usr/bin/python
> lrwxrwxrwx 1 root root 9 24 jan  2017 /usr/bin/python -> python2.7
> 
> According to the date, this is not my doing.  System was installed a year
> ago on a disk that hadn't seen Linux before.

Does it belong to any installed package? 'dpkg -S /usr/bin/python' should tell
you.

Even with a /usr/bin/python -> python2 symlink I am unable to get the postinst
to fail as it does in your case. Somehow you appear to have a python2 interpreter
which is trying to compile python3 code. I can't see how that could happen.

Can you check your python3 versions? I get:

 $ python3 -V
 Python 3.9.1rc1

Any extraneous symlinks in /usr/local/bin or elsewhere in the $PATH?

Thanks.

Mark

Acknowledgement sent to Mark Hindley <[email protected]>:
Extra info received and forwarded to list. Copy sent to [email protected]. Full text available.
Information forwarded to [email protected], [email protected]:
bug#528; Package python3-reportbug version: 7.8.0+devuan1 severity: grave. Full text available.

Message received at [email protected]:


Received: (at 528) by bugs.devuan.org; 5 Dec 2020 13:40:02 +0000
Return-Path: <[email protected]>
Delivered-To: [email protected]
Received: from tupac3.dyne.org [195.169.149.119]
	by doc.devuan.org with IMAP (fetchmail-6.4.0.beta4)
	for <debbugs@localhost> (single-drop); Sat, 05 Dec 2020 13:40:02 +0000 (UTC)
Received: from mx.hindley.org.uk (193-36-131-5.cfwn.uk [193.36.131.5])
	(using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits))
	(No client certificate requested)
	by vm6.ganeti.dyne.org (Postfix) with ESMTPS id 4D64EF60868
	for <[email protected]>; Sat,  5 Dec 2020 14:31:18 +0100 (CET)
Received: from apollo.hindleynet ([192.168.1.3] helo=hindley.org.uk)
	by mx.hindley.org.uk with smtp (Exim 4.84_2)
	(envelope-from <[email protected]>)
	id 1klXee-0008SD-Ge; Sat, 05 Dec 2020 13:31:16 +0000
Received: (nullmailer pid 21982 invoked by uid 1000);
	Sat, 05 Dec 2020 13:31:15 -0000
Date: Sat, 5 Dec 2020 13:31:15 +0000
From: Mark Hindley <[email protected]>
To: "Gerard H. Pille" <[email protected]>
Cc: [email protected]
Subject: Re: bug#528: python3-reportbug: fails to install due to syntax error
Message-ID: <[email protected]>
References: <AM5PR04MB3185CDCB518BFB41FDA24421BCF10@AM5PR04MB3185.eurprd04.prod.outlook.com>
 <[email protected]>
 <AM5PR04MB318534446BB5CFC205546420BCF00@AM5PR04MB3185.eurprd04.prod.outlook.com>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
In-Reply-To: <AM5PR04MB318534446BB5CFC205546420BCF00@AM5PR04MB3185.eurprd04.prod.outlook.com>
X-Spam-Status: No, score=0.4 required=5.0 tests=RDNS_DYNAMIC,SPF_PASS
	autolearn=disabled version=3.4.2
X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on tupac3.dyne.org

On Sat, Dec 05, 2020 at 11:48:42AM +0100, Gerard H. Pille wrote:
> ghp-amdphIIx4a:/root
> # dpkg -l | grep python2
> ii  libpython2.7-minimal:amd64             2.7.18-1      amd64
> Minimal subset of the Python language (version 2.7)
> ii  libpython2.7-stdlib:amd64              2.7.18-1      amd64
> Interactive high-level object-oriented language (standard library, version
> 2.7)
> ii  python2.7                              2.7.18-1      amd64
> Interactive high-level object-oriented language (version 2.7)
> ii  python2.7-minimal                      2.7.18-1      amd64
> Minimal subset of the Python language (version 2.7)
> 
> 
> But I have python3 installed too.  This is a backup system I rarely use, try
> to keep it as standard Devuan as possible.  On the systems I work on
> regularly, I make sure python3 is the default.

Does /usr/bin/python exist? Which package does it belong to? Is it a symlink,
and if so, what to?

> I didn't know about the "f-string".

No, neither did I until I looked at this!

Thanks

Mark

Acknowledgement sent to Mark Hindley <[email protected]>:
Extra info received and forwarded to list. Copy sent to [email protected]. Full text available.
Information forwarded to [email protected], [email protected]:
bug#528; Package python3-reportbug version: 7.8.0+devuan1 severity: grave. Full text available.
Added tag(s) moreinfo. Request was from Mark Hindley <[email protected]> to [email protected]. Full text available.

Message received at [email protected]:


Received: (at 528) by bugs.devuan.org; 5 Dec 2020 10:30:04 +0000
Return-Path: <[email protected]>
Delivered-To: [email protected]
Received: from tupac3.dyne.org [195.169.149.119]
	by doc.devuan.org with IMAP (fetchmail-6.4.0.beta4)
	for <debbugs@localhost> (single-drop); Sat, 05 Dec 2020 10:30:04 +0000 (UTC)
Received: from mx.hindley.org.uk (193-36-131-5.cfwn.uk [193.36.131.5])
	(using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits))
	(No client certificate requested)
	by vm6.ganeti.dyne.org (Postfix) with ESMTPS id 56848F60914
	for <[email protected]>; Sat,  5 Dec 2020 11:28:11 +0100 (CET)
Received: from apollo.hindleynet ([192.168.1.3] helo=hindley.org.uk)
	by mx.hindley.org.uk with smtp (Exim 4.84_2)
	(envelope-from <[email protected]>)
	id 1klUnR-0007aK-88; Sat, 05 Dec 2020 10:28:09 +0000
Received: (nullmailer pid 20822 invoked by uid 1000);
	Sat, 05 Dec 2020 10:28:08 -0000
Date: Sat, 5 Dec 2020 10:28:08 +0000
From: Mark Hindley <[email protected]>
To: "Gerard H. Pille" <[email protected]>, [email protected]
Subject: Re: bug#528: python3-reportbug: fails to install due to syntax error
Message-ID: <[email protected]>
References: <AM5PR04MB3185CDCB518BFB41FDA24421BCF10@AM5PR04MB3185.eurprd04.prod.outlook.com>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
In-Reply-To: <AM5PR04MB3185CDCB518BFB41FDA24421BCF10@AM5PR04MB3185.eurprd04.prod.outlook.com>
X-Debbugs-No-Ack: No Thanks
X-Spam-Status: No, score=0.4 required=5.0 tests=RDNS_DYNAMIC,SPF_PASS
	autolearn=disabled version=3.4.2
X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on tupac3.dyne.org

Control: tags -1 moreinfo

Gerard,

Thanks for this. However, can't yet reproduce it.

On Sat, Dec 05, 2020 at 12:03:34AM +0100, Gerard H. Pille wrote:
> 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

Strange. This seems to imply that the python interpreter doesn understand the
f-string.  Presumably it is running under python2? What python2 pacakges do you
have installed?

 dpkg -l | grep python2 should producs a list.

Thanks

Mark

Information forwarded to [email protected], [email protected]:
bug#528; Package python3-reportbug version: 7.8.0+devuan1 severity: grave. Full text available.

Message received at [email protected]:


Received: (at submit) by bugs.devuan.org; 4 Dec 2020 23:10:02 +0000
Return-Path: <[email protected]>
Delivered-To: [email protected]
Received: from tupac3.dyne.org [195.169.149.119]
	by doc.devuan.org with IMAP (fetchmail-6.4.0.beta4)
	for <debbugs@localhost> (single-drop); Fri, 04 Dec 2020 23:10:02 +0000 (UTC)
Received: from EUR02-VE1-obe.outbound.protection.outlook.com (mail-oln040092069070.outbound.protection.outlook.com [40.92.69.70])
	(using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits))
	(No client certificate requested)
	by vm6.ganeti.dyne.org (Postfix) with ESMTPS id 2688EF608A2
	for <[email protected]>; Sat,  5 Dec 2020 00:03:45 +0100 (CET)
Authentication-Results: vm6.ganeti.dyne.org;
	dkim=pass (2048-bit key; unprotected) header.d=hotmail.com [email protected] header.b="Fo3rmk/0";
	dkim-atps=neutral
ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none;
 b=n+mgHPoXEO1GAtzk6jfGcDR2wEVkjTWMzb4IhN6V3kahKdKW60J8KJuRoeoppRegXvwz5D7gJun9giy/23VuR9EVRWqDrIynRsqVc7vU3Y5FjVUwx0X4GIm7E+xfUcTg1vsQ640+KHEH0ry8nDkP7Q5nQ0l8YwLxUBscgWVBY7RqBArk7lYkWygWwQ104cY4K2ibnxwLTyTx79+rxcYiwBsv4yHs85V9AluDWW9yBDZyOLBz6Hf+9Yw/R83+y8MB+2Vm61IXONAz1FXcTblL8xPJHiNxDPCjT6Eu9QbL43wnY9kHPodHOzFPcQsk1LZ4x/kT0Iil+YWNerlBT3Of4g==
ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com;
 s=arcselector9901;
 h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck;
 bh=jnj0gDDCbxufmy/tEY05oA/siH0WMJ8Ej3vpqUuM1OE=;
 b=e96WWSGIozEqCIWSetuGOAC3lqRPhv4Q7uoIGPYtMaSzVyzbZUOowv0ct7doT4Fy1ZPPSJ2l7dxWxO4344hGoT9lZD9l+hMbhGC3oEURZNhmd1oHpf533qFAdJzFdcZuEDVHzMMfYunGMb9IOS010vdv7MCsAtmgm3mq54aM/6CzePmp4A2nXVgBpjQcMcIJQX0zBcWAirKIyfcMRWmr1whJH4hLYrZNuxIGt/dn7TA2h8H2l8c5GachTqdDl0xVZ2Pe7LrNHP0oexrauQTYmJ6NEM+irmh5i25mBrQ8CZRn6ZHWFdG5Y+DVvEmoNy/kvehbHLr+ooze0vGuiFZSWw==
ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=none; dmarc=none;
 dkim=none; arc=none
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=hotmail.com;
 s=selector1;
 h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck;
 bh=jnj0gDDCbxufmy/tEY05oA/siH0WMJ8Ej3vpqUuM1OE=;
 b=Fo3rmk/0Nioxm6FZnNov+Ve23HYvtTC38oB79w9Oo0J8o1pUVzBqqbOTzXrDxGNESkRf9HDz76A+HtgZG9EucVc3UtELtwHMYd6qGHsNs5IuQBNlBA3GcGWD8+e0STgD5zL0JmO8lQBvYXPo+IDkMag2w5S7ezq63PbXBbHCy1hEFTZFK4k2/DjogBgsr5u8AtpfkpEQRLJILTV4gSJh1l3Ti6sbl2yPE/ImEt5d/yhXhs0C+8PlMZHNIkbxG9voie0PpvdEVy3DRLopyTyiN2tK3ozlxJ2MnOoTkLohfbdt04httn0ff0S41TF+j5n5dhO1Ksu8/MhCs7cwjbpNzg==
Received: from AM5EUR02FT059.eop-EUR02.prod.protection.outlook.com
 (2a01:111:e400:7e1c::4b) by
 AM5EUR02HT096.eop-EUR02.prod.protection.outlook.com (2a01:111:e400:7e1c::478)
 with Microsoft SMTP Server (version=TLS1_2,
 cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3632.17; Fri, 4 Dec
 2020 23:03:38 +0000
Received: from AM5PR04MB3185.eurprd04.prod.outlook.com
 (2a01:111:e400:7e1c::43) by AM5EUR02FT059.mail.protection.outlook.com
 (2a01:111:e400:7e1c::460) with Microsoft SMTP Server (version=TLS1_2,
 cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3632.17 via Frontend
 Transport; Fri, 4 Dec 2020 23:03:38 +0000
X-IncomingTopHeaderMarker:
 OriginalChecksum:87E6DB71727A4295AAA9FB636B2ED7C9ACF30F75ABBC7928050CA2D0FF819EF9;UpperCasedChecksum:057F9B6A0A9F0725EFD37E30376F9A6BB6D599A4F5164BE36C47B9F824DC6815;SizeAsReceived:8484;Count:44
Received: from AM5PR04MB3185.eurprd04.prod.outlook.com
 ([fe80::e01d:bbc6:c32a:1c69]) by AM5PR04MB3185.eurprd04.prod.outlook.com
 ([fe80::e01d:bbc6:c32a:1c69%3]) with mapi id 15.20.3632.021; Fri, 4 Dec 2020
 23:03:37 +0000
From: "Gerard H. Pille" <[email protected]>
Subject: python3-reportbug: fails to install due to syntax error
To: Devuan Bug Tracking System <[email protected]>
Message-ID:
 <AM5PR04MB3185CDCB518BFB41FDA24421BCF10@AM5PR04MB3185.eurprd04.prod.outlook.com>
Date: Sat, 5 Dec 2020 00:03:34 +0100
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101
 Firefox/60.0 SeaMonkey/2.53.5.1
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
X-TMN: [DJi2SJdAnCa6wDG84fOzg87JY28gn2qJ]
X-ClientProxiedBy: AM5P194CA0017.EURP194.PROD.OUTLOOK.COM
 (2603:10a6:203:8f::27) To AM5PR04MB3185.eurprd04.prod.outlook.com
 (2603:10a6:206:c::30)
X-Microsoft-Original-Message-ID:
 <[email protected]>
MIME-Version: 1.0
X-MS-Exchange-MessageSentRepresentingType: 1
Received: from [0.0.0.0] (51.83.187.201) by AM5P194CA0017.EURP194.PROD.OUTLOOK.COM (2603:10a6:203:8f::27) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3632.17 via Frontend Transport; Fri, 4 Dec 2020 23:03:37 +0000
X-MS-PublicTrafficType: Email
X-IncomingHeaderCount: 44
X-EOPAttributedMessage: 0
X-MS-Office365-Filtering-Correlation-Id: 3397a042-b935-4d9b-27aa-08d898a8d576
X-MS-TrafficTypeDiagnostic: AM5EUR02HT096:
X-Microsoft-Antispam: BCL:0;
X-Microsoft-Antispam-Message-Info:
	JFMowRfS24G6zzU0EaOdI5lXk3/0i76UAWGuLUvE3yJvHwwhsrr049NWatYTJjStM91NkqO8lhoaJaHgYBtkSxO4kmzngc8HdzX57jnYK9vF4TwfEHVu24H4yUD9dPzDrnmOJoBhD/q4w5O+3NBOAt0xIGBpKB9uzIg8oAr+RUcBb1a145lq+D5XbSC9zM9CtVKvB4ta2/jH4u2R8DqaXw==
X-MS-Exchange-AntiSpam-MessageData:
	Bsz9RN4pyY/SD+xkSybaZikRhxoTCgoddouRgsZJ+DAx9c53Gm9PyIsvlDyjLjKMQMRXYxr2lRs77TXxg9nRoOGWctpYZWxMfDSwkrEYT5SBsSv9eHS1oNOBejDcWhlV10maJTP7iPAcCRxDbCrKJw==
X-OriginatorOrg: hotmail.com
X-MS-Exchange-CrossTenant-Network-Message-Id: 3397a042-b935-4d9b-27aa-08d898a8d576
X-MS-Exchange-CrossTenant-OriginalArrivalTime: 04 Dec 2020 23:03:37.8162
 (UTC)
X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted
X-MS-Exchange-CrossTenant-Id: 84df9e7f-e9f6-40af-b435-aaaaaaaaaaaa
X-MS-Exchange-CrossTenant-AuthSource:
	AM5EUR02FT059.eop-EUR02.prod.protection.outlook.com
X-MS-Exchange-CrossTenant-AuthAs: Anonymous
X-MS-Exchange-CrossTenant-FromEntityHeader: Internet
X-MS-Exchange-CrossTenant-RMS-PersistedConsumerOrg:
	00000000-0000-0000-0000-000000000000
X-MS-Exchange-Transport-CrossTenantHeadersStamped: AM5EUR02HT096
X-Spam-Status: No, score=0.7 required=5.0 tests=DKIM_SIGNED,DKIM_VALID,
	DKIM_VALID_AU,DKIM_VALID_EF,FORGED_MUA_MOZILLA,FREEMAIL_FROM,
	RCVD_IN_DNSWL_LOW,RCVD_IN_MSPIKE_H2,SPF_HELO_PASS,SPF_PASS
	autolearn=disabled version=3.4.2
X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on tupac3.dyne.org

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




Acknowledgement sent to "Gerard H. Pille" <[email protected]>:
New bug report received and forwarded. Copy sent to Mark Hindley <[email protected]>, [email protected]. Full text available.
Report forwarded to [email protected], Mark Hindley <[email protected]>, [email protected]:
bug#528; Package python3-reportbug version: 7.8.0+devuan1 severity: grave. Full text available.

Devuan BTS -- Powered by Debian bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997 nCipher Corporation Ltd, 1994-97 Ian Jackson.

Devuan Bugs Owner <[email protected]>.
Last modified: Sat, 18 Jan 2025 04:39:02 UTC