Unable to update : cannot install both pattern jolla-configuration-sbj [resolved]

asked 2018-09-15 23:28:30 +0300

anubis gravatar image

Dear community,

I was in trouble while upgrading my Jolla (from 2.1.3.7 to 2.2.0.29), I didn't find the solution on this place, so I'm sharing here the solution I finally found, hoping it could help.

I first tried from the graphical interface, but I got a "Unable to determine update size". I saw several topic about this error message and I reminded that I forgot to disable the OpenRepos -> so I did disable it after. After several retry, I downloaded the update, started to install but I got quickly a "Unable to upgrade, try later ; Reboot"... Then I tried to update from the command line to get more debug informations. Using "version --dup", I got :

cannot install both pattern:jolla-configuration-sbj-0.12.3-1.4.8.noarch and pattern:jolla-configuration-sbj-0.12.3-1.4.8.noarch

I finally noticed that "ssu lr" was listing 2 times the Jolla repo :

[root@Sailfish nemo]# ssu lr              
Enabled repositories (global): 
 - adaptation0 ... https://store-repository.jolla.com/releases/2.2.0.29/jolla-hw/adaptation-qualcomm-sbj/armv7hl/
 - adaptation1 ... https://store-repository.jolla.com/releases/2.2.0.29/jolla-hw/adaptation-qualcomm-sbj/armv7hl/
 - aliendalvik ... https://store-repository.jolla.com/releases/2.2.0.29/aliendalvik/SbJ/

The fix I found consist in desactivating this adaptation1 repo which looks to be conflicting with adaptation0, probably added during a failed update procedure :

ssu dr adaptation1

Then the "version --dup" was successfull.

Hope it could help !

edit retag flag offensive close delete