openSSH
samba server
LAMP server
를 설치했습니다.
이 게시물을 참고로 PIWIGO 를 설치하는데
sudo apt-get install php5-gd
에서 자꾸 에러가 나네요.
Get:7 http://us.archive.ubuntu.com/ubuntu/ trusty/main libgd3 amd64 2.1.0-3 [147 kB]
Get:8 http://us.archive.ubuntu.com/ubuntu/ trusty-updates/main php5-gd amd64 5.5.9+dfsg-1ubuntu4.5 [27.9 kB]
Fetched 1,044 kB in 3min 12s (5,418 B/s)
E: Failed to fetch http://us.archive.ubuntu.com/ubuntu/pool/main/f/fonts-dejavu/fonts-dejavu-core_2.34-1ubuntu1_all.deb Connection failed [IP: 91.189.91.13 80]
E: Failed to fetch http://us.archive.ubuntu.com/ubuntu/pool/main/f/fontconfig/fontconfig-config_2.11.0-0ubuntu4.1_all.deb Connection failed [IP: 91.189.91.23 80]
E: Failed to fetch http://us.archive.ubuntu.com/ubuntu/pool/main/f/fontconfig/libfontconfig1_2.11.0-0ubuntu4.1_amd64.deb Connection failed [IP: 91.189.91.13 80]
E: Unable to fetch some archives, maybe run apt-get update or try with --fix-missing?
요론식의 에러가 나는데
도움을 좀 부탁드려도 될까요?
이것을 근 이삼주째 해결 못하고 있는 것 같습니다.
** 하이퍼v 위에 설치했습니다.
apt-get clean && apt-get update && apt-get upgradeÇؼ ½Ã½ºÅÛÀÇ ÆÐÅ°Áö¸¦ ÃÖ½ÅÀ¸·Î °»½ÅÇÏ½Ã°í ´Ù½Ã ½ÃµµÇغ¸¼¼¿ä.
PS: Ȥ½Ã ´Ù¸¥°Å ¼³Ä¡ÇÏ¸é¼ sources.list º¯°æÇϽŰŠÀÖÀ¸¸é ¿ø»óº¹±ÍÇϽñ¸¿ä.
PS2:±×·¡µµ ¿À·ù°¡ ¹ß»ýÇÑ´Ù¸é ´Ù¸¥ ¹Ì·¯¸¦ È®ÀÎÇؼ sources.list¿¡ µîÀçÇÏ¼Å¾ß ÇÒµí ÇÕ´Ï´Ù.
Æødz°Ë»öÀ¸·Î ¸ÕÀú ¼Ò½º¸®½ºÆ®¸¦ ³×¿ÀÀ§Áî·Î º¯°æ ÈÄ »õ·Î ¼³Ä¡Çغ¸´Â ÁßÀÔ´Ï´Ù. ^^
wget http://kr.archive.ubuntu.com/ubuntu/pool/main/libg/libgd2/libgd3_2.1.0-3_amd64.deb
http://security.ubuntu.com/ubuntu/pool/main/p/php5/php5-gd_5.5.9+dfsg-1ubuntu4.5_amd64.deb
wget http://kr.archive.ubuntu.com/ubuntu/pool/main/f/fonts-dejavu/fonts-dejavu-core_2.34-1ubuntu1_all.deb
wget http://kr.archive.ubuntu.com/ubuntu/pool/main/f/fontconfig/fontconfig-config_2.11.0-0ubuntu4.1_all.deb
wget http://kr.archive.ubuntu.com/ubuntu/pool/main/f/fontconfig/libfontconfig1_2.11.0-0ubuntu4.1_amd64.deb
sudo dpkg --install libgd3_2.1.0-3_amd64.deb php5-gd_5.5.9+dfsg-1ubuntu4.5_amd64.deb fonts-dejavu-core_2.34-1ubuntu1_all.deb fontconfig-config_2.11.0-0ubuntu4.1_all.deb libfontconfig1_2.11.0-0ubuntu4.1_amd64.deb
wget http://security.ubuntu.com/ubuntu/pool/main/p/php5/php5-gd_5.5.9+dfsg-1ubuntu4.5_amd64.deb
ÀÌ°Å µÎ°³¸¦ Á¦¿ÜÇÏ°í ³ª¸ÓÁö 3°³´Â ´Ù¿îÀÌ ¾ÈµÇ³×¿ä. ´«¹°
wget ftp://ftp.aesop.or.kr/imsi.zip
unzip imsi.zip
(Reading database ... 59256 files and directories currently installed.)
Preparing to unpack libgd3_2.1.0-3_amd64.deb ...
Unpacking libgd3:amd64 (2.1.0-3) over (2.1.0-3) ...
Preparing to unpack php5-gd_5.5.9+dfsg-1ubuntu4.5_amd64.deb ...
Unpacking php5-gd (5.5.9+dfsg-1ubuntu4.5) over (5.5.9+dfsg-1ubuntu4.5) ...
Preparing to unpack fonts-dejavu-core_2.34-1ubuntu1_all.deb ...
Unpacking fonts-dejavu-core (2.34-1ubuntu1) over (2.34-1ubuntu1) ...
Preparing to unpack fontconfig-config_2.11.0-0ubuntu4.1_all.deb ...
Unpacking fontconfig-config (2.11.0-0ubuntu4.1) over (2.11.0-0ubuntu4.1) ...
Preparing to unpack libfontconfig1_2.11.0-0ubuntu4.1_amd64.deb ...
Unpacking libfontconfig1:amd64 (2.11.0-0ubuntu4.1) over (2.11.0-0ubuntu4.1) ...
dpkg: dependency problems prevent configuration of libgd3:amd64:
libgd3:amd64 depends on libjpeg8 (>= 8c); however:
Package libjpeg8 is not installed.
libgd3:amd64 depends on libtiff5 (>> 4.0.0-1~); however:
Package libtiff5 is not installed.
libgd3:amd64 depends on libvpx1 (>= 1.0.0); however:
Package libvpx1 is not installed.
libgd3:amd64 depends on libxpm4; however:
Package libxpm4 is not installed.
dpkg: error processing package libgd3:amd64 (--install):
dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of php5-gd:
php5-gd depends on libgd3 (>= 2.1.0~alpha~); however:
Package libgd3:amd64 is not configured yet.
php5-gd depends on libxpm4; however:
Package libxpm4 is not installed.
dpkg: error processing package php5-gd (--install):
dependency problems - leaving unconfigured
Setting up fonts-dejavu-core (2.34-1ubuntu1) ...
Setting up fontconfig-config (2.11.0-0ubuntu4.1) ...
Setting up libfontconfig1:amd64 (2.11.0-0ubuntu4.1) ...
Processing triggers for libapache2-mod-php5 (5.5.9+dfsg-1ubuntu4.5) ...
Processing triggers for man-db (2.6.7.1-1ubuntu1) ...
Processing triggers for libc-bin (2.19-0ubuntu6.4) ...
Errors were encountered while processing:
libgd3:amd64
php5-gd
ÀÌ·¸°Ô ³ª¿À³×¿ä.
apt-get install libjpeg8
apt-get install libtiff5
apt-get install libvpx1
apt-get install libxpm4
À» Çغ¼·¡µµ ¾ÈµÇ°í ¤Ð
sudo apt-get update
sudo apt-get upgrade
½ÇÇàÀÌ Á¦´ë·Î µÇÁö ¾Ê´Â ÀÌÀ¯´Â ³Ê¹« ¸¹¾Æ¼ ´Ù ¿°ÅÇϱⰡ Èûµå³×¿ä.
1. ³×Æ®¿öÅ© ¿¬°á ¹®Á¦
2. ³×ÀÓ¼¹ö ¹®Á¦
3. ÁöÁ¤µÈ ÀúÀå¼Ò°¡ µ¿ÀÛÇÏÁö ¾Ê´Â °æ¿ì
4. ¼³Ä¡µÈ ÆÐÅ°Áö ¸ñ·ÏÀÌ ÀúÀåµÈ µ¥ÀÌÅͺ£À̽º ÆÄÀÏÀÌ ±úÁø°æ¿ì
±×¿Ü¿¡µµ ¼öµÎ·è ÇÏ°Ô ¸¹Àºµ¥, Á÷Á¢ ÇØ´ç ¼¹ö¸¦ µé¿©´Ù º¸°í ÀÖÁö ¾Ê´ÂÇÑ, ±×³É ÀüºÎ ÃßÃøÀÏ »ÓÀÔ´Ï´Ù.
È¥ÀÚ¼ °è¼Ó ÀÌ°Í Àú°Í ½Ãµµ¸¦ Çغ¸´Â °ÍÀº ÆÐÅ°Áö ÀÇÁ¸¼ºÀ» ²¿ÀÌ°Ô ¸¸µé°í ½Ã°£¸¸ ÀÚ²Ù ±î¸Ô½À´Ï´Ù.
¸®´ª½º ¼¹ö¸¦ ´Ù·ç´Â ºÐ¿¡°Ô Çѹø ºÁ´Þ¶ó°í ÇÏ½Ã´Â°Ô ÁÁ°Ú½À´Ï´Ù.
nslookup ftp.jaist.ac.jp ¸í·ÉÀ¸·Î ¸ÕÀú ip°¡ ¶ß´ÂÁö È®ÀÎÇغ¸¼¼¿ä.
Server: 192.168.1.1
Address: 192.168.1.1#53
Non-authoritative answer:
Name: ftp.jaist.ac.jp
Address: 150.65.7.130
ÀÌ·¸°Ô ³ª¿É´Ï´Ù.
¿Ã·ÁÁֽŠÆÄÀϵ鵵 Á¤»óÀûÀ¸·Î ´Ù¿î·Îµå µÇ´Â °É ºÁ¼± ÆÐÅ°Áö¼³Á¤À̳ª lan¿µ¿ª¿¡¼ ¹®Á¦°¡ ¾Æ´Ò±î ½ÍÀºµ¥..
Á¤È®ÇÑ ´äº¯ÀÌ ¾Æ´Ï¶ó¼ Á˼ÛÇÕ´Ï´Ù(__)
sudo dpkg --purge --ignore-depends=libgd3:amd64 libgd3:amd64
sudo dpkg --purge --ignore-depends=php5 php5
sudo dpkg --purge --ignore-depends=php-gd php-gd
sudo dpkg --install --ignore-depends=libgd3_2.1.0-3_amd64.deb php5-gd_5.5.9+dfsg-1ubuntu4.5_amd64.deb
ÀÌ·¸°Ô ÁøÇàÇϸé ÀÌÁ¦ PHP-GD¸¸ ¾ÈµÇ³×¿ä ÇÏÇÏÇÏÇÏÇÏÇÏÇÏ
sudo dpkg --install --ignore-depends=php5-gd_5.5.9+dfsg-1ubuntu4.5_amd64.deb
dpkg: error: --install needs at least one package archive file argument
Type dpkg --help for help about installing and deinstalling packages [*];
Use 'apt' or 'aptitude' for user-friendly package management;
Type dpkg -Dhelp for a list of dpkg debug flag values;
Type dpkg --force-help for a list of forcing options;
Type dpkg-deb --help for help about manipulating *.deb files;
Options marked [*] produce a lot of output - pipe it through 'less' or 'more' !
root@dsm:/home/dsm# sudo dpkg --install --ignore-depends=php5-gd_5.5.9+dfsg-1ubuntu4.5_amd64.deb php5-gd_5.5.9+dfsg-1ubuntu4.5_amd64.deb
(Reading database ... 59245 files and directories currently installed.)
Preparing to unpack php5-gd_5.5.9+dfsg-1ubuntu4.5_amd64.deb ...
Unpacking php5-gd (5.5.9+dfsg-1ubuntu4.5) over (5.5.9+dfsg-1ubuntu4.5) ...
dpkg: dependency problems prevent configuration of php5-gd:
php5-gd depends on libgd3 (>= 2.1.0~alpha~); however:
Package libgd3 is not installed.
php5-gd depends on libxpm4; however:
Package libxpm4 is not installed.
dpkg: error processing package php5-gd (--install):
dependency problems - leaving unconfigured
Processing triggers for libapache2-mod-php5 (5.5.9+dfsg-1ubuntu4.5) ...
Errors were encountered while processing:
php5-gd
ÃßÈÄ »èÁ¦ÇÒ°ÍÀ» °í·ÁÇصµ ¼Ò½º ¼³Ä¡°¡ ÁÁ½À´Ï´Ù.