無法同時安裝套件 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 資料庫仍然是空的。

相關內容