11
7

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 5 years have passed since last update.

apt-get install で libssl-dev が 404 Not found と言われました。

Last updated at Posted at 2015-11-06

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^)/

11
7
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
11
7

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?