Bug 1411689
| Summary: | PackageKit-command-not-found queries disabled repos | ||
|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | Devin Henderson <devin> |
| Component: | PackageKit | Assignee: | Richard Hughes <rhughes> |
| Status: | CLOSED NOTABUG | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
| Severity: | unspecified | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | 25 | CC: | jonathan, klember, rdieter, rhughes, smparrish |
| Target Milestone: | --- | ||
| Target Release: | --- | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | If docs needed, set a value | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2017-01-10 10:11:19 UTC | Type: | Bug |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
| Embargoed: | |||
|
Description
Devin Henderson
2017-01-10 10:02:04 UTC
My installed PackageKit version: Installed Packages PackageKit.x86_64 1.1.5-0.1.20161221.fc25 @updates PackageKit-Qt.x86_64 0.9.5-6.fc24 @System PackageKit-Qt5.x86_64 0.9.5-6.fc24 @System PackageKit-command-not-found.x86_64 1.1.5-0.1.20161221.fc25 @updates PackageKit-glib.i686 1.1.5-0.1.20161221.fc25 @updates PackageKit-glib.x86_64 1.1.5-0.1.20161221.fc25 @updates PackageKit-gstreamer-plugin.x86_64 1.1.5-0.1.20161221.fc25 @updates PackageKit-gtk3-module.i686 1.1.5-0.1.20161221.fc25 @updates PackageKit-gtk3-module.x86_64 1.1.5-0.1.20161221.fc25 @updates Do they have enabled_metadata=1 set? Yeah, it looks like enabled_metadata=1 was probably set in them. Is changing that the solution? It also just occurred to me that maybe this is desired behavior and when the missing command is found in a disabled repo packagekit could offer to enable the repo and install the package which sounds reasonable. My only problem was that the dead repos were causing command-not-found to take a really long time to run so I just deleted the .repo files. Thanks Right, PackageKit looks at both enabled=1 and enabled_metadata=1 repos so that it could offer to enable the repo if it finds a match in there. Deleting sounds like a good way to solve this :) Setting enabled_metadata to 0 would also fix it. Thanks for the info! |