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
[pkcon] ignores blocked flag on packages #71
Comments
When you do "pkcon update" we actually do GetUpdates() and then feed the output to UpdatePackages(). We could either do this by filtering the blocked packages at this step, or just by ignoring the blocked packages in the alpm backend. |
If we filter in alpm backend this results in blocked packages to disappear completly, no? So If I understand corretly this problem hits other backends as well, no? So probably a generic solution would be better. I vote for filtering in UpdatePackages(). (Though there is no function whith that name. So we have to touch |
Well, we could either filter it in the client side or the server side, but the former allows us to have access to the PkInfoEnum value. The slight complication is that pk_client_update_packages_async() takes an array of package_ids, so we can't see the blocked attribute there. I think the right thing to do is probably to fix pk_console_update_system() and the corresponding version in gnome-software too. |
Any workaround ? Does packagekit support it's own ignorelist in e.g. a local file ? |
Any updates on this? |
For testing purpose I added
sudo
to toIgnorePkg
inpacman.conf
(so backend inalpm
, but I do not think this matters).Getting the update status works, updates are listed,
sudo
is markedblocked
:However the package is installed nevertheless:
gnome-packagekit
handles this correctly,gnome-software
installs blocked packages as well.Not sure if the client should handle blocked packages or if libpackagekit-glib is to blame.
The text was updated successfully, but these errors were encountered: