Installing Frappe/bench in developer version

I have been trying to install frappe/bench developer version. I am getting this error continuously -

Installing for Ubuntu vivid amd64
In case you encounter an error, you can post on

Adding ubuntu mariadb repo
Hit vivid InRelease
Hit vivid InRelease
Get:1 vivid-security InRelease [64.4 kB]
Hit vivid InRelease
Ign vivid InRelease
Ign ./ InRelease
Ign vivid InRelease
Get:2 vivid-updates InRelease [64.4 kB]
Ign vivid InRelease
Hit vivid Release.gpg
Hit ./ Release.gpg
Hit vivid InRelease
Get:3 vivid-security/main Sources [53.7 kB]
Hit ./ Release
Hit vivid Release
Hit vivid/main amd64 Packages
Hit vivid-backports InRelease
Ign vivid Release.gpg
Hit vivid/main i386 Packages
Get:4 vivid/main amd64 Packages [1,148 B]
Get:5 vivid-security/restricted Sources [3,418 B]
Hit vivid Release.gpg
Get:6 vivid/main i386 Packages [1,148 B]
Get:7 vivid-security/universe Sources [20.7 kB]
Hit ./ Packages
Hit vivid/main amd64 Packages
Get:8 vivid-security/multiverse Sources [1,937 B]
Hit vivid/main i386 Packages
Get:9 vivid-security/main amd64 Packages [166 kB]
Hit vivid/main Translation-en
Ign vivid Release
Ign vivid/main Translation-en_US
Hit vivid Release
Ign vivid/main Translation-en
Hit vivid/main amd64 Packages
Hit vivid/main i386 Packages
Ign vivid/main Translation-en_US
Hit vivid/main Translation-en
Ign vivid/main Translation-en
Ign ./ Translation-en_US
Ign ./ Translation-en
Get:10 vivid-security/restricted amd64 Packages [11.2 kB]
Get:11 vivid-updates/main Sources [107 kB]
Get:12 vivid-security/universe amd64 Packages [66.3 kB]
Hit vivid/main amd64 Packages
Hit vivid/main i386 Packages
Hit vivid/main Translation-en
Get:13 vivid-security/multiverse amd64 Packages [6,045 B]
Get:14 vivid-updates/restricted Sources [4,351 B]
Get:15 vivid-security/main i386 Packages [165 kB]
Get:16 vivid-updates/universe Sources [47.7 kB]
Get:17 vivid-security/restricted i386 Packages [10.9 kB]
Get:18 vivid-security/universe i386 Packages [66.3 kB]
Err vivid/main amd64 Packages
  404  Not Found
Get:19 vivid-updates/multiverse Sources [1,937 B]
Err vivid/main i386 Packages
  404  Not Found
Get:20 vivid-updates/main amd64 Packages [260 kB]
Ign vivid/main Translation-en_US
Ign vivid/main Translation-en
Get:21 vivid-security/multiverse i386 Packages [6,198 B]
Get:22 vivid-updates/restricted amd64 Packages [13.6 kB]
Get:23 vivid-updates/universe amd64 Packages [127 kB]
Hit vivid-security/main Translation-en
Hit vivid-security/multiverse Translation-en
Hit vivid-security/restricted Translation-en
Hit vivid-security/universe Translation-en
Get:24 vivid-updates/multiverse amd64 Packages [6,045 B]
Get:25 vivid-updates/main i386 Packages [257 kB]
Get:26 vivid-updates/restricted i386 Packages [13.3 kB]
Get:27 vivid-updates/universe i386 Packages [127 kB]
Get:28 vivid-updates/multiverse i386 Packages [6,198 B]
Hit vivid-backports/restricted Sources
Hit vivid-backports/multiverse Sources
Hit vivid-backports/restricted amd64 Packages
Hit vivid-backports/multiverse amd64 Packages
Hit vivid-backports/restricted i386 Packages
Hit vivid-backports/multiverse i386 Packages
Hit vivid-backports/multiverse Translation-en
Hit vivid-backports/restricted Translation-en
Hit vivid/main Sources
Hit vivid/restricted Sources
Hit vivid/universe Sources
Hit vivid/multiverse Sources
Hit vivid/main amd64 Packages
Hit vivid/restricted amd64 Packages
Hit vivid/universe amd64 Packages
Hit vivid/multiverse amd64 Packages
Hit vivid/main i386 Packages
Hit vivid/restricted i386 Packages
Hit vivid/universe i386 Packages
Hit vivid/multiverse i386 Packages
Hit vivid/main Translation-en
Hit vivid/multiverse Translation-en
Hit vivid/restricted Translation-en
Hit vivid/universe Translation-en
Hit vivid-updates/main Translation-en
Hit vivid-updates/multiverse Translation-en
Hit vivid-updates/restricted Translation-en
Hit vivid-updates/universe Translation-en
Hit vivid-backports/main Sources
Hit vivid-backports/universe Sources
Hit vivid-backports/main amd64 Packages
Hit vivid-backports/universe amd64 Packages
Hit vivid-backports/main i386 Packages
Hit vivid-backports/universe i386 Packages
Hit vivid-backports/main Translation-en
Hit vivid-backports/universe Translation-en
Fetched 1,678 kB in 43s (38.2 kB/s)
W: Failed to fetch  404  Not Found

W: Failed to fetch  404  Not Found

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

How can i solve this?

@ni8mr, your issue is not related to Frappe / ERPNext / Bench tool, it is clearly an issue with failed repository added.
Read more about how to fix problem or give search on Ubuntu forum for similar issues.

How to Fix it:

Other easiest way is running Virtual Machine checkout: