On opensuse I tried to install kmymoney5 from https://build.opensuse.org/package/show/KDE:Unstable:Extra/kmymoney5 along with kmymoney4 for comparing the implementation but it fails because kmymoney5 tries to install files into the same location as kmymoney4. How to reproduce: 1. Add repo http://download.opensuse.org/repositories/KDE:/Unstable:/Extra/KDE_Unstable_Frameworks_openSUSE_Factory/ 2. run zypper install kmymoney5 What happens ? zypper complains about file conflicts Preparing... ################################# [100%] file /usr/bin/kmymoney from install of kmymoney5-4.99.40-113.1.x86_64 conflicts with file from package kmymoney-4.8.0-21.1.x86_64 file /usr/lib64/libkmm_mymoney.so.4 from install of kmymoney5-4.99.40-113.1.x86_64 conflicts with file from package kmymoney-4.8.0-21.1.x86_64 file /usr/lib64/libkmm_plugin.so.4 from install of kmymoney5-4.99.40-113.1.x86_64 conflicts with file from package kmymoney-4.8.0-21.1.x86_64 file /usr/lib64/libkmm_widgets.so.4 from install of kmymoney5-4.99.40-113.1.x86_64 conflicts with file from package kmymoney-4.8.0-21.1.x86_64 file /usr/lib64/libpayeeidentifier_iban_bic.so.4 from install of kmymoney5-4.99.40-113.1.x86_64 conflicts with file from package kmymoney-4.8.0-21.1.x86_64 file /usr/lib64/libpayeeidentifier_iban_bic_widgets.so.4 from install of kmymoney5-4.99.40-113.1.x86_64 conflicts with file from package kmymoney-4.8.0-21.1.x86_64 file /usr/lib64/libpayeeidentifier_nationalAccount.so.4 from install of kmymoney5-4.99.40-113.1.x86_64 conflicts with file from package kmymoney-4.8.0-21.1.x86_64 file /usr/share/icons/hicolor/32x32/apps/kmymoney.png from install of kmymoney5-4.99.40-113.1.x86_64 conflicts with file from package kmymoney-4.8.0-21.1.x86_64 What is expected ? KMymoney5 should be installable along with kmymoney4 to let people be able to compare both versions
This is a known issue with KDE. Because many files actually used while running KMM are found by the libraries/frameworks based on environment variables and caches, there is no way to have two versions (especially a KDE4 and Frameworks version) installed at the same time. I once discussed this with some core KDE library developers, and that was the conclusion. I'll have to see if I still have any of those emails around. The only way to have two versions is for at least one of them to be manually installed outside the main system. I recently posted instructions for this on the mailing list, but would be happy to add as a comment here, if desired. Every distribution's package manager will run into the same issue, unless we name things differently for different versions, such as adding a "5" to all programs and library files, and folders for things like icons and docs. I would argue against doing that, since you then either have to use a new number for every major change, or have to rename things after completing a switch to a new version.
Ralf, I'd be tempted to close this as UNSUPPORTED or UPSTREAM, as it is not just KMyMoney, but there are some of the KDE libraries which cannot have the KDE4 and KF5 versions installed at the same time. It is possible to have more than one version of KMM (both KDE4 or both KF5) installed at the same time - but not the distro versions, they have to be installed to different prefixes (for example, one to /usr or /usr/local, and the other to /home/user/install) and there is some handwaving to set some environment variables so KDE and QT find the correct versions of the libraries and plugins. (I believe that type of dual install does work for one 4 and one 5 version, but only if there are no conflicts between the required KDE libraries. From distant memory, I think this only became possible when KMM5 made the requirement for one of the KDE-PIM libraries optional, but it may have been something else.
Thank you for reporting this issue in KDE software. As it has been a while since this issue was reported, can we please ask you to see if you can reproduce the issue with a recent software version? If you can reproduce the issue, please change the status to "REPORTED" when replying. Thank you!
Dear Bug Submitter, This bug has been in NEEDSINFO status with no change for at least 15 days. Please provide the requested information as soon as possible and set the bug status as REPORTED. Due to regular bug tracker maintenance, if the bug is still in NEEDSINFO status with no change in 30 days the bug will be closed as RESOLVED > WORKSFORME due to lack of needed information. For more information about our bug triaging procedures please read the wiki located here: https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging If you have already provided the requested information, please mark the bug as REPORTED so that the KDE team knows that the bug is ready to be confirmed. Thank you for helping us make KDE software even better for everyone!
Given the time, I'm going to close this, since I don't know of any reason to still run 4.8.