remove all obsolete packages and plugins