Оба пакета duplicity и python-gi больше не доступны в репозиториях. Я использую Ubuntu 16.04 LTS. Может кто-нибудь предложить решение? Заранее спасибо.
~$ sudo apt-get install duplicity python-gi
Reading package lists... Done
Building dependency tree
Reading state information... Done
Package python-gi is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source
Package duplicity is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source
E: Package 'duplicity' has no installation candidate
E: Package 'python-gi' has no installation candidate
решение1
И duplicity, и python-gi действительно есть в репозиториях 16.04.
Такая ошибка обычно возникает при новой установке, если вы sudo apt update
еще не запускали ее в первый раз, поскольку база данных apt еще пуста.