Skip to content

After Upgrade from Buster to Bullseye doesn't work - /usr/bin/python: bad interpreter: No such file or directory #20

@duven87

Description

@duven87

Hi, My system accidentally upgraded stable repo from Buster to Bullesye tonight and the command no longer works.
First I get this error:

/usr/bin/python: bad interpreter: No such file or directory

Then I changed the script to :

#!/usr/bin/python3

and I get the following error:

root@backup02:/etc/bareos# /usr/lib/nagios/plugins/check_bareos.py
File "/usr/lib/nagios/plugins/check_bareos.py", line 480
except psycopg2.DatabaseError, e:
^
SyntaxError: invalid syntax

Any update please?

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions