apt-get update error

Questions about applications and software
Forum rules
Before you post read how to get help. Topics in this forum are automatically closed 6 months after creation.
Locked
prabhatjn

apt-get update error

Post 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.
Last edited by LockBot on Wed Dec 28, 2022 7:16 am, edited 1 time in total.
Reason: Topic automatically closed 6 months after creation. New replies are no longer allowed.
User avatar
catweazel
Level 19
Level 19
Posts: 9763
Joined: Fri Oct 12, 2012 9:44 pm
Location: Australian Antarctic Territory

Re: apt-get update error

Post by catweazel »

Try this:

Code: Select all

sudo rm -f /var/lib/apt/lists/*
sudo apt-get update
"There is, ultimately, only one truth -- cogito, ergo sum -- everything else is an assumption." - Me, my swansong.
prabhatjn

Re: apt-get update error

Post 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.
User avatar
catweazel
Level 19
Level 19
Posts: 9763
Joined: Fri Oct 12, 2012 9:44 pm
Location: Australian Antarctic Territory

Re: apt-get update error

Post 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.
"There is, ultimately, only one truth -- cogito, ergo sum -- everything else is an assumption." - Me, my swansong.
Locked

Return to “Software & Applications”