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 データベースがまだ空であるため、初めて実行していない場合の新規インストールで発生します。

関連情報