Ask / Submit
0

Failed to install an openrepos repo

asked 2016-07-20 16:51:52 +0300

DaveRo gravatar image

updated 2016-08-23 13:56:40 +0300

vattuvarg gravatar image

I'm a new Jolla user with a Jolla C, but familiar with SUSE linux. I needed to install gnupg-pinentry from here:
https://openrepos.net/content/inte/gnupg-pinentry
I tried to install the repo following the guidance here:
https://openrepos.net/user/1474/repository

devel-su rpm --import https://sailfish.openrepos.net/openrepos.key
(That hung first time, but worked - i.e. no error - a second time)
devel-su zypper ar -f https://sailfish.openrepos.net/inte/personal-main.repo
devel-su pkcon refresh - OK
devel-su pkcon install gnupg-pinentry - Command failed: This tool could not find any available package: could not find gnupg-pinentry
listing repos with ssu lr showed that the repo was not added

1 Why didn't that work?

I then downloaded the rpm and installed it with:
devel-su pkcon install-local Downloads/pinentry-0.8.3-1.armv7hl.rpm
which worked OK.

2 Is there any disadvantage of doing it that way?
3 Is there anything I should check, perhaps after the first failed attempt at adding the key?

edit retag flag offensive close delete

Comments

2

May I ask why you are not using the warehouse app: https://openrepos.net/content/basil/warehouse-sailfishos ?

bomo ( 2016-07-20 19:58:56 +0300 )edit
1

@bomo No particular reason. I read about warehouse but didn't see what advantage it would have, given that I knew exactly what rpm I needed. I'm comfortable using zipper and rpm over ssh so I did what I rormally do, rather than using a gui on a small screen. But I suspect there's something about repos in sfos that I misunderstand.

DaveRo ( 2016-07-20 22:12:00 +0300 )edit
1

Trimmed the headline and added tags instead. :)

vattuvarg ( 2016-08-23 13:57:23 +0300 )edit

2 Answers

Sort by » oldest newest most voted
2

answered 2016-08-23 08:18:38 +0300

coderus gravatar image

updated 2016-08-23 09:42:08 +0300

Use Warehouse if you not sure about your commandline skills

If you really sure you want to use shell do following:

devel-su
pkcon remove zypper
ssu ar openrepos-inte https://sailfish.openrepos.net/inte/personal/main
ssu ur
pkcon repo-set-data openrepos-inte refresh-now true
pkcon install pinentry
edit flag offensive delete publish link more

Comments

@coderus Thank you for that suggestion. As I wrote in my OP I did install pinentry. My question was - why didn't my method work? (I want to understand how package and repo management is different to what I'm used to in openSuSE.)

Does zypper not work with SFOS - in which case the instructions given on openrepos (2nd link in OP) are wrong? Or is it a bug?

DaveRo ( 2016-08-23 14:53:03 +0300 )edit
0

answered 2016-08-22 15:58:32 +0300

Flight406 gravatar image

I had the same issue and verified. The zypper ar command does not write into /etc/zypp/repos.d I tried. I haven't verified whether the openrepos structure is compatible with the expectations from zypper. So for the moment, people have to surf to openrepos.net, install the warehouse client via web - download and start from there, which is horribly insecure. I would STRONGLY suggest, that jolla integrates the warehouse app into the jolla store that comes with every device.

edit flag offensive delete publish link more

Comments

1

Warehouse/OpenRepos itself is horribly insecure - you need to have total trust in everything you download, because anyone can upload anything.

nthn ( 2016-08-23 11:01:33 +0300 )edit

Several Android stores claim verification and the CNIL and others reported excessive invasive behavior that I haven't seen in jolla apps so far. So it is also a matter of the community building those apps. And on the long run, I think jolla needs to have a serious business model around an app store.

Flight406 ( 2016-08-24 18:46:01 +0300 )edit
Login/Signup to Answer

Question tools

Follow
3 followers

Stats

Asked: 2016-07-20 16:51:52 +0300

Seen: 1,029 times

Last updated: Aug 23 '16