Skip to content
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

Upgrade of one package install ALL available updates. #67

Open
poetaster opened this issue Jan 6, 2022 · 13 comments
Open

Upgrade of one package install ALL available updates. #67

poetaster opened this issue Jan 6, 2022 · 13 comments

Comments

@poetaster
Copy link

This is undesirable. I had chosen a package with a new version, pulled down update and all packages were installed.

@rinigus
Copy link
Contributor

rinigus commented Jan 6, 2022

Seems to be PackageKit issue. Please check with pkcon and file an issue in PackageKit repo. Would be great to have a reference to that issue here as well.

@Olf0
Copy link
Collaborator

Olf0 commented Jan 13, 2022

Although this is a "duplicate" of storeman-developers/harbour-storeman#96 , Rinigus' comment advises the right thing to do.

@poetaster
Copy link
Author

Our version of PackageKit is not current, if I'm not mistaken. we are at 1.1.13 and current is 1.2.5. According to current documentation:
Update the system by installing available updates. If a list of packages is specified, only install updates for these packages.

I don't have any means to test this but hesitate to file a bug report there.

@poetaster poetaster changed the title Upgrade of package install ALL available updates. Upgrade of one package install ALL available updates. Mar 7, 2022
@poetaster
Copy link
Author

Ah, it just occured to me, die you guys mean upstream https://github.com/sailfishos/PackageKit-Qt ?

@Olf0
Copy link
Collaborator

Olf0 commented Mar 8, 2022

Our version of PackageKit is not current, if I'm not mistaken. we are at 1.1.13 and current is 1.2.5.

"Our" = on SailfishOS? You can take a look at PackageKit on many Linux distributions, it is installed by default on ?buntu, should be available for Debian and may be available for OpenSUSE and Fedora / RHEL (well, zypper, dnf are so much nicer, but front-ends only for RPM), too.

According to current documentation: Update the system by installing available updates. If a list of packages is specified, only install updates for these packages.

Which and where? Can you please provide a link to this quote.

For me it sounds like a quote from pkcon man-page for update [PACKAGES]. This is merely the front-end. I assume that this bug is rather in libpackagekit etc., the "middle-ware" between pkcon and the various supported back-ends (libzypp being one of them and IIRC the one used for Sailfish OS).

I don't have any means to test this but hesitate to file a bug report there.

Maybe there is already one?
I have never searched, because a certain libsolv0 bug bugs me more, and I fail to file it for > 1,5 years.

@Olf0
Copy link
Collaborator

Olf0 commented Mar 8, 2022

Ah, it just occured to me, die you guys mean upstream https://github.com/sailfishos/PackageKit-Qt ?

No, definitely not that one, and also not the GTK one, but the CLI front-end pkcon and the "middle-ware" libpackagekit at IIRC freedesktop.org.

@Olf0
Copy link
Collaborator

Olf0 commented Mar 8, 2022

Note that "Upgrade of one package install ALL available updates." is not always the case, at least not with pkcon and Storeman.

@poetaster
Copy link
Author

Which and where? Can you please provide a link to this quote.

For me it sounds like a quote from pkcon man-page for update [PACKAGES]. This is merely the front-end. I assume that this bug is rather in libpackagekit etc., the "middle-ware" between pkcon and the various supported back-ends (libzypp being one of them and IIRC the one used for Sailfish OS)

I'll look into this but first: libpackagekit

@poetaster
Copy link
Author

Maybe there is already one?

I looked. Apparently not. But I may have missed it and will revisit.

I have never searched, because a certain libsolv0 bug bugs me more, and I fail to file it for > 1,5 years.

I'll keep an eye out for this in parallel.

@poetaster
Copy link
Author

Note that "Upgrade of one package install ALL available updates." is not always the case, at least not with pkcon and Storeman.

Yes. Now it's a pitty we don't have that source. However, maybe it's time for a forum question?

@Olf0
Copy link
Collaborator

Olf0 commented Mar 8, 2022

I have never searched, because a certain libsolv0 bug bugs me more, and I fail to file it for > 1,5 years.

I'll keep an eye out for this in parallel.

???
You do not know what it is yet, right?

It was recently documented at FSO, but originally for Storeman: storeman-developers/harbour-storeman#108 (comment)
I am pretty sure it is libsolv0's fault by logic (it is the component performing the resolving), but have not technically traced it to libsolv0 (and may never do, with or without getting around to report it).

@poetaster
Copy link
Author

???
You do not know what it is yet, right?

NO. And the rabbit hole yeilds only, more hole :) But that's beside the point. I meant that I would look up libsolv0 and look up issue in the sense of research. Frankly, I think this is one of those 'things' that 'just goes away'. But that's what I say about anything I don't entirely understand.

@Olf0
Copy link
Collaborator

Olf0 commented Mar 8, 2022

[…] Frankly, I think this is one of those 'things' that 'just goes away'. But that's what I say about anything I don't entirely understand.

This hope (that some "thing just goes away") is also the approach of the lazy; me in this case.
Didn't work within the last three years, unfortunately; I suppose I just have not been waiting long enough. 😉

BTW, the same (3 years and counting) applies to the original issue of this thread, "Updating or installing a single package often installs ALL available updates.", see storeman-developers/harbour-storeman#96.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants