Bug 159463
Summary: | support --gpgcheck=0 option with commandline | ||
---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | Satish Balay <balay> |
Component: | yum | Assignee: | Jeremy Katz <katzj> |
Status: | CLOSED NEXTRELEASE | QA Contact: | |
Severity: | medium | Docs Contact: | |
Priority: | medium | ||
Version: | 4 | CC: | katzj, paul |
Target Milestone: | --- | Keywords: | FutureFeature |
Target Release: | --- | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | Enhancement | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2005-08-05 07:56:55 UTC | Type: | --- |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: |
Description
Satish Balay
2005-06-02 19:53:57 UTC
No. I think that this will be a confusing set of command line arguments for users. If you want to have this option available for yourself I'd encourage you to look at the plugin infrastructure available in yum 2.3.X if you want to enable/disable gpgchecking for local packages set gpgcheck=0/1 in your yum.conf under [main] if you want to enable/disable gpgchecking for packages in repositories set gpgcheck=0/1 in the repository definition either in your yum.conf or in the .repo file. setting gpgcheck options for repositories is fine. It works [and I use it] But it does not work for 'localinstall' [without editing config files]. I believe there is a good reason for the 'localinstall' option - and I'm hoping you can support toggling gpgcheck for this usage. If one were to edit config files - one could also use local repositories - and not use the 'localinstall' option. This would be particularly handy for, say, the JPackage java RPMs that users have to build for themselves. I'm currently putting together a detailed HOWTO for this, and it would be much nicer to be able to say: # yum --gpgcheck=0 localinstall java*.rpm than to tell them to edit their yum.conf (which, properly, defaults to gpgcheck=1), do the localinstall and then edit the yum.conf back again. Seth, I think this command does have its use cases on rare occasions. It probably should be added with a strong warning to import the gpg key instead if applicable this can now be implemented by a plugin. So I'm going to close this - but there is potential for this to be implemented in a later release, maybe. |