2017-03-17 1 views
2

AWS LinuxインスタンスにFishシェルをインストールできないようです。私は次のエラーが発生し続けるため、修正プログラムが見つからないようです。AWS LinuxにFish Shellをインストールするには

[[email protected] ec2-user]# yum -y install fish 
Loaded plugins: priorities, update-motd, upgrade-helper 
Repository shells_fish_release_2 is listed more than once in the configuration 
Resolving Dependencies 
--> Running transaction check 
---> Package fish.x86_64 0:2.5.0-1.2 will be installed 
--> Processing Dependency: hostname for package: fish-2.5.0-1.2.x86_64 
--> Finished Dependency Resolution 
Error: Package: fish-2.5.0-1.2.x86_64 (shells_fish_release_2) 
      Requires: hostname 
You could try using --skip-broken to work around the problem 
You could try running: rpm -Va --nofiles --nodigest 
+0

上のように私はまた、ホスト名を必要と文句ですが、上記と同様の結果とRPMパッケージを試してみました。 –

答えて

3

同じようにCentOSの6

from:

cd /etc/yum.repos.d/ 
wget http://download.opensuse.org/repositories/shells:fish:release:2/CentOS_6/shells:fish:release:2.repo 
yum install fish 
+1

私はまだ同じエラーが発生します。私はyum updateも実行しました。 –

+0

yum install net-toolsを試してみてください。それはホスト名を提供します – at0mzk

+0

ホスト名はcentos7の独自のパッケージです。aws linuxの場合はcentos 6 repoが必要です。おそらくあなたは7のものを誤ってインストールしました。 – at0mzk

関連する問題