With mp package only at downloaded state (nothing installed) from 5.6 on a 5.7.2 server.
Calling nuxeoctl mp-purge checks for dependencies and ask if we want to relax them. It should not as they are not installed.
Plus it seems the mp-purge command ignores --nodeps parameters making the user using the mp-remove --nodeps on each package.
Here is as example of what it does :
root@ip-10-39-9-176:/var/lib/nuxeo/server/bin# ./nuxeoctl mp-list Detected Tomcat server. Nuxeo home: /var/lib/nuxeo/server Nuxeo configuration: /etc/nuxeo/nuxeo.conf Include template: /var/lib/nuxeo/server/templates/common-base Include template: /var/lib/nuxeo/server/templates/common Include template: /var/lib/nuxeo/server/templates/postgresql Local packages: studio downloaded ecp (id: ecp-0.0.0-SNAPSHOT) hotfix downloaded nuxeo-5.6.0-HF00 (id: nuxeo-5.6.0-HF00-1.0.0) hotfix downloaded nuxeo-5.6.0-HF01 (id: nuxeo-5.6.0-HF01-1.0.0) hotfix downloaded nuxeo-5.6.0-HF02 (id: nuxeo-5.6.0-HF02-1.1.0) hotfix downloaded nuxeo-5.6.0-HF03 (id: nuxeo-5.6.0-HF03-1.0.0) hotfix downloaded nuxeo-5.6.0-HF04 (id: nuxeo-5.6.0-HF04-1.0.0) hotfix downloaded nuxeo-5.6.0-HF05 (id: nuxeo-5.6.0-HF05-1.0.0) hotfix downloaded nuxeo-5.6.0-HF06 (id: nuxeo-5.6.0-HF06-1.0.0) hotfix downloaded nuxeo-5.6.0-HF07 (id: nuxeo-5.6.0-HF07-1.0.0) hotfix downloaded nuxeo-5.6.0-HF08 (id: nuxeo-5.6.0-HF08-1.0.0) hotfix downloaded nuxeo-5.6.0-HF09 (id: nuxeo-5.6.0-HF09-1.0.0) hotfix downloaded nuxeo-5.6.0-HF10 (id: nuxeo-5.6.0-HF10-1.0.0) hotfix downloaded nuxeo-5.6.0-HF11 (id: nuxeo-5.6.0-HF11-1.0.0) hotfix downloaded nuxeo-5.6.0-HF12 (id: nuxeo-5.6.0-HF12-1.0.0) hotfix downloaded nuxeo-5.6.0-HF13 (id: nuxeo-5.6.0-HF13-1.0.0) hotfix downloaded nuxeo-5.6.0-HF14 (id: nuxeo-5.6.0-HF14-1.0.0) hotfix downloaded nuxeo-5.6.0-HF15 (id: nuxeo-5.6.0-HF15-1.0.0) hotfix downloaded nuxeo-5.6.0-HF16 (id: nuxeo-5.6.0-HF16-1.0.0) hotfix downloaded nuxeo-5.6.0-HF17 (id: nuxeo-5.6.0-HF17-1.0.0) hotfix downloaded nuxeo-5.6.0-HF18 (id: nuxeo-5.6.0-HF18-1.0.0) hotfix downloaded nuxeo-5.6.0-HF19 (id: nuxeo-5.6.0-HF19-1.0.0) hotfix downloaded nuxeo-5.6.0-HF20 (id: nuxeo-5.6.0-HF20-1.1.0) hotfix downloaded nuxeo-5.6.0-HF21 (id: nuxeo-5.6.0-HF21-1.1.0) hotfix downloaded nuxeo-5.6.0-HF22 (id: nuxeo-5.6.0-HF22-1.0.0) addon downloaded nuxeo-dam (id: nuxeo-dam-5.7.2) addon downloaded nuxeo-dm (id: nuxeo-dm-5.7.2) addon downloaded nuxeo-drive (id: nuxeo-drive-0.9.20130408-beta) addon downloaded nuxeo-drive (id: nuxeo-drive-1.0.2) addon downloaded nuxeo-drive (id: nuxeo-drive-1.0.3) addon downloaded nuxeo-drive (id: nuxeo-drive-1.0.4) addon downloaded nuxeo-platform-user-registration (id: nuxeo-platform-user-registration-1.2.1) addon downloaded nuxeo-social-collaboration (id: nuxeo-social-collaboration-5.7.2) addon downloaded nuxeo-web-mobile-dm (id: nuxeo-web-mobile-dm-1.2.0) addon downloaded nuxeo-web-mobile-dm (id: nuxeo-web-mobile-dm-1.3.0) root@ip-10-39-9-176:/var/lib/nuxeo/server/bin# ./nuxeoctl stop Detected Tomcat server. Nuxeo home: /var/lib/nuxeo/server Nuxeo configuration: /etc/nuxeo/nuxeo.conf Include template: /var/lib/nuxeo/server/templates/common-base Include template: /var/lib/nuxeo/server/templates/common Include template: /var/lib/nuxeo/server/templates/postgresql Stopping server....Server stopped. root@ip-10-39-9-176:/var/lib/nuxeo/server/bin# ./nuxeoctl mp-purge Detected Tomcat server. Nuxeo home: /var/lib/nuxeo/server Nuxeo configuration: /etc/nuxeo/nuxeo.conf Include template: /var/lib/nuxeo/server/templates/common-base Include template: /var/lib/nuxeo/server/templates/common Include template: /var/lib/nuxeo/server/templates/postgresql Package nuxeo-5.6.0-HF10 is not available on platform version cap-5.7.2. Do you want to relax the constraint (yes/no)? [no] no org.nuxeo.connect.update.PackageException: Package nuxeo-5.6.0-HF10 is not available on platform version cap-5.7.2 (relax is not allowed) Some commands failed:
- is duplicated by
-
NXP-10044 nuxeoctl mp-remove some-addon shouldn't "upgrade" nuxeo-dm from 5.6.0 to 5.6.0-RC3
- Resolved