Remove obsolete package definitions.