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?


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 medibuntu-maintainers@lists.launchpad.net |\
  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

  • 3
    You'll either need to install aptitude first (sudo apt-get install aptitude) or use apt-get. Aptitude doesn't exist by default. – kiri Oct 16 '13 at 7:06
  • 2
    The 'cut' command is wrong as the delimiter is a space, use this instead: aptitude purge $(dpkg-query -W -f='${PackageSpec} ${Maintainer}\n' '*' |\ grep medibuntu-maintainers@lists.launchpad.net |\ cut -f1 -d' ') – user203527 Oct 17 '13 at 9:49
  • @tdk: I fixed the command differently. – sds Oct 20 '13 at 16:31
  • 2
    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 ? – NickTux Oct 23 '13 at 11:15
  • 1
    OK, what NikTh is telling you that your answer should install aptitude first before you can start using it ;). – Braiam Oct 23 '13 at 12:49

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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