:: [devuan-dev] bug#528: python3-repor…
Página superior
Eliminar este mensaje
Responder a este mensaje
Autor: Mark Hindley
Fecha:  
A: Gerard H. Pille, 528
Asunto: [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