-
Notifications
You must be signed in to change notification settings - Fork 15
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
No app update offered, although available at Openrepos #108
Comments
Have you faced the issue lately? Have you tried to update "Unit Converter [fork]" with pkcon when you had reported the issue? |
@Pohli, this might be a consequence of still being on SFOS 3.0.1 in October 2019, while SFOS 3.0.2 (in March 2019), 3.0.3 (in May 2019) and 3.1.0 (in July 2019) have been released meanwhile. Background: In practice, when on an older SFOS release, one might see newer versions of some packages being displayed on Openrepos.net, but not in Storeman etc. |
@Olf0, your idea about unsatisfied dependencies is really good, I didn't think of it myself. But I've checked harbour-unitconverter.spec. It seems that @a-dekker didn't change the dependencies starting from 2.18-3 (and earlier too). |
Oh, I forgot to mention, that install-dependencies are not only introduced by the Requires statements in a spec file (for Ade's harbour-unitconverter just sailfishsilica-qt5 >= 0.10.9), but also by the compiler / linker for "Shared Objects (.so)" aka "Dynamically Linked Libraries (DLLs)". For example, look at the output of
I have the impression that new linking-dependencies are regularly introduced by newer Sailfish-SDK versions, thus apps compiled with them will not install (or be offered as an update) on devices with older SailfishOS versions (have not tried to look up, if these things are properly documented by Jolla, e.g. in the SFOS-SDK release notes / changelog or at their SDK documentation pages). |
For example, the recent updates of quite some apps from OpenRepos are not shown on my Xperia X with SailfishOS 3.2.1, because they are compiled with the updated GCC and its newer libraries from the SDK release for SailfishOS 3.3.0 (the SDK version numbers seem to differ from the OS versions; I think it is v2.4, but am too lazy to look this up). |
All in all, I am quite convinced, that the infrastructure Storeman uses (ultimately libzypp / libsolv) does the right thing. P.S.: You may change the issue title to something more descriptive, especially the word "patch" is irritating in the context of SailfishOS (most will initially think of "Patchmanager Patches", not the "patch level" of an RPM). |
Sorry for the late reply. I can't tell for sure that I faced the issue recently but I think so and I'm still on the same old SFOS release. Thanks to @Olf0 for the explanations, sound reasonable. And yes, with the word patch in the title I mean the minor release number, so update title if better understandable. |
As stated, I do on my [email protected]. |
@Pohli, I realise that I missed to ask, where you observed that a newer version of some software installed on your device "is available", but not offered as an update by Storeman. Why am I asking?
This is basically the same behaviour as discussed for other software in this issue, but becomes better visible by a single version of a software having multiple release versions. But when updating crypto-sdcard from v1.3.1-2.sfos321regular to v1.3.1-4.sfos321regular per Storeman on this device (XperiaX@SFOS3.2.1) I looked more closely: Storeman updated to the correct version first (v1.3.1-4.sfos321regular), but tried to update to v1.3.1-4.sfos340regular immediately after that, which results in an unmet dependency (as expected: "Error: Nothing provides sailfish-version >= 3.4.0") displayed in Storeman. These observations are not systematically tested yet, I will try to assess the behaviour of Storeman versus P.S.: @Pohli, if you feel comfortable with my suggestion for a better title of this issue (you indicated that), please alter it: It is your issue and this can be done by the issue owner simply hitting the Edit button to the right of the title bar (and cutting&pasting my suggestion, an altered version of it, writing something new etc.); do not miss to hit the Done button after that (which appears to the right when editing an issue title). |
While I missed to watch closely when updating crypto-sdcard 1.3.1-4.sfos321regular to 1.3.1-5.sfos321regular per Storeman on my only device affected ([email protected]), I did so when updating Storeman to 0.2.3-1.sfos3_.2 (per Storeman) today.
As a side note, Storeman now displays for Storeman (note that the available version has changed from the release for SFOS3.3 to the one for SFOS3.4, compared to my former experience): So, as mentioned before, ultimately "all is good", but I still wonder if senselessly trying to update to the wrong version first is caused by Storeman proper or some underlying software component (pkcon, libzypp etc.). P.S.: And I still want to carry out a similar update at the command line per pkcon, when there is one available, to see how pkcon (plus maybe also zypper) behaves. |
It's definitely a bug. 0.2.3-1~sfos3.3 and 0.2.3-1~sfos3.4 should not be visible for you as they could not be solved by libsolv and all upon it (rpm, libzypp, packagekit). I will recheck my code to fix this behaviour.
Because this is the way I form the version. mb2 tool (which is used to build packages) replaces tilde to a dot (look here). OpenRepos.net in its turn adds this strange underscore. |
That is what I assumed.
Thank you.
Thanks, these are exactly the kind of pointers I wanted to understand what might be going on here. P.S. / edit: BTW, Storeman's changing RPM file names (i.e., the release string in them) do not seem to be involved in triggering an incorrect release of the RPM, if an older SFOS version is installed, to be displayed as "available version" and attempted to install it when upgrading this RPM, because Storeman shows the same behaviour with crypto-sdcard. |
Just a new observation, only little analysis so far:
One takeaway might be, "The Jolla Store client may interfere with any |
@Pohli, trying for the third time (see the "P.S."-sections of [1] and [2]): |
I surprised that you were surprised XD We have discussed this issue (#96) few years ago (how fast time flies!). For now packagekit updates all packages on any kind of transaction. For my shame, I still have not searched for related issues on packagekit repositories and have not reported a bug. |
Oh, your memory is way better than mine: more than two years, that appears to be "ages ago" for me. ;-)
True, I was just surprised by the "really any" aspect: Specifically that an install-local sub-command installs RPMs fetched from the internet. |
@mentaljam: Sorry for expressing my surprise about the "really any updatetable RPM may become updated, when installing or updating RPMs per The main point in my message on 1 June 2021 was: |
As an addition to my last comment: Side note / off topic: While the binaries of the armv7 builds of Storeman 0.2.x are all slightly above 300 KBytes, the i486 builds jumped from ≥ 300 KBytes for versions up to 0.2.7 to ~ 3 MBytes for version 0.2.8! |
An excursion on this topic was performed by Rubdos at FSO ff. with a really well written spec file etc., but ultimately it still does not work (anymore). |
This was likely the same effect as described in sailfishos-applications/filecase#45 for SFOS 2.2.0 - 3.0.1 and likely earlier versions, too. |
Current example: Unit Converter [fork], I got version 2.18-3 installed and version 2.18-5 is available but there's no update option. I can provide screenshots if needed.
I already tried "Refresh cache" and "Reload" from app details page and I also ran "pkcon refresh" before without result.
Jolla Phone with SFOS 3.0.1.11 and Storeman 0.1.6
The text was updated successfully, but these errors were encountered: