Ask / Submit
4

Fatal error: Authentication failed (is SSU set up correctly?) [answered]

asked 2013-12-27 20:37:13 +0300

sjn gravatar image

I'm attempting for the first time to install some software using pkcon(1), but when doing this, the process stops with the error above.

[root@localhost nemo]# pkcon install zypper
Installing                    [=========================]         
Waiting in queue              [=========================]         
Starting                      [=========================]         
Refreshing software list      [=========================]         
Querying                      [=========================]         
Resolving dependencies        [=========================]         
Installing packages           [=========================]         
The following packages have to be installed:
 augeas-libs-1.0.0-1.1.1.armv7hl    Libraries for augeas
 zypper-1.8.3-1.1.4.armv7hl Command line software manager using libzypp
Proceed with changes? [N/y] y

                              [=========================]         
Installing                    [=========================]         
Waiting in queue              [=========================]         
Waiting for authentication    [=========================]         
Waiting in queue              [=========================]         
Starting                      [=========================]         
Refreshing software list      [=========================]         
Querying                      [=========================]         
Resolving dependencies        [=========================]         
Installing packages           [=========================]         
Downloading packages          [=========================]         
Fatal error: Authentication failed (is SSU set up correctly?)

How do I resolve this?

edit retag flag offensive reopen delete

The question has been closed for the following reason "the question is answered, an answer was accepted" by Jef
close date 2014-04-03 17:24:38.926652

Comments

what do the commands "ssu s" and "ssu domain" say?

Kontio ( 2013-12-27 20:39:11 +0300 )edit

Here's what I get (w/faked UID):

[root@localhost nemo]# ssu s
Device registration status: not registered
Device model: Jolla (SbJ / JP-1301)
Device UID: xxxxxxxxxxxxxxxx
Release: 1.0.2.5

[root@localhost nemo]# ssu domain
Device domain is currently: jolla
sjn ( 2013-12-27 21:04:33 +0300 )edit

I have same error after doing a pkcon refresh. Can't use wharehouse with openrepos for updates

[nemo@localhost ~]$ ssu s
Device registration status: not registered
Device model: Jolla (SbJ / JP-1301)
Device UID: xxxxxxxxxxxxxxxx
Release: latest

[root@localhost nemo]# ssu domain
Device domain is currently: sales

ssu ur pkcon refresh doesn't change anything...

[root@localhost nemo]# ssu ur
[root@localhost nemo]# pkcon refresh
Refreshing cache
Waiting in queue
Waiting for authentication
Waiting in queue
Starting
Refreshing software list
Fatal error: Authentication failed (is SSU set up correctly?)
Jef ( 2014-04-02 17:41:14 +0300 )edit

@Jef what does ssu lr list? Hmm and why do you have Release: latest that sounds wrong to me somehow. What does the command version print out?

Kontio ( 2014-04-03 10:49:39 +0300 )edit

@Kontio Thanks for you help

[nemo@localhost ~]$ ssu lr
Enabled repositories (global):
 - adaptation0 ... https://store-repository.jolla.com/releases/latest/jolla-hw/adaptation-android-common/armv7hl/
 - adaptation1 ... https://store-repository.jolla.com/releases/latest/jolla-hw/adaptation-qualcomm-sbj/armv7hl/
 - aliendalvik ... https://store-repository.jolla.com/releases/latest/aliendalvik/SbJ/
 - apps        ... https://releases.jolla.com/jolla-apps/latest/armv7hl/
 - eas         ... https://store-repository.jolla.com/features/latest/eas/armv7hl/
 - hotfixes    ... https://releases.jolla.com/releases/latest/hotfixes/armv7hl/
 - jolla       ... https://releases.jolla.com/releases/latest/jolla/armv7hl/
 - xt9         ... https://store-repository.jolla.com/features/latest/xt9/armv7hl/

Enabled repositories (user):
 - openrepos-basil   ... http://sailfish.openrepos.net/basil/personal/main
 - openrepos-coderus ... http://sailfish.openrepos.net/coderus/personal/main
 - store             ... https://store-repository.jolla.com/SbJ/armv7hl/

Disabled repositories (global, might be overridden by user config):

Disabled repositories (user):
 - home ...
[nemo@localhost ~]$ version
SailfishOS 1.0.4.20 (Ohijärvi) (armv7hl)

I also don't know why I have Release : latest. I thought it was a change from Jolla team. Latest things I installed manually (not from Jolla store) is gPodder from Thomas Perl and I update Mitakuuluu from coderus when new versions are available.

Jef ( 2014-04-03 11:53:11 +0300 )edit

1 Answer

Sort by » oldest newest most voted
6

answered 2013-12-27 21:09:06 +0300

Kontio gravatar image

updated 2013-12-27 21:34:16 +0300

there it is, it should not be domain Jolla...

do:

ssu domain sales
ssu ur
pkcon refresh

and you should be good to go again.

edit flag offensive delete publish link more

Comments

background info: there used to be a bug (1.0.0.5) in Settings -> System settings -> Developer mode, when you clicked there on "Allow developer updates" it set the domain to "jolla". I kind of wonder how you managed to get to "1.0.2.5".

Kontio ( 2013-12-27 21:17:45 +0300 )edit

Still doesn't work; changed my domain, then

[root@localhost nemo]# ssu up
Device is not registered, can't update credentials

Trying to fix it:

[root@localhost nemo]# ssu register
Username: myusername
Password: 
Last operation failed: 
Host requires authentication
sjn ( 2013-12-27 21:24:05 +0300 )edit

ok my fault, sorry, ssu up is not needed in that case, I mixed it up with ssu ur. ssu register is the same as "Allow developer updates", just the cli variant.

Kontio ( 2013-12-27 21:31:43 +0300 )edit

"ssu ur" doesn't output anything. Is that the correct behaviour?

sjn ( 2013-12-27 21:41:28 +0300 )edit

yes, it updates the .repo files, w/o output.

Kontio ( 2013-12-27 21:42:33 +0300 )edit

Question tools

Follow
3 followers

Stats

Asked: 2013-12-27 20:37:13 +0300

Seen: 4,388 times

Last updated: Dec 27 '13