:: [devuan-dev] bug#528: python3-repor…
Page principale
Supprimer ce message
Répondre à ce message
Auteur: Mark Hindley
Date:  
À: Gerard H. Pille, 528
Sujet: [devuan-dev] bug#528: python3-reportbug: fails to install due to syntax error
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