T
T
Timur2013-09-29 13:52:55
linux
Timur, 2013-09-29 13:52:55

Can't install nginx from nginx.org repository on ubuntu server 13.04?

Ubuntu Server 13.04 x64
I'm trying to install nginx according to the instructions nginx.org/en/linux_packages.html
I'm doing :

wget http://nginx.org/keys/nginx_signing.key
sudo apt-key add nginx_signing.key
sudo sh -c "echo 'deb http://nginx.org/packages/debian/ raring nginx' >> /etc/apt/sources.list"

sudo sh -c "echo 'deb-src http://nginx.org/packages/mainline/debian/ raring nginx' >> /etc/apt/sources.list"

sudo apt-get update

After sudo apt-get update I get
nginx.org raring /nginx amd64 Packages
404 Not Found
nginx.org raring / nginx i386 Packages
404 Not Found
nginx.org raring / nginx nginx Translation-en Error nginx.org raring /nginx Sources 404 Not Found W: Failed to get nginx.org/packages/debian/dists/raring/nginx/binar... 404 Not Found W: Failed to get nginx.org/ packages/debian/dists/raring/nginx/binar... 404 Not Found W: Failed to get
nginx.org/packages/mainline/debian/dists/raring/ng... 404 Not Found
E: Some index files were not downloaded. They were ignored or older versions were used instead.

Please tell me what am I doing wrong?

Answer the question

In order to leave comments, you need to log in

2 answer(s)
T
Timur, 2013-09-29
@XAKEPEHOK

Changed to
deb http://nginx.org/packages/ubuntu/ codename nginx
deb-src http://nginx.org/packages/ubuntu/ codename nginx
and everything worked. Simple inattention

S
smartlight, 2013-09-29
@smartlight

There is no support for the raring distribution.
There is only wheezy and squeeze.
See for yourself at the link you add to /etc/apt/sources.list

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question