¿ìºÐÅõ ¼­¹ö¿¡ PHP-GD ¼³Ä¡ Áß¿¡ ³­ ¿¡·¯Àε¥,, µµ¿ò ºÎŹµå¸³´Ï´Ù.

³ªºñz   
   Á¶È¸ 7624   Ãßõ 0    

우분투 서버 14.04 LTS 설치하면서

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: Unable to fetch some archives, maybe run apt-get update or try with --fix-missing?

요론식의 에러가 나는데

도움을 좀 부탁드려도 될까요?

이것을 근 이삼주째 해결 못하고 있는 것 같습니다.



** 하이퍼v 위에 설치했습니다.
ªÀº±Û Àϼö·Ï ½ÅÁßÇÏ°Ô.
Villanus 2015-01
Get 7,8ÀÇ ³»¿ªÀÌ Á¤»óÀ̱º¿ä. ±×·¯¸é, Àú°Ç ¹Ì·¯¿¡ ÆÄÀÏÀÌ ¾ø´Â°Ì´Ï´Ù.
apt-get clean && apt-get update && apt-get upgradeÇؼ­ ½Ã½ºÅÛÀÇ ÆÐÅ°Áö¸¦ ÃÖ½ÅÀ¸·Î °»½ÅÇÏ½Ã°í ´Ù½Ã ½ÃµµÇغ¸¼¼¿ä.
PS: Ȥ½Ã ´Ù¸¥°Å ¼³Ä¡Çϸ鼭 sources.list º¯°æÇϽŰŠÀÖÀ¸¸é ¿ø»óº¹±ÍÇϽñ¸¿ä.
PS2:±×·¡µµ ¿À·ù°¡ ¹ß»ýÇÑ´Ù¸é ´Ù¸¥ ¹Ì·¯¸¦ È®ÀÎÇؼ­ sources.list¿¡ µîÀçÇÏ¼Å¾ß ÇÒµí ÇÕ´Ï´Ù.
³ªºñ 2015-01
°í¸¿½À´Ï´Ù.

Æødz°Ë»öÀ¸·Î ¸ÕÀú ¼Ò½º¸®½ºÆ®¸¦ ³×¿ÀÀ§Áî·Î º¯°æ ÈÄ »õ·Î ¼³Ä¡Çغ¸´Â ÁßÀÔ´Ï´Ù. ^^
³ªºñ 2015-01
³×¿ÀÀ§Áî ¹Ì·¯¼­¹ö¿Í ftp.jaist.ac.jp ¹Ì·¯¼­¹öµµ ±×·¯³×¿ä. ÈľÐ
³×¿ÀÀ§Áî ¸»°í ftp.daum.net µµ ÀÖ½À´Ï´Ù. ¹Ù²ã¼­ ½ÃµµÇØ º¸¼¼¿ä.
±×·¡µµ ¾ÈµÈ´Ù¸é ¸¶Áö¸· ½Ãµµ ¹æ¹ýÀº Á÷Á¢ ´Ù¿î·Îµå ÇÏ¿© ¼³Ä¡ÇÏ´Â ¹æ¹ýÀÌ ÀÖ½À´Ï´Ù.

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
     
³ªºñ 2015-01
wget http://kr.archive.ubuntu.com/ubuntu/pool/main/libg/libgd2/libgd3_2.1.0-3_amd64.deb
wget http://security.ubuntu.com/ubuntu/pool/main/p/php5/php5-gd_5.5.9+dfsg-1ubuntu4.5_amd64.deb

ÀÌ°Å µÎ°³¸¦ Á¦¿ÜÇÏ°í ³ª¸ÓÁö 3°³´Â ´Ù¿îÀÌ ¾ÈµÇ³×¿ä. ´«¹°
          
ÇѲ¨¹ø¿¡ ¹­¾î¼­ ¿Ã·ÁµÎ¾ú½À´Ï´Ù. wget À¸·Î ¹Þ¾Æ¼­ unzip À¸·Î Ç®¸é µË´Ï´Ù.

wget ftp://ftp.aesop.or.kr/imsi.zip

unzip imsi.zip
               
³ªºñ 2015-01
°í¸¿½À´Ï´Ù. ^^
               
