PDA

View Full Version : [ubuntu] W: Failed to fetch ... PPA



enmapa
October 30th, 2014, 03:25 PM
Hi all (new-old member from France) i'm encountering a problem updating ubuntu from terminal and ubuntu package manager, both. When i try sudo apt-get update && sudo apt-get upgrade my sys give me this:


W: Failed to fetch http://ppa.launchpad.net/langdalepl/gvfs-mtp/ubuntu/dists/trusty/main/binary-i386/Packages 404 Not Found

W: Failed to fetch http://ppa.launchpad.net/nikount/orta-desktop/ubuntu/dists/trusty/main/binary-i386/Packages 404 Not Found


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

Now i'd try some workout found on the internet (forum here, askubuntu and many others), they let me remove the existing trusted GPG key from the folder /etc/apt/trusted.gpg.d/,
or remove the content of list with sudo rm -fR /var/lib/apt/lists/*, but nothing worked and plus i have now my source lists completely empty.

What can i do?
thanks en avantage

oldos2er
October 30th, 2014, 04:10 PM
If you visit http://ppa.launchpad.net/langdalepl/gvfs-mtp/ubuntu/dists/ you can see there's no trusty repo, raring is the last Ubuntu version listed and is EOL itself. You need to remove that PPA from your sources.


i'd try some workout found on the internet (forum here, askubuntu and many others), they let me remove the existing trusted GPG key from the folder /etc/apt/trusted.gpg.d/,
or remove the content of list with sudo rm -fR /var/lib/apt/lists/*, but nothing worked and plus i have now my source lists completely empty.

This is why it's not a good idea to run commands, especially any 'sudo rm' commands, without knowing what they're going to do. In your case it was completely unnecessary and useless, as you found out.

After you've removed the PPA, run
sudo apt-get update to regenerate your sources lists.

enmapa
October 30th, 2014, 04:17 PM
You're brave, Gandalf, problem is confidence in everybody :p, said so... i thank you for your answer first, and that said too i'm coming to ask you how do i do that?
I think source list may be empty at this point, as i said. So i need to reset the whole thing now?

Thanks for your help

P.s. it's a bloody fight me and ubuntu, i assure you :)

oldos2er
October 30th, 2014, 04:28 PM
In Software Center go to Edit -> Software Sources. You can add or remove PPAs from here.