sara-nl / irods-msi-persistent-id

iRODS microservices for managing EPIC PIDs
Other
0 stars 0 forks source link

upgrading a version fails #6

Closed cookie33 closed 5 years ago

cookie33 commented 5 years ago

It fails during an upgrade/installation:

[irodstest2.storage.surfsara.nl]:/tmp
root# yum install /tmp/msi-persistent-id-master.1548076945-1.el7.x86_64.rpm
Loaded plugins: fastestmirror
Examining /tmp/msi-persistent-id-master.1548076945-1.el7.x86_64.rpm: msi-persistent-id-master.1548076945-1.el7.x86_64
Marking /tmp/msi-persistent-id-master.1548076945-1.el7.x86_64.rpm to be installed
Resolving Dependencies
--> Running transaction check
---> Package msi-persistent-id.x86_64 0:master.1548076945-1.el7 will be installed
--> Finished Dependency Resolution

Dependencies Resolved

=======================================================================================================================================================================================================================
 Package                                      Arch                              Version                                             Repository                                                                    Size
=======================================================================================================================================================================================================================
Installing:
 msi-persistent-id                            x86_64                            master.1548076945-1.el7                             /msi-persistent-id-master.1548076945-1.el7.x86_64                            8.0 M

Transaction Summary
=======================================================================================================================================================================================================================
Install  1 Package

Total size: 8.0 M
Installed size: 8.0 M
Is this ok [y/d/N]: y
Downloading packages:
Running transaction check
Running transaction test

Transaction check error:
  file /var/lib/irods/plugins/microservices/libmsiPidCreate.so from install of msi-persistent-id-master.1548076945-1.el7.x86_64 conflicts with file from package msi-persistent-id-master-1545124454-1.el7.x86_64
  file /var/lib/irods/plugins/microservices/libmsiPidDelete.so from install of msi-persistent-id-master.1548076945-1.el7.x86_64 conflicts with file from package msi-persistent-id-master-1545124454-1.el7.x86_64
  file /var/lib/irods/plugins/microservices/libmsiPidDeleteHandle.so from install of msi-persistent-id-master.1548076945-1.el7.x86_64 conflicts with file from package msi-persistent-id-master-1545124454-1.el7.x86_64
  file /var/lib/irods/plugins/microservices/libmsiPidGet.so from install of msi-persistent-id-master.1548076945-1.el7.x86_64 conflicts with file from package msi-persistent-id-master-1545124454-1.el7.x86_64
  file /var/lib/irods/plugins/microservices/libmsiPidLookup.so from install of msi-persistent-id-master.1548076945-1.el7.x86_64 conflicts with file from package msi-persistent-id-master-1545124454-1.el7.x86_64
  file /var/lib/irods/plugins/microservices/libmsiPidLookupKey.so from install of msi-persistent-id-master.1548076945-1.el7.x86_64 conflicts with file from package msi-persistent-id-master-1545124454-1.el7.x86_64
  file /var/lib/irods/plugins/microservices/libmsiPidMove.so from install of msi-persistent-id-master.1548076945-1.el7.x86_64 conflicts with file from package msi-persistent-id-master-1545124454-1.el7.x86_64
  file /var/lib/irods/plugins/microservices/libmsiPidSet.so from install of msi-persistent-id-master.1548076945-1.el7.x86_64 conflicts with file from package msi-persistent-id-master-1545124454-1.el7.x86_64
  file /var/lib/irods/plugins/microservices/libmsiPidUnset.so from install of msi-persistent-id-master.1548076945-1.el7.x86_64 conflicts with file from package msi-persistent-id-master-1545124454-1.el7.x86_64

Error Summary
-------------

So you need to uninstall/install before you can upgrade.

That is not optimal