Ask Ubuntu is a question and answer site for Ubuntu users and developers. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

We have an Ubuntu 12.04 LTS machines that is giving errors when I try to run updates.

Specifically, I am getting a load of errors like this:

W: Failed to fetch  Something wicked happened resolving '' (-5 - No address associated with hostname)

I tried to ping, and it returns:

ping: unknown host

It therefore seems to me that sometime in the past, packages have been installed from there, but it has 'gone away'.


Is that diagnosis correct?

If so, how do I identify and 'fix' those packages? Do I have to carefully go through the whole output from 'apt-get upgrade' and uninstall each one? Hope not, but if that's what's required, then okay.

share|improve this question… – user25656 Oct 12 '13 at 4:02

Medibuntu has now been shut down, the packagers were either obsolete, unnecessary or moved to the official Ubuntu archive.


What this means? That you should remove the repositories from your sources.list to prevent errors and look for the packages you needed somewhere else or stick with the old ones that you have installed.


How to remove the repository:

  1. Open "Software Sources";
  2. Locate the Medibuntu repository;
  3. Select and remove it:

Software sources, removing Medibuntu repository

share|improve this answer
I found this post from your links: Should I run those commands? What are the downside risks, and how do I mitigate if there are any? Thanks, Alan. – Alan Oct 12 '13 at 8:37
@Alan use the GUI to remove them. Go to Software Sources and remove the medibuntu repositories, as you can see by the downvotes that solution is not helpful. In any case use MiJyn answer. – Braiam Oct 12 '13 at 13:32

If you want to remove medibuntu as a software source from the command line, edit the sources.list located in /etc/apt/

vi /etc/apt/sources.list

and then just comment out the line(s) that contain medibuntu.

deb precise partner
#deb precise free non-free
share|improve this answer
Thanks User249781 – Alan Feb 23 '14 at 4:39

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.