remove old packages from config