お知らせ

  • 利用規約を守って投稿してください。また、よくある質問および投稿の手引きも参照してください。
  • メッセージの投稿にはアカウントが必要です。未登録の方は、ユーザ登録ページからアカウントを作成することができます。

#1 2018-10-12 11:13:32

shermansweet
メンバ
From: Tokyo Japan
登録日: 2009-09-15

ddclientがインストールできないUnable to locate package ddclient

こんにちは
サーバー関連ですが、インストールできない事象ですので、
「インストールとアップデート」に投稿しました。

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
するだけでインストールできました。

解決策をご存じの方、お教えください。

オフライン

 

#2 2018-10-17 10:32:56

shermansweet
メンバ
From: Tokyo Japan
登録日: 2009-09-15

Re: ddclientがインストールできないUnable to locate package 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                                     
パッケージリストを読み込んでいます... 完了

となり、正常に終了します

おわかりの方どうぞお教えください。
よろしくお願いいたします。

オフライン

 

Board footer

Powered by FluxBB