I am trying to perform backup on Ubuntu 16.04 LTS, i get the following error.
Tried googling the issue, could not find any working solution.
How to rectify this issue ?
P.S. I have referred to this link also. Duplicity error pop-up on Ubuntu 16.04
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It only takes a minute to sign up.
Sign up to join this communityI am trying to perform backup on Ubuntu 16.04 LTS, i get the following error.
Tried googling the issue, could not find any working solution.
How to rectify this issue ?
P.S. I have referred to this link also. Duplicity error pop-up on Ubuntu 16.04
Try:
sudo apt-get remove duplicity
sudo apt-get install duplicity
Or run duplicity --version
and install the missing packages.
Maybe you need additional packages that are missing. I encountered the same issue once I reinstalled the Python.
$ pip install lockfile duplicity PyGObject
Make sure proper(which relates to Python that duplicity uses) pip is used if you use multiple versions of Python.
After you have installed the packages you might be able to ensure duplicity is running properly.
$ duplicity --version
duplicity 0.7.14
In my case, this error was caused because duplicity assumes that you are running python 2.X. I use python 3 - and had the link 'python' in /usr/bin pointing to a python 3 version. Removing that link and creating one that pointed to a python 2 solved the problem.
sudo apt-get update
thensudo apt-get upgrade
thensudo apt-get dist-upgrade
thensudo apt-get autoremove
thensudo apt-get install -f
and finallysudo reboot
. – You'reAGitForNotUsingGit Sep 18 '16 at 19:06