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

How to make a clean update of any "Openrepos" app without using "Storeman" (or any other client app)

asked 2019-11-20 17:19:34 +0300

Yusssufff gravatar image

Hi dear Sailors! I am wondering about a small technical detail: When using an "openrepos.net" app without storeman (direct downoad of rpm files from the openrepos.net website), how to make a clean update when a newer version is published?

If I would just download the new version of the RPM file and open it, does it somehow overwrite on the previous version and erase by itself the unnecessary parts from the (now) old version of the newly updated app? I think that is more or less happening with android's APK files (downloading a newer version of the apk and then clicking on it makes the update process as efficient as using a client app on android....), so is that the same with RPM's? Or i there some technical details that i am not able to foresee (for exemple would it be better to just erase the app and the download the new version?)? Or i there some bits left from the old verison of the newly updated app that i should manually delete?

And the last detail would be: I that the same process when we talk about apps and about more complex openrepos RPM's? Such as TDLIBJSON for exemple (https://openrepos.net/content/blacksailer/tdlibjson), wich is i guess a sort of "librairy"... And for patches? I mean they are all RPMs but i dont know if they would react differently to this type of manual update...

Thanks a lot, i hope my words were undertandable enough!

edit retag flag offensive close delete

Comments

-nothing here-

miau ( 2019-11-21 01:42:11 +0300 )edit

2 Answers

Sort by » oldest newest most voted
2

answered 2019-11-21 01:46:23 +0300

miau gravatar image

updated 2019-11-21 01:48:36 +0300

Hi!

You'll have to add the repo of the Application you want to install. To find the repository, click on the Username of the developer and select Publisher Repository. Add the repo with zypper, like described or with ssu ar $RepoName $URLRepo, refresh repo and you can use pkcon or zypper for installing, updating etc.

edit flag offensive delete publish link more

Comments

That is exactly what Storeman does, but carried out manually, tediously and error-prone at the command line.
For some reason, which is not mentioned by the OP @Yusssufff, he wants to avoid doing that, (which does not make sense IMO).

olf ( 2019-11-21 15:07:40 +0300 )edit

Hi! well the reason i want to get over storeman is just connected to the number of apps from openrepos i use! So as for myself, i use ONLY ONE single app from openrepos.net, and therefore i dont really see the point of installing another app (storeman) to take care of that single app! I think its taking less space, ressource, energy, to just download the new version of that single app when its updated (couple of times in a year)... And as i understood, with just one app directly downloaded from the website of openrepos, i dont use any repository anyhow... That is why i am asking you, the better knowledgeable people, if updating it can be then as simple a jut dowlnoading the new rpm and opening it...or is there subtilities...

Yusssufff ( 2019-11-21 15:30:49 +0300 )edit

Could you tell which app it is you need from openrepos?

miau ( 2019-11-21 17:49:18 +0300 )edit

yes with pleasure! DEPECHER (https://openrepos.net/content/blacksailer/depecher) and subsequently its "librairy" wich depecher depends on: TDLIBJSON (https://openrepos.net/content/blacksailer/tdlibjson )

Yusssufff ( 2019-11-21 19:55:30 +0300 )edit

@Yusssufff,,

I think its taking less space, [...]

Negligibly so, making this point moot.
Stop being concerned about a few KBytes!

olf ( 2019-11-21 20:18:24 +0300 )edit
2

answered 2019-11-21 07:55:31 +0300

Nova gravatar image

Is there a specific reason why you do not want to use Storeman? It functions similar to the Jolla store and takes care of all dependencies for you when installing/updating apps. Just be careful what you install, i.e. read the descriptions carefully, read the comments, check the amount of downloads; upvotes/star rating etc. This will give you some indication of stability of the app and relative trustworthiness. (This applies equally to apps downloaded from openrepos and then manually installed...)

The Storeman app itself has never caused any issues with upgrades, etc. Just select "Disable all" under the "Repositories" section of the app before SFOS upgrades and enable them again after. It is the apps you install that might be risky...
I have used the Warehouse app and then the Storeman app since its launch without issue.

edit flag offensive delete publish link more

Comments

Hi! well the reason i want to get over storeman is just connected to the number of apps from openrepos i use! So as for myself, i use ONLY ONE single app from openrepos.net, and therefore i dont really see the point of installing another app (storeman) to take care of that single app! I think its taking less space, ressource, energy, to just download the new version of that single app when its updated (couple of times in a year)... And as i understood, with just one app directly downloaded from the website of openrepos, i dont use any repository anyhow... That is why i am asking you, the better knowledgeable people, if updating it can be then as simple a jut dowlnoading the new rpm and opening it...or is there subtilities...

Yusssufff ( 2019-11-21 15:30:42 +0300 )edit

I understand, but I believe that for the average user it is actually safer and much easier to use Storeman than scratching around in the terminal...

Besides, Storeman takes up less than 1MB of storage space and only uses resources while the app is open. Just open the app a few times a year to check if there are any updates. By the way, I also only use a few apps from openrepos.

Another problem is dependencies, for instance if a new version of Depecher requires new dependencies, you will need to manually find those packages and install the correct versions, etc. Storeman just handles all of that for you. Ultimately it is your choice though.

Nova ( 2019-11-25 08:12:55 +0300 )edit
Login/Signup to Answer

Question tools

Follow
2 followers

Stats

Asked: 2019-11-20 17:19:34 +0300

Seen: 521 times

Last updated: Nov 21 '19