# Failed to install

**URL:** <https://www.ruby-forum.com/t/failed-to-install/229796>\
**Category:** NGINX\
**Created:** [January 22, 2013, 1:14pm UTC](https://www.ruby-forum.com/t/failed-to-install/229796 "2013-01-22T13:14:50Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![casper\_the\_ghost](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/c/58956e/32.png) [@casper\_the\_ghost](https://www.ruby-forum.com/u/casper_the_ghost)\
**Post date:** [January 22, 2013, 1:14pm UTC](https://www.ruby-forum.com/t/failed-to-install/229796/1 "2013-01-22T13:14:50Z")

</div>

Hi to all,  
I am in China and I just followed the instructions reported here:  
[http://www.nginx.org/en/download.html](http://www.nginx.org/en/download.html)  
but after running the “sudo apt-get update” command I get the following  
error:

W: Impossibile recuperare  
[http://nginx.org/packages/debian/dists/quantal/nginx/source/Sources](http://nginx.org/packages/debian/dists/quantal/nginx/source/Sources) 404  
Not Found

W: Impossibile recuperare  
[http://nginx.org/packages/debian/dists/quantal/nginx/binary-i386/Packages](http://nginx.org/packages/debian/dists/quantal/nginx/binary-i386/Packages)  
404  
Not Found

E: Impossibile scaricare alcuni file di indice: saranno ignorati o  
verranno usati quelli vecchi.

What can I do?  
Thanks.  
Kubuntu 12.10

---

<div class="post-metadata">

**Author:** ![casper\_the\_ghost](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/c/58956e/32.png) [@casper\_the\_ghost](https://www.ruby-forum.com/u/casper_the_ghost)\
**Post date:** [January 22, 2013, 1:20pm UTC](https://www.ruby-forum.com/t/failed-to-install/229796/2 "2013-01-22T13:20:06Z")

</div>

On 22 Jan2013, at 16:14 , [removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid) wrote:

> What can I do?

You have added incorrect line to /etc/apt/sources.list. Replace  
‘deb [Index of /packages/debian/](http://nginx.org/packages/debian/) quantal nginx’ with  
‘deb [Index of /packages/ubuntu/](http://nginx.org/packages/ubuntu/) quantal nginx’  
and run apt-get update
