Kali Linuxにphpmyadminを追加したいです。ただし、次のエラーが発生します。まず、apt-get updateを実行しましたが、次のコマンドよりも正常に実行されました。これは apt-get update の出力です。
root@kali:~# sudo apt-get update
Hit http://http.kali.org kali InRelease
Hit http://http.kali.org kali/main Sources
Hit http://http.kali.org kali/non-free Sources
Hit http://http.kali.org kali/contrib Sources
Hit http://http.kali.org kali/main i386 Packages
Hit http://http.kali.org kali/non-free i386 Packages
Hit http://http.kali.org kali/contrib i386 Packages
Ign http://dl.google.com stable InRelease
Hit http://dl.google.com stable Release.gpg
Hit http://dl.google.com stable Release
Hit http://dl.google.com stable/main i386 Packages
Hit http://security.kali.org kali/updates InRelease
Ign http://dl.google.com stable/main Translation-en_IN
Ign http://dl.google.com stable/main Translation-en
Hit http://security.kali.org kali/updates/main i386 Packages
Hit http://security.kali.org kali/updates/contrib i386 Packages
Hit http://security.kali.org kali/updates/non-free i386 Packages
Ign http://http.kali.org kali/contrib Translation-en_IN
Ign http://http.kali.org kali/contrib Translation-en
Ign http://http.kali.org kali/main Translation-en_IN
Ign http://http.kali.org kali/main Translation-en
Ign http://http.kali.org kali/non-free Translation-en_IN
Ign http://http.kali.org kali/non-free Translation-en
Ign http://security.kali.org kali/updates/contrib Translation-en_IN
Ign http://security.kali.org kali/updates/contrib Translation-en
Ign http://security.kali.org kali/updates/main Translation-en_IN
Ign http://security.kali.org kali/updates/main Translation-en
Ign http://security.kali.org kali/updates/non-free Translation-en_IN
Ign http://security.kali.org kali/updates/non-free Translation-en
Reading package lists... Done
root@kali:~#
その後、エラーを示す次のことを試しました! !
root@kali:~# sudo apt-get install phpmyadmin
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following extra packages will be installed:
dbconfig-common libapache2-mod-php5 libmcrypt4 php5-cli php5-common php5-gd php5-mcrypt php5-mysql
Suggested packages:
php-pear libmcrypt-dev mcrypt
The following NEW packages will be installed:
dbconfig-common libmcrypt4 php5-gd php5-mcrypt phpmyadmin
The following packages will be upgraded:
libapache2-mod-php5 php5-cli php5-common php5-mysql
4 upgraded, 5 newly installed, 0 to remove and 635 not upgraded.
Need to get 5,503 kB/12.0 MB of archives.
After this operation, 17.2 MB of additional disk space will be used.
Do you want to continue [Y/n]? y
Err http://security.kali.org/kali-security/ kali/updates/main phpmyadmin all 4:3.4.11.1-2+deb7u1
Connection failed
Failed to fetch http://security.kali.org/kali-security/pool/main/p/phpmyadmin/phpmyadmin_3.4.11.1-2+deb7u1_all.deb Connection failed
E: Unable to fetch some archives, maybe run apt-get update or try with --fix-missing?
ベストアンサー1
security.kali.org Webサイトに問題がある可能性があります。 pingを試してみてください:
[root@fly2 ~]# ping -c 3 security.kali.org
PING security.kali.org (173.246.39.190) 56(84) bytes of data.
64 bytes from http.kali.org (173.246.39.190): icmp_seq=1 ttl=57 time=126 ms
64 bytes from http.kali.org (173.246.39.190): icmp_seq=2 ttl=57 time=127 ms
64 bytes from http.kali.org (173.246.39.190): icmp_seq=3 ttl=57 time=126 ms
これは、ウェブサイトが正しく機能していることを示します。ナビゲーションを試すこともできます。http://security.kali.org/kali-security/ディレクトリのリストを取得したことを確認してください。うまくいったらもう一度やり直してください。