We have moved to a new Sailfish OS Forum. Please start new discussions there.

[BUG][] package update via pkcon broken [answered]

asked 2018-11-13 18:17:42 +0300

jgressmann gravatar image

Hi community

after the update to I can no longer update any apps using the pkcon command line tool.

$ pkcon update

will fail with

Fatal error: File './armv7hl/droid-hal-version-f5121-0.2.1-1.2.20.armv7hl.rpm' not found on medium 'https://store-repository.jolla.com/releases/'

Anyone else experiencing similar problems/know a workaround?

Cheers J

edit retag flag offensive reopen delete

The question has been closed for the following reason "the question is answered, an answer was accepted" by Edz
close date 2018-11-13 18:50:28.476076

1 Answer

Sort by » oldest newest most voted

answered 2018-11-13 18:28:34 +0300

Edz gravatar image

updated 2018-11-13 18:32:16 +0300

do this first devel-su pkcon refresh then try devel-su pkcon update if packages require it. Permission is required to run these commands (devel-su your password)

Here's my output, albeit, I did refresh first without permission, hence the error;

[nemo@Sailfish ~]$ pkcon refresh
Refreshing cache
Fatal error: Failed to obtain authentication.
[nemo@Sailfish ~]$ devel-su pkcon refresh
Refreshing cache
Refreshing software list
[nemo@Sailfish ~]$ devel-su pkcon update
Getting updates
No packages require updating to newer versions.
[nemo@Sailfish ~]$
edit flag offensive delete publish link more


Thanks mate, that (and a reboot) did the job.

jgressmann ( 2018-11-13 18:44:01 +0300 )edit

Cool, welcome to TJC :)

Edz ( 2018-11-13 18:50:07 +0300 )edit

Still wondering why this manual intervention is needed - could't packagekit just refresh it's repository metadata automatically instead ? Or some step of the upgrade that should do that was missed ? Or possibly the store does it but you have to do it yourself if you use Storeman or pkcon directly ? :)

MartinK ( 2018-11-14 02:53:28 +0300 )edit

Question tools

1 follower


Asked: 2018-11-13 18:17:42 +0300

Seen: 543 times

Last updated: Nov 13 '18