How do I remove a broken software source?
Solution 1:
What version of ubuntu are you using? You tried to add the gusty repository which was from something like ubuntu 7.10. So open the dialog where you can change your software sources (depends on which ubuntu youre using).
- Synaptic - Settings>Repositories>Other Sources
- Software Centre - Edit>Software sources>Other Sources
Remove the medibuntu sources from the list. Then
sudo apt-get update
If you want to add medibuntu correctly then use this command
sudo -E wget --output-document=/etc/apt/sources.list.d/medibuntu.list http://www.medibuntu.org/sources.list.d/$(lsb_release -cs).list && sudo apt-get --quiet update && sudo apt-get --yes --quiet --allow-unauthenticated install medibuntu-keyring && sudo apt-get --quiet update
Solution 2:
if you know the software's name try 'dpkg -l | grep software' to find,then use 'sudo apt-get remove * --purge' or 'sudo dpkg -r *'.