remove unused packages and upgrade obsolete packages (e.g., packages that trigger "assoc" obsolete message)