Reply
Thread Tools
Posts: 14 | Thanked: 28 times | Joined on Feb 2014 @ Germany
#1
Hello,

pkcon is faultly since the update on SailfishOS 1.1.7.25 (Björnträsket). Here the error:

Code:
[root@Jolla nemo]# pkcon -v update
17:56:12        PackageKit          Verbose debugging enabled (on console 1)
17:56:12        PackageKit          notify::connected
17:56:12        PackageKit          filter=(null), filters=0
17:56:12        PackageKit          adding state 0x40c6b100
17:56:12        PackageKit          role now get-updates
Getting updates                                                                                                                                                                             
Waiting in queue                                                                                                       [                                                           ] (0%)  17:56:12  PackageKit          emit transaction-list-changed
                                                                                                                                                                                            
Starting                                                                                                               [ ==                                                        ]         17:56:12        PackageKit          remove state 0x40c6b100
Command failed: Could not configure normal mode.
What is wrong here?

Thanks!

Ronny

Last edited by ronny_b; 2015-08-14 at 13:41.
 

The Following 2 Users Say Thank You to ronny_b For This Useful Post:
pycage's Avatar
Posts: 3,404 | Thanked: 4,474 times | Joined on Oct 2005 @ Germany
#2
Try to see if you can find something in the pkmon output.
__________________
Tidings - RSS and Podcast aggregator for Jolla - https://github.com/pycage/tidings
Cargo Dock - file/cloud manager for Jolla - https://github.com/pycage/cargodock
 
Posts: 14 | Thanked: 28 times | Joined on Feb 2014 @ Germany
#3
I didn't know that yet.

Here the output when I run warehouse:

Code:
[root@Jolla nemo]# pkmon
Transactions:
 [none]
daemon connected=0
daemon connected=1
network status=online
Transactions:
 1      /10789_ecedacbc
/10789_ecedacbc percentage   -1
/10789_ecedacbc role         get-repo-list
/10789_ecedacbc status       setup
/10789_ecedacbc status       query
/10789_ecedacbc status       finished
Transactions:
 1      /10789_ecedacbc
 2      /10790_acedceed
/10789_ecedacbc exit code: success
Transactions:
 1      /10790_acedceed
Transactions:
 [none]
/10790_acedceed percentage   -1
/10790_acedceed role         get-updates
/10790_acedceed status       finished
I can see nothing bad here. Nevertheless, the application aborts with an error message.
 
Posts: 130 | Thanked: 77 times | Joined on Aug 2009
#4
Same problem here.
Any solution yet? Rebuilded rpmdb already. Did a zypper clean as well. Zypper update seem to work though. However, no change to install anything from the store nor the most recent update (.27).
Thanks!

EDIT:
pkmon output for a failed transaction:
[root@Jolla rpm]# pkmon -v
18:26:10 PackageKit Verbose debugging enabled (on console 1)
18:26:10 PackageKit refreshing task list
Transactions:
[none]
18:26:10 PackageKit notify::connected
daemon connected=1
18:26:10 PackageKit refreshing task list
network status=online
Daemon state: 'State:
'
18:26:15 PackageKit emit transaction-list-changed
18:26:15 PackageKit current: /55869_ebddadee
18:26:15 PackageKit emit added: /55869_ebddadee
18:26:15 PackageKit added: /55869_ebddadee
Transactions:
1 /55869_ebddadee
Daemon state: 'State:
0 refresh-cache /55869_ebddadee state[running] exclusive[1] background[0]
'
/55869_ebddadee allow_cancel 1
/55869_ebddadee percentage -1
18:26:15 PackageKit role now refresh-cache
/55869_ebddadee role refresh-cache
/55869_ebddadee status setup
/55869_ebddadee status finished
18:26:15 PackageKit emit transaction-list-changed
18:26:15 PackageKit last: /55869_ebddadee
18:26:15 PackageKit emit removed: /55869_ebddadee
18:26:15 PackageKit removed: /55869_ebddadee
Transactions:
[none]
18:26:15 PackageKit failed to adopt: Could not configure normal mode.
Daemon state: 'State:
0 refresh-cache /55869_ebddadee state[finished] exclusive[1] background[0]
'



and another try:

