"apt-get update" giving "W: Failed to fetch http://archive.scrapy.org/ubuntu/dists/scrapy/..."

OS: Ubuntu 14.04

I am trying to run "sudo apt-get update", but it results in Scrapy related errors. I even "purged"(uninstalled) Scrapy, but I am still getting this error.

.....
Ign trusty/restricted Translation-en_US
Ign trusty/universe Translation-en_US
Reading package lists... Done
W: Failed to fetch
W: Failed to fetch Could not resolve 'archive.scrapy.org'
W: Some index files failed to download. They have been ignored, or old ones used instead.
1

2 Answers

Check the /etc/apt/sources.list.d/ directory for scrapy occurrences.
Also check this file: /etc/apt/sources.list and delete the line pointing to scrapy, if there is an entry.

After that, sudo apt update should stop showing these error messages.

1

so I did these two steps

sudo mv /etc/apt/sources.list.d/scrapy.list /etc/apt/sources.list_deleted

sudo mv /etc/apt/sources.list.d/scrapy.list.save /etc/apt/sources.list_save_deleted

sudo apt-get update

Your Answer

Sign up or log in

Sign up using Google Sign up using Facebook Sign up using Email and Password

Post as a guest

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

You Might Also Like