
Ubuntu日本語フォーラム
ログインしていません。
こんにちは
サーバー関連ですが、インストールできない事象ですので、
「インストールとアップデート」に投稿しました。
Ubuntu 18.04.1 serverを使用しています。
$ sudo apt install ddclient
Reading package list...Done
Building dependency true
Reading state information ...Done
E:Unable to locate package ddclient
となり、インストールできません。
repositoryの追加もしてみました。
sudo add-apt-repository universe
sudo add-apt-repository restricted
sudo add-apt-repository multiverse
参照URL:
https://askubuntu.com/questions/378558/ … s-with-apt
試しに
Ubuntu 18.04.1desktopで
$ sudo apt install ddclient
するだけでインストールできました。
解決策をご存じの方、お教えください。
オフライン
追加で現情を報告します。
serverにて
cat /etc/apt/sources.list
すると
deb http://archive.ubuntu.com/ubuntu bionic main universe restricted multiverse deb http://archive.ubuntu.com/ubuntu bionic-security main universe restricted multiverse deb http://archive.ubuntu.com/ubuntu bionic-updates main universe restricted multiverse
となっていました。
そこでdesktopの以下のリポジトリも追記しました
deb http://archive.ubuntu.com/ubuntu bionic main universe restricted multiverse deb http://archive.ubuntu.com/ubuntu bionic-security main universe restricted multiverse deb http://archive.ubuntu.com/ubuntu bionic-updates main universe restricted multiverse
そして
sudo apt-get update
したところ
Err:1 http://archive.ubuntu.com/ubuntu bionic InRelease Temporary failure resolving 'archive.ubuntu.com' Err:2 http://jp.archive.ubuntu.com/ubuntu bionic InRelease Temporary failure resolving 'jp.archive.ubuntu.com' Err:3 http://archive.ubuntu.com/ubunt bionic-security InRelease Temporary failure resolving 'archive.ubuntu.com' Err:4 http://jp.archive.ubuntu.com/ubuntu bionic-security InRelease Temporary failure resolving 'jp.archive.ubuntu.com' Err:5 http://archive.ubuntu.com/ubuntu bionic-updates InRelease Temporary failure resolving 'archive.ubuntu.com' Err:6 http://jp.archive.ubuntu.com/ubuntu bionic-updates InRelease Temporary failure resolving 'jp.archive.ubuntu.com' Err:7 http://jp.archive.ubuntu.com/ubuntu bionic-backports InRelease Temporary failure resolving 'jp.archive.ubuntu.com' Reading package lists... Done W: Failed to fetch http://archive.ubuntu.com/ubuntu/dists/bionic/InRelease Temporary failure resolving 'archive.ubuntu.com' W: Failed to fetch http://archive.ubuntu.com/ubunt/dists/bionic-security/InRelease Temporary failure resolving 'archive.ubuntu.com' W: Failed to fetch http://archive.ubuntu.com/ubuntu/dists/bionic-updates/InRelease Temporary failure resolving 'archive.ubuntu.com' W: Failed to fetch http://jp.archive.ubuntu.com/ubuntu/dists/bionic/InRelease Temporary failure resolving 'jp.archive.ubuntu.com' W: Failed to fetch http://jp.archive.ubuntu.com/ubuntu/dists/bionic-security/InRelease Temporary failure resolving 'jp.archive.ubuntu.com' W: Failed to fetch http://jp.archive.ubuntu.com/ubuntu/dists/bionic-updates/InRelease Temporary failure resolving 'jp.archive.ubuntu.com' W: Failed to fetch http://jp.archive.ubuntu.com/ubuntu/dists/bionic-backports/InRelease Temporary failure resolving 'jp.archive.ubuntu.com' W: Some index files failed to download. They have been ignored, or old ones used instead.
となりました。
「うまく持ってこられない」ようですが、これが原因でしょうか?
なおDesktopでは
sudo apt-get update ヒット:1 http://archive.ubuntulinux.jp/ubuntu bionic InRelease ヒット:2 http://jp.archive.ubuntu.com/ubuntu bionic InRelease ヒット:3 http://archive.ubuntulinux.jp/ubuntu-ja-non-free bionic InRelease ヒット:4 http://jp.archive.ubuntu.com/ubuntu bionic-updates InRelease ヒット:5 http://jp.archive.ubuntu.com/ubuntu bionic-backports InRelease ヒット:6 http://security.ubuntu.com/ubuntu bionic-security InRelease パッケージリストを読み込んでいます... 完了
となり、正常に終了します
おわかりの方どうぞお教えください。
よろしくお願いいたします。
オフライン