23

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?

2

1 Answer 1

18

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 [email protected] |\
  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

10
  • 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
    Commented Oct 16, 2013 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 [email protected] |\ cut -f1 -d' ')
    – user203527
    Commented Oct 17, 2013 at 9:49
  • @tdk: I fixed the command differently.
    – sds
    Commented Oct 20, 2013 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
    Commented Oct 23, 2013 at 11:15
  • 1
    OK, what NikTh is telling you that your answer should install aptitude first before you can start using it ;).
    – Braiam
    Commented Oct 23, 2013 at 12:49

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .