Problem upgrading to Leap 42.2 from 42.1

I’m attempting to upgrade to Leap 42.2 from 42.1 and zypper gives the following conflict message when I do a zypper dup:

Problem: akonadi-server-16.08.2-2.1.x86_64 conflicts with akonadi-runtime provided by akonadi-runtime-1.13.0-4.5.x86_64

zypper then offers two solutions. Solution 1 is to keep a bunch of obsolete packages including akonadi-server and Solution 2 is to deinstall some other packages including akonadi-runtime. I have been running the Frameworks5/Plasma5 and Qt5 repos in 42.1. So, I have attempted the upgrade with the Frameworks5/Plasma5 and Qt5 repos both disabled and enabled for 42.2 but either way I get the conflict.

Does anybody have a recommendation on how I should handle the conflicts and successfully perform the upgrade?

Thanks,

Gordon

Be sure all repos point to the new 42.2

Hi gogalthorp,

Thanks for the reply. All of my repos are set to point to 42.2. Here is the output from “zypper lr --uri” with all of my extra add-on repos disabled:


#  | Alias                                 | Name                                  | Enabled | GPG Check | Refresh | URI                                                                                                     
---+---------------------------------------+---------------------------------------+---------+-----------+---------+---------------------------------------------------------------------------------------------------------
 1 | GLD - Bumblebee                       | GLD - Bumblebee                       | No      | ----      | No      | http://download.opensuse.org/repositories/X11:/Bumblebee/openSUSE_Leap_42.2/                            
 2 | GLD - Games_Tools_PlayOnLinux         | GLD - Games_Tools_PlayOnLinux         | No      | ----      | No      | http://download.opensuse.org/repositories/games:/tools/openSUSE_Leap_42.2/                              
 3 | GLD - wolfi323_Frameworks5_KDEConnect | GLD - wolfi323_Frameworks5_KDEConnect | No      | ----      | No      | http://download.opensuse.org/repositories/home:/wolfi323:/branches:/KDE:/Frameworks5/openSUSE_Leap_42.2/
 4 | GLD_-_Packman_multimedia              | GLD - Packman multimedia              | No      | ----      | No      | http://ftp.gwdg.de/pub/linux/packman/suse/openSUSE_Leap_42.2/                                           
 5 | GLD_-_Plasma_5                        | GLD - Plasma 5                        | No      | ----      | No      | http://download.opensuse.org/repositories/KDE:/Frameworks5/openSUSE_Leap_42.2/                          
 6 | GLD_-_Printing                        | GLD - Printing                        | No      | ----      | No      | http://download.opensuse.org/repositories/Printing/openSUSE_Leap_42.2/                                  
 7 | GLD_-_Qt5                             | GLD - Qt5                             | No      | ----      | No      | http://download.opensuse.org/repositories/KDE:/Qt5/openSUSE_Leap_42.2/                                  
 8 | GLD_-_Ubuntu_fonts_by_gldickens3      | GLD - Ubuntu fonts by gldickens3      | No      | ----      | No      | http://download.opensuse.org/repositories/home:/gldickens3/openSUSE_Leap_42.2/                          
 9 | GLD_-_libdvdcss_1                     | GLD - libdvdcss                       | No      | ----      | No      | http://opensuse-guide.org/repo/openSUSE_Leap_42.2/                                                      
10 | download.opensuse.org-non-oss         | Main Repository (NON-OSS)             | Yes     | (r ) Yes  | Yes     | http://download.opensuse.org/distribution/leap/42.2/repo/non-oss/                                       
11 | download.opensuse.org-non-oss_1       | Update Repository (Non-Oss)           | Yes     | (r ) Yes  | Yes     | http://download.opensuse.org/update/leap/42.2/non-oss/                                                  
12 | download.opensuse.org-oss             | Main Repository (OSS)                 | Yes     | (r ) Yes  | Yes     | http://download.opensuse.org/distribution/leap/42.2/repo/oss/                                           
13 | download.opensuse.org-oss_1           | Main Update Repository                | Yes     | (r ) Yes  | Yes     | http://download.opensuse.org/update/leap/42.2/oss/                                                      
14 | http-download.opensuse.org-0cdd6e04   | openSUSE:Leap:42.2:Update             | Yes     | (r ) Yes  | Yes     | http://download.opensuse.org/repositories/openSUSE:/Leap:/42.2:/Update/standard/                        
15 | http-download.opensuse.org-65e66900   | M17N:fonts                            | No      | ----      | No      | http://download.opensuse.org/repositories/M17N:/fonts/openSUSE_Leap_42.2/

Any other ideas?

Thanks,

Gordon

Mix with Wolfie’s stuff maybe

You apparently of conflicting repos. Maybe go into yast and see if you can see where things are coming from

Hi gogalthorp,

Thanks for the quick reply. I think that you hit the nail on the head. A quick look at wolfi’s repo show several akonadi related packages. I’ll fix that, try again and let you know the results.

I should have thought of that myself…

Gordon

If you want to use my repo, you should do a full switch to it. (and you should of course enable it too, and KDE:Qt5/KDE:Frameworks5 as well)
My akonadi-server package does not conflict with akonadi-runtime.

You cannot use both at the same time though, i.e. KDE4 applications won’t work if an Akonadi5 server is running and vice-versa.

Although, I see you named it GLD - wolfi323_Frameworks5_KDEConnect.
If you only want to have the latest kdeconnect-kde, there’s no need to use my repo (and I would actually disrecommend it).

1.0.1 is included in 42.2’s standard repos, 1.0.2 is available in KDE:Extra.

If you do not (want to) use my repo, you should choose to uninstall akonadi-runtime if you want to install kdepim5.
That’s mentioned in the release notes even.

But a zypper dup should actually not try to switch kdepim4 to kdepim5.
If you currently have both installed, it will try to upgrade kdepim5 to the standard packages though which conflict with kdepim4.

Hi wolfi,

Thanks for your reply. BTW, your repo is not working. Every time that its refreshed then it generates this error message:

File './repodata/a56127db107fc808ffb479c12513ea5b743d84c24a0a22126ceabd6a7c8826ce-appdata.xml.gz' not found on medium 'http://download.opensuse.org/repositories/home:/wolfi323:/branches:/KDE:/Frameworks5/openSUSE_Leap_42.1/'

FYI,

Gordon

If you upgrade to 42.2, you should use the repo for 42.2 anyway.

I will check the repo, but I’m not sure if I could do anything about it.
Those files are created by OBS automatically.

The mentioned file is there though:
http://download.opensuse.org/repositories/home:/wolfi323:/branches:/KDE:/Frameworks5/openSUSE_Leap_42.1/repodata/

Maybe some temporary inconsistency?

Hi wolfi,

I was able to successfully upgrade to 42.2. However, I ended up having to first remove akonadi-runtime and then akonadi-server as well prior to the upgrade. The primary kdepim packages that I use are korganizer and kaddressbook both of which I have installed since the upgrade to 42.2. Also, it appears that I am running kdepim4 and that akonadi-runtime was installed during the upgrade.

So, my question now is: How do I get korganizer and kaddressbook to sync to my google calender since my google addressbook and google calender are no longer listed in my Akonadi Resources Configuration. When I click on “Add” then the google addressbook and google calender are no longer listed.

Any ideas?

Thanks,

Gordon

Well, what do you have installed?
akonadi-runtime or akonadi-server?
korganizer or korganizer5?

So, my question now is: How do I get korganizer and kaddressbook to sync to my google calender since my google addressbook and google calender are no longer listed in my Akonadi Resources Configuration. When I click on “Add” then the google addressbook and google calender are no longer listed.

The KDE4 google resources are in kdepim4-runtime, the KF5 ones are in kdepim-runtime.
Make sure the right one is installed (but I think it shouldn’t be possible to have the wrong one).

Hi Wolfi,

Akonadi-runtime and korganizer (not korganizer5) is installed.
kdepim-runtime is also installed but I do not have any google resources.

Any other ideas?

Thanks,

Gordon

You need kdepim4-runtime in that case…

Also try to run “kbuildsycoca4 --noincremental” as user.

Oops. I do have kdepim4-runtime installed. Sorry! That was a typo where I dropped the 4 from the file name.

I ran “kbuildsycoca4 --noincremental” which generated the following error message:

kbuildsycoca4(3104) VFolderMenu::loadDoc: Parse error in  "/home/gordon/.config/menus/applications-merged/xdg-desktop-menu-dummy.menu" , line  1 , col  1 :  "unexpected end of file" 
kbuildsycoca4(3104) parseLayoutNode: The menu spec file contains a Layout or DefaultLayout tag without the mandatory Merge tag inside. Please fix your file.

The xdg-desktop-menu-dummy.menu file is empty (size = 0). I’ve googled this error message a bit but I haven’t yet found a solution.

Thanks for your help.

Gordon

You can ignore that, or delete xdg-desktop-menu-dummy.menu.
But that shouldn’t cause a problem.

I had a look at the kdepim4-runtime package in 42.2, and the google resources are indeed missing (apparently because libkgapi is KF5 based meanwhile).
So you probably should switch to korganizer5.

But better quit Akonadi first before you install that.

akonadictl stop

Thanks again for all of your help. Yes, I will try installing korganizer5 and kaddressbook5 and see what happens. However, according to comment 13 in the kdepim bug referenced in the Leap 42.2 release notes:

the google calendar and contacts plugin seems to have failed now but that would be a different issue.

This bug is located here:

https://bugzilla.opensuse.org/show_bug.cgi?id=1001872

Nevertheless I will try it anyway.

BTW, when I execute “sudo zypper install kaddressbook5 korganizer5” then I get a ton of downgraded packages. Is that expected?

Thanks again!

Gordon

Downgraded?
It should install some new packages, no?
And uninstall kdepim4.

Impossible to say anything without the output though.

Yes, it installs some new packages and uninstalls the kdepim4 packages as well. But it also downgrades a ton of packages apparently from the frameworks5/plasma5 repo to the openSUSE repo. The output from “zypper install kaddressbook5 korganizer5” far exceeds the 15000 character limit of this forum. At least I got an error message to that effect when I tried to paste it. In any event, I posted the output of “zypper_install_kaddressbook5_korganizer5.txt” to one of my websites here:

http://dickens.com/download/zypper_install_kaddressbook5_korganizer5.txt

Thanks again!

Gordon

Yes, akonadi-server’s sqlite plugin uses internal/private Qt5 stuff and therefore requires exactly the same Qt5 version it is built against.
And this causes the Plasma packages to be downgraded too.

Better remove KDE:Frameworks5 and KDE:Qt5 and stick to the LTS versions (Qt 5.6.x, Plasma 5.8.x) included in 42.2.

Although this has actually been “fixed” yesterday by splitting out the sqlite plugin into a separate package.
So if you add/switch to KDE:Applications as well, you should be able to use akonadi-server with KDE:Qt5 and KDE:Frameworks5.

Hi wolfi,

OK. I removed the KDE:Framworks5 and KDE:Qt5 repos and reverted the Plasma 5 packages to the stock OpenSUSE Leap 42.2 versions. Then, I installed korganizer5 and kaddressbook5 both of which appear to be working fine. While I haven’t had time to fully test everything, it is now syncing with my google calendar and addressbook as well.

So, what is the advantage of installing the KDE:Applications repo?

Thanks again!

Gordon

The only “advantage” is that you get the latest versions of all KDE applications when using that.
It’s the devel project for Factory.

And as I wrote, you’d need it to be able to install akonadi-server alongside a newer Qt5.