无法同时安装 duplicity 和 python-gi 软件包

无法同时安装 duplicity 和 python-gi 软件包

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 数据库仍然是空的。

相关内容