Пересобираю nginx, получаю такую ошибку
.configure
...
checking for GD library ... not found
checking for GD library in /usr/local/ ... not found
checking for GD library in /usr/pkg/ ... not found
checking for GD library in /opt/local/ ... not found
root@vds:~/nginx-1.10.3# apt install libgd-dev
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following additional packages will be installed:
libexpat1-dev libfontconfig1-dev libfreetype6-dev libice-dev libice6 libjbig-dev libjpeg-dev libjpeg62-turbo-dev liblzma-dev libpng-dev libpng-tools
libpthread-stubs0-dev libsm-dev libsm6 libtiff5-dev libtiffxx5 libvpx-dev libvpx4 libx11-dev libx11-doc libxau-dev libxcb1-dev libxdmcp-dev libxpm-dev libxt-dev
libxt6 pkg-config x11-common x11proto-core-dev x11proto-input-dev x11proto-kb-dev xorg-sgml-doctools xtrans-dev
Suggested packages:
libice-doc liblzma-doc libsm-doc libxcb-doc libxt-doc
The following NEW packages will be installed:
libexpat1-dev libfontconfig1-dev libfreetype6-dev libgd-dev libice-dev libice6 libjbig-dev libjpeg-dev libjpeg62-turbo-dev liblzma-dev libpng-dev libpng-tools
libpthread-stubs0-dev libsm-dev libsm6 libtiff5-dev libtiffxx5 libvpx-dev libvpx4 libx11-dev libx11-doc libxau-dev libxcb1-dev libxdmcp-dev libxpm-dev libxt-dev
libxt6 pkg-config x11-common x11proto-core-dev x11proto-input-dev x11proto-kb-dev xorg-sgml-doctools xtrans-dev
0 upgraded, 34 newly installed, 0 to remove and 0 not upgraded.
Need to get 169 kB/16.0 MB of archives.
After this operation, 44.0 MB of additional disk space will be used.
Do you want to continue? [Y/n] y
Err:1 http://httpredir.debian.org/debian stretch/main amd64 libxcb1-dev amd64 1.12-1
404 Not Found [IP: 146.75.118.132 80]
E: Failed to fetch http://httpredir.debian.org/debian/pool/main/libx/libxcb/libxcb1-dev_1.12-1_amd64.deb 404 Not Found [IP: 146.75.118.132 80]
E: Unable to fetch some archives, maybe run apt-get update or try with --fix-missing?