[Bug 1871763] [NEW] Duplicity is not working

Launchpad Bug Tracker 1871763 at bugs.launchpad.net
Thu Apr 9 13:29:00 UTC 2020


You have been subscribed to a public bug:

Duplicity is failing to make backup.
It produces error message: see attached 000_Error_message.png

After starting duplicity from terminal, I got much better error message:
unim95 at ubuntu-BitFenix-Prodigy:~$ duplicity 
bash: /usr/bin/duplicity: /usr/bin/python2: bad interpreter: No such file or directory

After searching system for python2 i found, that there is no python2 executable
unim95 at ubuntu-BitFenix-Prodigy:~$ locate python2 | grep -v lib | grep -v man | grep -v doc | grep -v include
/etc/python2.7
/etc/python2.7/sitecustomize.py
/snap/core/8689/usr/share/bash-completion/completions/python2
/snap/core/8689/usr/share/dh-python/dh_python2
/snap/core/8689/usr/share/dh-python/dist/cpython2_fallback
/snap/core/8935/usr/share/bash-completion/completions/python2
/snap/core/8935/usr/share/dh-python/dh_python2
/snap/core/8935/usr/share/dh-python/dist/cpython2_fallback
/usr/bin/python2-futurize
/usr/bin/python2-pasteurize
/usr/bin/python2.7
/usr/bin/python2.7-config
/usr/bin/waitress-serve-python2
/usr/bin/x86_64-linux-gnu-python2.7-config
/usr/share/app-install/desktop/idle-python2.7:idle-python2.7.desktop
/usr/share/applications/python2.7.desktop
/usr/share/bash-completion/completions/python2
/usr/share/binfmts/python2.7
/usr/share/dh-python/dh_python2
/usr/share/dh-python/dist/cpython2_fallback
/usr/share/lintian/overrides/python2.7
/usr/share/lintian/overrides/python2.7-minimal
/usr/share/pixmaps/python2.7.xpm


Default python is:
unim95 at ubuntu-BitFenix-Prodigy:~$ python --version
Python 2.7.17


Duplicity version: 
unim95 at ubuntu-BitFenix-Prodigy:~$ dpkg -s duplicity
Package: duplicity
Status: install ok installed
Priority: optional
Section: utils
Installed-Size: 1064
Maintainer: Ubuntu Developers <ubuntu-devel-discuss at lists.ubuntu.com>
Architecture: amd64
Version: 0.7.17-0ubuntu1.1
Depends: libc6 (>= 2.4), librsync1 (>= 0.9.6), python (<< 2.8), python (>= 2.7~), python-fasteners, python:any (<< 2.8), python:any (>= 2.7.5-5~), python-lockfile (>> 1:0.9), gnupg | gnupg1
Suggests: rsync, python-paramiko, python-pexpect, python-urllib3, python-oauthlib, python-boto, ncftp, python-cloudfiles, lftp, python-gdata, tahoe-lafs, python-swiftclient
Description: encrypted bandwidth-efficient backup
 Duplicity backs directories by producing encrypted tar-format volumes
 and uploading them to a remote or local file server. Because duplicity
 uses librsync, the incremental archives are space efficient and only
 record the parts of files that have changed since the last backup.
 Because duplicity uses GnuPG to encrypt and/or sign these archives, they
 will be safe from spying and/or modification by the server.
Homepage: http://duplicity.nongnu.org/
Original-Maintainer: Alexander Zangerl <az at debian.org>

Python2 version:
unim95 at ubuntu-BitFenix-Prodigy:~$ dpkg -s python 
Package: python
Status: install ok installed
Priority: optional
Section: python
Installed-Size: 624
Maintainer: Ubuntu Developers <ubuntu-devel-discuss at lists.ubuntu.com>
Architecture: amd64
Multi-Arch: allowed
Source: python-defaults
Version: 2.7.15~rc1-1
Replaces: python-dev (<< 2.6.5-2)
Provides: python-ctypes, python-email, python-importlib, python-profiler, python-wsgiref
Depends: python2.7 (>= 2.7.15~rc1-1~), libpython-stdlib (= 2.7.15~rc1-1)
Pre-Depends: python-minimal (= 2.7.15~rc1-1)
Suggests: python-doc (= 2.7.15~rc1-1), python-tk (>= 2.7.15~rc1-1~)
Breaks: update-manager-core (<< 0.200.5-2)
Conflicts: python-central (<< 0.5.5)
Description: interactive high-level object-oriented language (default version)
 Python, the high-level, interactive object oriented language,
 includes an extensive class library with lots of goodies for
 network programming, system administration, sounds and graphics.
 .
 This package is a dependency package, which depends on Debian's default
 Python version (currently v2.7).
Original-Maintainer: Matthias Klose <doko at debian.org>
Homepage: http://www.python.org/
Cnf-Extra-Commands: python
Cnf-Priority-Bonus: 3

OS:
unim95 at ubuntu-BitFenix-Prodigy:~$ cat /etc/os-release 
NAME="Ubuntu"
VERSION="18.04.4 LTS (Bionic Beaver)"
ID=ubuntu
ID_LIKE=debian
PRETTY_NAME="Ubuntu 18.04.4 LTS"
VERSION_ID="18.04"
HOME_URL="https://www.ubuntu.com/"
SUPPORT_URL="https://help.ubuntu.com/"
BUG_REPORT_URL="https://bugs.launchpad.net/ubuntu/"
PRIVACY_POLICY_URL="https://www.ubuntu.com/legal/terms-and-policies/privacy-policy"
VERSION_CODENAME=bionic
UBUNTU_CODENAME=bionic

FS used: ext4.

** Affects: duplicity
     Importance: Undecided
         Status: New

** Affects: python2.7 (Ubuntu)
     Importance: Undecided
         Status: New


** Tags: duplicity python
-- 
Duplicity is not working
https://bugs.launchpad.net/bugs/1871763
You received this bug notification because you are a member of Ubuntu Foundations Bugs, which is subscribed to python2.7 in Ubuntu.



More information about the foundations-bugs mailing list