³ªºñ 2015-01
root@dsm:/home/dsm# 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
(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. ¼³Ä¡µÈ ÆÐÅ°Áö ¸ñ·ÏÀÌ ÀúÀåµÈ µ¥ÀÌÅͺ£À̽º ÆÄÀÏÀÌ ±úÁø°æ¿ì

±×¿Ü¿¡µµ ¼öµÎ·è ÇÏ°Ô ¸¹Àºµ¥, Á÷Á¢ ÇØ´ç ¼­¹ö¸¦ µé¿©´Ù º¸°í ÀÖÁö ¾Ê´ÂÇÑ, ±×³É ÀüºÎ ÃßÃøÀÏ »ÓÀÔ´Ï´Ù.

È¥ÀÚ¼­ °è¼Ó ÀÌ°Í Àú°Í ½Ãµµ¸¦ Çغ¸´Â °ÍÀº ÆÐÅ°Áö ÀÇÁ¸¼ºÀ» ²¿ÀÌ°Ô ¸¸µé°í ½Ã°£¸¸ ÀÚ²Ù ±î¸Ô½À´Ï´Ù.
¸®´ª½º ¼­¹ö¸¦ ´Ù·ç´Â ºÐ¿¡°Ô Çѹø ºÁ´Þ¶ó°í ÇÏ½Ã´Â°Ô ÁÁ°Ú½À´Ï´Ù.
±èÀ±¼ú 2015-01
install ÇÏÁö¸»°í update Ç϶ó´Â°Å °°Àºµ¥...
     
³ªºñ 2015-01
apt-get update ¸»°í Ȥ ´Ù¸¥°É ÇؾßÇϳª¿ä?
µµ¸ÞÀÎ resolving ¹®Á¦ °°½À´Ï´Ù.
nslookup ftp.jaist.ac.jp ¸í·ÉÀ¸·Î ¸ÕÀú ip°¡ ¶ß´ÂÁö È®ÀÎÇغ¸¼¼¿ä.
     
³ªºñ 2015-01
root@dsm:/home/dsm# nslookup ftp.jaist.ac.jp
Server:        192.168.1.1
Address:        192.168.1.1#53

Non-authoritative answer:
Name:  ftp.jaist.ac.jp
Address: 150.65.7.130

ÀÌ·¸°Ô ³ª¿É´Ï´Ù.
          
dnsÄõ¸®´Â Á¤»óÀÎ °Í °°°í¿ä.
¿Ã·ÁÁֽŠÆÄÀϵ鵵 Á¤»óÀûÀ¸·Î ´Ù¿î·Îµå µÇ´Â °É ºÁ¼± ÆÐÅ°Áö¼³Á¤À̳ª lan¿µ¿ª¿¡¼­ ¹®Á¦°¡ ¾Æ´Ò±î ½ÍÀºµ¥..
Á¤È®ÇÑ ´äº¯ÀÌ ¾Æ´Ï¶ó¼­ Á˼ÛÇÕ´Ï´Ù(__)
               
³ªºñ 2015-01
¾Æ´Õ´Ï´Ù Ä£ÀýÇÑ ¼³¸í °í¸¿½À´Ï´Ù. ^^
³ªºñ 2015-01
ÀÇÁ¸¼º ¹«½ÃÇÑä »èÁ¦¸¦ ÇÏ°í
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
ȸ¿øK 2015-01
yumÀ¸·Î ÇÏ¸é ¿øÄ¡¾Ê´Â ¾÷µ¥ÀÌÆ®°¡ ÀϾ ¼ö Àֱ⠶§¹®¿¡ apmÀº ¼Ò½º ÄÄÆÄÀÏÀ» ÇÕ´Ï´Ù.
     
°øµ¹ÀÌ 2015-01
+1
ÃßÈÄ »èÁ¦ÇÒ°ÍÀ» °í·ÁÇصµ ¼Ò½º ¼³Ä¡°¡ ÁÁ½À´Ï´Ù.


QnA
Á¦¸ñPage 1220/5688
2014-05   5004436   Á¤ÀºÁØ1
2015-12   1540211   ¹é¸Þ°¡
2004-04   7625   Á¤ÀαÇ
2009-07   7625   ¹Úµ¿¼·
2010-02   7625   µðºñµö
2004-12   7625   ±è»ó¿ì
2010-07   7625   ¹é½Âö
2013-01   7624   ´ë´Ï¹Ú
2020-09   7624   Æä¼±»ý
2004-01   7624   ÀÌ»óÇö
2010-05   7624   Á¤¿ë°ü
2009-09   7624   ±è½ÂÈÆ
2019-08   7623   ¼ÛÁÖȯ
2010-08   7623   ÀϹÝÀ¯Àú
2015-06   7623   ÁÒ½´¾Æ
2004-11   7623   Á¤Áø±â
2015-04   7623   ½Öcpu
2020-09   7622   ¾ç½Ã¿­
2011-07   7622   ÀÌ´ëÈñ
2004-05   7622   ±èÇпµ
2014-11   7622   ȸ¿øK
2004-07   7622   ÀÌÀ±¼º