Error in installing ERPnext

Hi! I was trying to install ERPnext by setting up frappe bench but was unable to do so. I tried the Easy way and got the following error

W: Failed to fetch 404 Not Found [IP: 80]

W: Failed to fetch 404 Not Found [IP: 80]

E: Some index files failed to download. They have been ignored, or old ones used instead.
unable to post more…

Can you try using Ubuntu 14.04?

I am using ubuntu 14.04

I had the same problem, got it working by re-installing Ubuntu.
Are u using ubuntu server or desktop?

Ubuntu 14.04 should be “trusty”. Output of cat /etc/lsb-release?

I am sorry for the mistake… I am using ubuntu 14.10
Output of cat /etc/lsb-release is

Edit teh file

remove line 361 and run it

Run, the script w/o production support

sudo bash

Then manually setup production

sudo bench setup production

If restarting nginx fails, restart it using the command,

sudo service nginx reload

I’ll fix the issues with script soon.

I removed line 361…got these errors again

Installing packages for Ubuntu. This might take time…
Ign utopic InRelease
Ign utopic Release.gpg
Ign utopic InRelease
Ign utopic-security InRelease
Ign utopic InRelease
Ign utopic-updates InRelease
Ign utopic Release
Hit utopic-security Release.gpg
Hit utopic Release.gpg
Ign utopic-backports InRelease
Hit utopic-security Release
Hit utopic Release
Hit utopic Release.gpg
Get:1 utopic-security/main Sources [15.7 kB]
Hit utopic/main Sources
Get:2 utopic-updates Release.gpg [933 B]
Hit utopic/main amd64 Packages
Hit utopic-backports Release.gpg
Hit utopic/main i386 Packages
Get:3 utopic-security/restricted Sources [14 B]
Get:4 utopic-security/universe Sources [5,252 B]
Hit utopic Release
Get:5 utopic-updates Release [62.0 kB]
Get:6 utopic-security/multiverse Sources [709 B]
Get:7 utopic-security/main amd64 Packages [47.0 kB]
Hit trusty InRelease
Ign utopic/main Translation-en_IN
Ign utopic/main Translation-en
Hit utopic-backports Release
Hit trusty/main amd64 Packages
Err utopic/main amd64 Packages
404 Not Found [IP: 80]
Get:8 utopic-security/restricted amd64 Packages [14 B]
Hit trusty/main i386 Packages
Err utopic/main i386 Packages
404 Not Found [IP: 80]
Get:9 utopic-security/universe amd64 Packages [24.1 kB]
Ign utopic/main Translation-en_IN
Ign utopic/main Translation-en
Get:10 utopic-security/multiverse amd64 Packages [1,146 B]
Get:11 utopic-security/main i386 Packages [46.6 kB]
Get:12 utopic-security/restricted i386 Packages [14 B]
Ign trusty/main Translation-en_IN
Get:13 utopic-security/universe i386 Packages [24.1 kB]
Ign trusty/main Translation-en
Get:14 utopic-security/multiverse i386 Packages [1,383 B]
Get:15 utopic-updates/main Sources [20.0 kB]
Hit utopic-security/restricted Translation-en
Get:16 utopic-updates/restricted Sources [14 B]
Hit utopic-security/main Translation-en
Get:17 utopic-updates/universe Sources [6,336 B]
Hit utopic-security/multiverse Translation-en
Hit utopic-security/universe Translation-en
Get:18 utopic-updates/multiverse Sources [709 B]
Get:19 utopic-updates/main amd64 Packages [55.9 kB]
Get:20 utopic-updates/restricted amd64 Packages [14 B]
Get:21 utopic-updates/universe amd64 Packages [27.8 kB]
Get:22 utopic-updates/multiverse amd64 Packages [1,146 B]
Get:23 utopic-updates/main i386 Packages [55.0 kB]
Get:24 utopic-updates/restricted i386 Packages [14 B]
Get:25 utopic-updates/universe i386 Packages [27.8 kB]
Get:26 utopic-updates/multiverse i386 Packages [1,383 B]
Hit utopic-updates/restricted Translation-en
Hit utopic-backports/main Sources
Hit utopic-backports/restricted Sources
Hit utopic-backports/multiverse Sources
Hit utopic-backports/main amd64 Packages
Hit utopic-backports/restricted amd64 Packages
Hit utopic-backports/multiverse amd64 Packages
Hit utopic-backports/main i386 Packages
Hit utopic-backports/restricted i386 Packages
Hit utopic-backports/multiverse i386 Packages
Hit utopic-backports/main Translation-en
Hit utopic-backports/multiverse Translation-en
Hit utopic-backports/restricted Translation-en
Hit utopic/main Sources
Hit utopic/restricted Sources
Hit utopic/universe Sources
Hit utopic/multiverse Sources
Hit utopic/main amd64 Packages
Hit utopic/restricted amd64 Packages
Hit utopic/universe amd64 Packages
Hit utopic/multiverse amd64 Packages
Hit utopic/main i386 Packages
Hit utopic/restricted i386 Packages
Hit utopic/universe i386 Packages
Hit utopic/multiverse i386 Packages
Hit utopic/main Translation-en
Hit utopic/multiverse Translation-en
Hit utopic/restricted Translation-en
Hit utopic/universe Translation-en
Hit utopic-updates/main Translation-en
Hit utopic-updates/multiverse Translation-en
Hit utopic-updates/universe Translation-en
Hit utopic-backports/universe Sources
Hit utopic-backports/universe amd64 Packages
Hit utopic-backports/universe i386 Packages
Hit utopic-backports/universe Translation-en
Fetched 425 kB in 49s (8,515 B/s)
W: Failed to fetch 404 Not Found [IP: 80]

W: Failed to fetch 404 Not Found [IP: 80]

E: Some index files failed to download. They have been ignored, or old ones used instead.

Can you /etc/sources.list to remove the faulty lines with and try again?