Description
Actually, not much information is needed to describe this bug. Some may even argue that it's a feature request.
The thing is that Duplicati (on Ubuntu 20.04) installs the package 'python-is-python2', which creates the file /usr/bin/python which is a symlink to /usr/bin/python2.7.
This kind of laziness from the developers of Duplicati puts newer software, that need python3 at risk of crashing. I am more or less citing the description of the package - see below.
I am going to develop complex Python3 software on my Ubuntu 20.04, with large amount of dependencies, so Duplicati puts my project at risk of failure or problems that could have been avoided if Duplicati had not installed the /usr/bin/python symlink to /usr/bin/python2.7. I would therefore be very glad if your could correct this as fast as possible.
Description of python-is-python2:
" In Ubuntu, all python packages use explicit python3 or python2
interpreter and do not use unversioned /usr/bin/python at all. Some
third-party code may still be python2 based, yet may use
/usr/bin/python.
This is a convenience package which ships a symlink to point
/usr/bin/python interpreter at the current default python2. It may
improve compatibility with obsolete 3rd-party software, whilst
breaking some modern software.
This package will be installed upon upgrades to Ubuntu 20.04, if
DEPRECATED python2 was installed.
python2 is DEPRECATED and will not be provided in the future Ubuntu
release. It is recommended to remove python2 and this package after
ensuring that only python3 is in use.
No packages may declare dependencies on this package. "
Environment info
- Duplicati version: Duplicati - 2.0.5.1_beta_2020-01-18
- Operating system: Ubuntu 20.04.1 LTS
- Backend: Backblaze B2
Debug log
I DID create a 'bug report' zip file in Duplicati. Here is the content of the 'system-info.txt'-file:
Duplicati: Duplicati.Server, Version=2.0.5.1, Culture=neutral, PublicKeyToken=null (Duplicati.Library.Main, Version=2.0.5.1, Culture=neutral, PublicKeyToken=null)
Autoupdate urls: https://updates.duplicati.com/beta/latest.manifest;https://alt.updates.duplicati.com/beta/latest.manifest
Update folder: /home/henrik/.config/Duplicati/updates
Base install folder: /usr/lib/duplicati
Version name: "2.0.5.1_beta_2020-01-18" (2.0.5.1)
Current Version folder /usr/lib/duplicati
OS: Unix 5.4.0.47
Uname: Linux henrik-thinkpad-20-04 5.4.0-47-generic #51-Ubuntu SMP Fri Sep 4 19:50:52 UTC 2020 x86_64 x86_64 x86_64 GNU/Linux
64bit: True (True)
Machinename: henrik-thinkpad-20-04
Processors: 4
.Net Version: 4.0.30319.42000
Mono: True (6.8.0.105) (6.8.0.105 (Debian 6.8.0.105+dfsg-2 Wed Feb 26 23:23:50 UTC 2020))
Locale: en-GB, en-GB, en-GB
Date/time strings: dd MMMM yyyy - HH:mm:ss
Tempdir: /tmp/
SQLite: 3.31.1 - Mono.Data.Sqlite.SqliteConnection
SQLite assembly: /usr/lib/mono/gac/Mono.Data.Sqlite/4.0.0.0__0738eb9f132ed756/Mono.Data.Sqlite.dll
Description
Actually, not much information is needed to describe this bug. Some may even argue that it's a feature request.
The thing is that Duplicati (on Ubuntu 20.04) installs the package 'python-is-python2', which creates the file /usr/bin/python which is a symlink to /usr/bin/python2.7.
This kind of laziness from the developers of Duplicati puts newer software, that need python3 at risk of crashing. I am more or less citing the description of the package - see below.
I am going to develop complex Python3 software on my Ubuntu 20.04, with large amount of dependencies, so Duplicati puts my project at risk of failure or problems that could have been avoided if Duplicati had not installed the /usr/bin/python symlink to /usr/bin/python2.7. I would therefore be very glad if your could correct this as fast as possible.
Description of python-is-python2:
" In Ubuntu, all python packages use explicit python3 or python2
interpreter and do not use unversioned /usr/bin/python at all. Some
third-party code may still be python2 based, yet may use
/usr/bin/python.
This is a convenience package which ships a symlink to point
/usr/bin/python interpreter at the current default python2. It may
improve compatibility with obsolete 3rd-party software, whilst
breaking some modern software.
This package will be installed upon upgrades to Ubuntu 20.04, if
DEPRECATED python2 was installed.
python2 is DEPRECATED and will not be provided in the future Ubuntu
release. It is recommended to remove python2 and this package after
ensuring that only python3 is in use.
No packages may declare dependencies on this package. "
Environment info
Debug log
I DID create a 'bug report' zip file in Duplicati. Here is the content of the 'system-info.txt'-file:
Duplicati: Duplicati.Server, Version=2.0.5.1, Culture=neutral, PublicKeyToken=null (Duplicati.Library.Main, Version=2.0.5.1, Culture=neutral, PublicKeyToken=null)
Autoupdate urls: https://updates.duplicati.com/beta/latest.manifest;https://alt.updates.duplicati.com/beta/latest.manifest
Update folder: /home/henrik/.config/Duplicati/updates
Base install folder: /usr/lib/duplicati
Version name: "2.0.5.1_beta_2020-01-18" (2.0.5.1)
Current Version folder /usr/lib/duplicati
OS: Unix 5.4.0.47
Uname: Linux henrik-thinkpad-20-04 5.4.0-47-generic #51-Ubuntu SMP Fri Sep 4 19:50:52 UTC 2020 x86_64 x86_64 x86_64 GNU/Linux
64bit: True (True)
Machinename: henrik-thinkpad-20-04
Processors: 4
.Net Version: 4.0.30319.42000
Mono: True (6.8.0.105) (6.8.0.105 (Debian 6.8.0.105+dfsg-2 Wed Feb 26 23:23:50 UTC 2020))
Locale: en-GB, en-GB, en-GB
Date/time strings: dd MMMM yyyy - HH:mm:ss
Tempdir: /tmp/
SQLite: 3.31.1 - Mono.Data.Sqlite.SqliteConnection
SQLite assembly: /usr/lib/mono/gac/Mono.Data.Sqlite/4.0.0.0__0738eb9f132ed756/Mono.Data.Sqlite.dll