If you upgrade your odoo Instance from a major version to another, using the OCA Free Software project "OpenUpgrade", you can also use this module during the upgrade process, to avoid the installation of useless new modules.