18:25:34 PackageKit Verbose debugging enabled (on console 1)
18:25:34 PackageKit refreshing task list
Transactions:
[none]
18:25:34 PackageKit notify::connected
daemon connected=1
18:25:34 PackageKit refreshing task list
network status=online
Daemon state: 'State:
'
18:25:38 PackageKit emit transaction-list-changed
18:25:38 PackageKit current: /55868_cbaddede
18:25:38 PackageKit emit added: /55868_cbaddede
18:25:38 PackageKit added: /55868_cbaddede
Transactions:
1 /55868_cbaddede
Daemon state: 'State:
0 refresh-cache /55868_cbaddede state[running] exclusive[1] background[0]
'
/55868_cbaddede percentage -1
18:25:38 PackageKit role now refresh-cache
/55868_cbaddede role refresh-cache
/55868_cbaddede status finished
18:25:38 PackageKit internal error: failed, but no exit code: failed
18:25:38 PackageKit failed to adopt: Failed: failed
18:25:38 PackageKit emit transaction-list-changed
18:25:38 PackageKit last: /55868_cbaddede
18:25:38 PackageKit emit removed: /55868_cbaddede
18:25:38 PackageKit removed: /55868_cbaddede
Transactions:
[none]
Daemon state: 'State:
0 refresh-cache /55868_cbaddede state[finished] exclusive[1] background[0]
'

Last edited by inte; 2015-08-13 at 16:31.
 

The Following User Says Thank You to inte For This Useful Post:
Posts: 130 | Thanked: 77 times | Joined on Aug 2009
#5
Update:
I managed to update to .27 with zypper.
Doesn't fix the pkcon error, though
 
pycage's Avatar
Posts: 3,404 | Thanked: 4,474 times | Joined on Oct 2005 @ Germany
#6
Looks like refreshing caches failed? It could be that you have some repository configured that does no longer exist?
__________________
Tidings - RSS and Podcast aggregator for Jolla - https://github.com/pycage/tidings
Cargo Dock - file/cloud manager for Jolla - https://github.com/pycage/cargodock
 
coderus's Avatar
Posts: 6,436 | Thanked: 12,699 times | Joined on Nov 2011 @ Ängelholm, Sweden
#7
If your /var/cache/pk-zypp-cache is link do
Code:
unlink /var/cache/pk-zypp-cache
if it folder do
Code:
mv /var/cache/pk-zypp-cache /var/cache/.pk-zypp-cache
and then do
Code:
ln -sf /var/cache/zypp /var/cache/pk-zypp-cache
all commands should be executed as root
__________________
Telegram | Openrepos | GitHub | Revolut donations
 

The Following 10 Users Say Thank You to coderus For This Useful Post:
pycage's Avatar
Posts: 3,404 | Thanked: 4,474 times | Joined on Oct 2005 @ Germany
#8
Originally Posted by coderus View Post
If your /var/cache/pk-zypp-cache is link do
Code:
unlink /var/cache/pk-zypp-cache
if it folder do
Code:
mv /var/cache/pk-zypp-cache /var/cache/.pk-zypp-cache
and then do
Code:
ln -sf /var/cache/zypp /var/cache/pk-zypp-cache
all commands should be executed as root
Or just remove that whole stuff, /var/cache/zypp, /var/cache/pk-zypp-cache, as it will get created by PackageKit automatically again. No need to create the symlink manually.

pk-zypp-cache is supposed to be a link to switch between apps package cache and OS update package cache.

But if there's an issue with one of the enabled repositories, the caches cannot be refreshed.
__________________
Tidings - RSS and Podcast aggregator for Jolla - https://github.com/pycage/tidings
Cargo Dock - file/cloud manager for Jolla - https://github.com/pycage/cargodock
 

The Following 4 Users Say Thank You to pycage For This Useful Post:
Posts: 14 | Thanked: 28 times | Joined on Feb 2014 @ Germany
#9
Thanks for the tip with both directorys. After I have renamed these both, the stores can be open again!

Ronny
 

The Following User Says Thank You to ronny_b For This Useful Post:
Jordi's Avatar
Posts: 400 | Thanked: 708 times | Joined on Jun 2011 @ Geneva - CH
#10
I had the same problem...

@Coderus : it works! Many thanks.
 
Reply


 
Forum Jump


All times are GMT. The time now is 13:05.