Ask / Submit
4

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

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

jgressmann gravatar image

Hi community

after the update to 3.0.0.8 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/3.0.0.8/jolla-hw/adaptation-qualcomm-f5121/armv7hl/?credentials=store'

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
2

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

Comments

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

Follow
1 follower

Stats

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

Seen: 391 times

Last updated: Nov 13 '18