Page 1 of 1

apt-get update error

Posted: Thu Mar 21, 2013 5:01 am
by prabhatjn
Hi,

I am getting this error after running update command:

Code: Select all

N: Ignoring file 'ubuntu-x-swat-x-updates-quantal.list-201303211251.backup' in directory '/etc/apt/sources.list.d/' as it has an invalid filename extension
W: Failed to fetch http://ppa.launchpad.net/zeitgeist/ppa/ubuntu/dists/quantal/main/source/Sources  404  Not Found

W: Failed to fetch http://ppa.launchpad.net/zeitgeist/ppa/ubuntu/dists/quantal/main/binary-amd64/Packages  404  Not Found

W: Failed to fetch http://ppa.launchpad.net/zeitgeist/ppa/ubuntu/dists/quantal/main/binary-i386/Packages  404  Not Found

E: Some index files failed to download. They have been ignored, or old ones used instead.
I have followed this post http://askubuntu.com/questions/146362/g ... ng-updates but to no effect... (This post asked me to run following commands:

Code: Select all

sudo mv /var/lib/apt/lists{,bakjune4}; 
sudo mv /var/cache/apt/archives/partial{,bakjune4}; 
sudo apt-get update; 
sudo apt-get upgrade;
Can someone please help.

Thanks,
Prabhat.

Re: apt-get update error

Posted: Thu Mar 21, 2013 5:20 am
by catweazel
Try this:

Code: Select all

sudo rm -f /var/lib/apt/lists/*
sudo apt-get update

Re: apt-get update error

Posted: Thu Mar 21, 2013 5:52 am
by prabhatjn
Hi TehGhodTrole,

The solution you have posted did not solve my problem. However I have removed the culprit file zeitgeist-ppa-quantal.list from the directory /etc/apt/sources.list.d and that solved the problem.
The only question now is what are the implications of removing that file. I guess I will not get the zeitgeist updates anymore...

Prabhat.

Re: apt-get update error

Posted: Fri Mar 22, 2013 1:15 am
by catweazel
Killing the repos was the next step. As for Zeitgeist, it's only needed if you want your system to log every file you open, every email you read, every email you write, every website you visit, every picture you view etc etc.

I always uninstall the beastly thing. You're not missing out on anything.