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

Test if backend supports DependsOn before trying to calculate download size #861

Open
decathorpe opened this Issue Oct 16, 2018 · 1 comment

Comments

Projects
None yet
2 participants
@decathorpe
Copy link
Contributor

decathorpe commented Oct 16, 2018

When opening the details page of an application in fedora, I get this warning message in the logs:

Client.vala:719: Error fetching dependencies for notejot;1.4.5-1.fc29;x86_64;updates-testing: DependsOn not supported by backend

What is this query supposed to achieve? Is the result used for anything? Is it important, or can the failure be ignored? It doesn't break installing the package.


Want to back this issue? Post a bounty on it! We accept bounties via Bountysource.

@davidmhewitt

This comment has been minimized.

Copy link
Member

davidmhewitt commented Nov 20, 2018

This is used to calculate the total download size of a package (including not installed dependencies), so can safely be ignored.

However, I guess it would make sense to do some feature testing to see if that feature was available on the backend before trying to do it. I'll amend the issue title accordingly

@davidmhewitt davidmhewitt changed the title DependsOn not supported by all PackageKit backends Test if backend supports DependsOn before trying to calculate download size Nov 20, 2018

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment