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

The Medibuntu Project has come to an end: what do I do now?

  • How do I find packages on my system which came from medibuntu? The previous question seems to list medibuntu packages explicitly - is there a way to query the package database by the source?

  • Do I need to remove them so that they are replace by maintained packages from other sources?

  • Which repository contains those packages now?

share|improve this question
Related: as it is what to do about one of the packages,… – Mateo Oct 11 '13 at 16:34… – Mateo Oct 11 '13 at 16:36
up vote 15 down vote accepted

By now almost all the medibuntu packages have been already superseded with packages from the main repos (restricted, universe, multiverse), so the task is to eliminate the traces of medibuntu.

You would probably be better off installing aptitude before hand (see below).

As root, do the following to forget medibuntu:

aptitude purge medibuntu-keyring
rm -f /etc/apt/sources.list.d/medibuntu.list
aptitude update

Now, to purge the packages which come from medibuntu, do this:

aptitude purge $(dpkg-query -W -f='${PackageSpec}\t${Maintainer}\n' '*' |\
  grep |\
  cut -f1)

You might have to select an alternative dependency problem resolution (e.g., aptitude might suggest that you remove a 100 packages if you purge a medibuntu library libavutil; say no and it will offer to install the same library from an alternative source).

This means that you will probably be better off using aptitude than apt-get for this task because the former offers the alternatives for dependency problem resolution. See also

share|improve this answer
You'll either need to install aptitude first (sudo apt-get install aptitude) or use apt-get. Aptitude doesn't exist by default. – minerz029 Oct 16 '13 at 7:06
The 'cut' command is wrong as the delimiter is a space, use this instead: aptitude purge $(dpkg-query -W -f='${PackageSpec} ${Maintainer}\n' '*' |\ grep |\ cut -f1 -d' ') – user203527 Oct 17 '13 at 9:49
@tdk: I fixed the command differently. – sds Oct 20 '13 at 16:31
The most important part of the question has not been answered: "Which repository contains those packages now?" – Mephisto Oct 23 '13 at 0:20
aptitude is not installed by default in Ubuntu. Can a user install a package (aptitude) if he/she has already a corrupted repository ? Will apt-get let him/her to install anything at all ? – NikTh Oct 23 '13 at 11:15

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.