Change shebang to ensure Python 2 usage

Asked by Bryan English on 2018-08-11

I think we should change the shebang line to ensure Python 2 usage, as I have 3 set as default. This will produce and error as the statvfs package is deprecated, but available, in 2 and removed in 3. The error this produces in Deja Dup is "could not understgand duplicity version".

Question information

English Edit question
Duplicity Edit question
No assignee Edit question
Last query:
Last reply:

It is released in source form with python2 in the shebang. The we use does not change it. This sounds like a packaging issue. What source did you use?

Bryan English (irateswami) said : #2

It was installed via the Deja Dup program automatically, so this is probably an issue with them. Had I installed via apt the binary would have been different?

I'm going to convert this to a bug against Ubuntu's duplicity (upstream from me). It seems to be an error in packaging.

Can you help with this problem?

Provide an answer of your own, or ask Bryan English for more information if necessary.

To post a message you must log in.