UbuntuでPython環境を作ろうとしたらエラーがでました。VagrantのUbuntu14.04です。
apt-get install が 失敗
apt-get でインストールしようとしたところ失敗しました。
sudo apt-get install build-essential zlib1g-dev libbz2-dev libssl-dev libreadline-dev libncurses5-dev libsqlite3-dev libgdbm-dev libdb-dev libexpat-dev libpcap-dev liblzma-dev libpcre3-dev curl python-pip
略
Need to get 3,722 kB/33.5 MB of archives.
After this operation, 126 MB of additional disk space will be used.
Do you want to continue? [Y/n] Y
Err http://ap-northeast-1.ec2.archive.ubuntu.com/ubuntu/ trusty-updates/main linux-libc-dev amd64 3.13.0-48.80
404 Not Found [IP: xxx.xxx.214.78 80]
Err http://security.ubuntu.com/ubuntu/ trusty-security/main linux-libc-dev amd64 3.xxx.0-48.80
404 Not Found [IP: xxx.xxx.91.13 80]
Err http://security.ubuntu.com/ubuntu/ trusty-security/main libdpkg-perl all 1.17.5ubuntu5.3
404 Not Found [IP: xxx.xxx.91.13 80]
Err http://security.ubuntu.com/ubuntu/ trusty-security/main dpkg-dev all 1.17.5ubuntu5.3
404 Not Found [IP: xxx.xxx.91.13 80]
Err http://security.ubuntu.com/ubuntu/ trusty-security/main libssl-dev amd64 1.0.1f-1ubuntu2.11
404 Not Found [IP: xxx.xxx.91.13 80]
Err http://security.ubuntu.com/ubuntu/ trusty-security/main libssl-doc all 1.0.1f-1ubuntu2.11
404 Not Found [IP: xxx.xxx.91.13 80]
libssl-devが入りません(^o^;
apt-get を update する
sudo apt-get update
再度installすると
sudo apt-get install 略
今度は成功しました\(^o^)/