Bug 692114

Summary: cannot install unsigned packages via pkcon
Product: Red Hat Enterprise Linux 6 Reporter: Vladimir Benes <vbenes>
Component: PackageKitAssignee: Richard Hughes <rhughes>
Status: CLOSED WONTFIX QA Contact: Desktop QE <desktop-qa-list>
Severity: low Docs Contact:
Priority: low    
Version: 6.1CC: tpelka
Target Milestone: rc   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2017-12-06 10:46:46 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Attachments:
Description Flags
test package none

Description Vladimir Benes 2011-03-30 13:06:07 UTC
Description of problem:
if I create repo via createrepo from my own packages I cannot use pkcon to install from it as it keeps asking 
Do you want to allow installing of unsigned software? [N/y]

if I select y it will ask again and if no it terminates


Version-Release number of selected component (if applicable):
PackageKit-0.5.8-19.el6.i686

How reproducible:
100%

Steps to Reproduce:
1.grab any rpm from unsigned source 
2.createrepo via createreo . command
3.point yum to it via /etc/yum.repos.d/test.repo
4.execute pkcon install test_package
  
Actual results:
cannot install as stucked in a loop

Expected results:
installation performed after confirmation

Additional info:
yum can handle this via --nogpg

Comment 1 Vladimir Benes 2011-03-30 13:06:41 UTC
Created attachment 488755 [details]
test package

Comment 2 Richard Hughes 2011-08-18 10:23:53 UTC
Can you please get the output of pkmon (in another terminal) when trying to install this, I can't reproduce this on my VM here. The package installs fine for me.

Comment 3 Vladimir Benes 2011-08-18 13:00:37 UTC
Transactions:
 [none]
Transactions:
 1	/435_cbbcaabe_data
/435_cbbcaabe_data	percentage   -1
/435_cbbcaabe_data	role         resolve
/435_cbbcaabe_data	status       setup
/435_cbbcaabe_data	package      test;0.1-1.fc15;noarch;test
/435_cbbcaabe_data	status       finished
daemon locked=1
/435_cbbcaabe_data	exit code: success
Transactions:
 [none]
daemon locked=0
Transactions:
 1	/436_eeabcbbb_data
/436_eeabcbbb_data	percentage   -1
/436_eeabcbbb_data	role         simulate-install-packages
/436_eeabcbbb_data	status       setup
/436_eeabcbbb_data	percentage   0
/436_eeabcbbb_data	status       running
/436_eeabcbbb_data	percentage   5
/436_eeabcbbb_data	status       dep-resolve
/436_eeabcbbb_data	package      test;0.1-1.fc15;noarch;test
/436_eeabcbbb_data	percentage   100
/436_eeabcbbb_data	status       finished
/436_eeabcbbb_data	exit code: success
Transactions:
 [none]
Transactions:
 1	/437_abedeaed_data
/437_abedeaed_data	percentage   -1
/437_abedeaed_data	role         install-packages
/437_abedeaed_data	status       setup
/437_abedeaed_data	percentage   5
/437_abedeaed_data	status       dep-resolve
/437_abedeaed_data	percentage   40
/437_abedeaed_data	status       finished
daemon locked=1
/437_abedeaed_data	exit code: need-untrusted
/437_abedeaed_data	error code: bad-gpg-signature, Package test-0.1-1.fc15.noarch.rpm is not signed
Transactions:
 [none]
daemon locked=0
Transactions:
 1	/438_aaacdecd_data
/438_aaacdecd_data	percentage   -1
/438_aaacdecd_data	role         install-packages
/438_aaacdecd_data	status       setup
/438_aaacdecd_data	percentage   5
/438_aaacdecd_data	status       dep-resolve
/438_aaacdecd_data	percentage   40
/438_aaacdecd_data	status       finished
daemon locked=1
/438_aaacdecd_data	exit code: need-untrusted
/438_aaacdecd_data	error code: bad-gpg-signature, Package test-0.1-1.fc15.noarch.rpm is not signed
Transactions:
 [none]
daemon locked=0

Comment 4 Vladimir Benes 2011-08-18 13:01:53 UTC
my test repository looks like this

[test]
name=test
baseurl=file:///tmp/repo
enabled=1

Comment 6 RHEL Program Management 2012-05-03 04:35:09 UTC
Since RHEL 6.3 External Beta has begun, and this bug remains
unresolved, it has been rejected as it is not proposed as
exception or blocker.

Red Hat invites you to ask your support representative to
propose this request, if appropriate and relevant, in the
next release of Red Hat Enterprise Linux.

Comment 7 Jan Kurik 2017-12-06 10:46:46 UTC
Red Hat Enterprise Linux 6 is in the Production 3 Phase. During the Production 3 Phase, Critical impact Security Advisories (RHSAs) and selected Urgent Priority Bug Fix Advisories (RHBAs) may be released as they become available.

The official life cycle policy can be reviewed here:

http://redhat.com/rhel/lifecycle

This issue does not meet the inclusion criteria for the Production 3 Phase and will be marked as CLOSED/WONTFIX. If this remains a critical requirement, please contact Red Hat Customer Support to request a re-evaluation of the issue, citing a clear business justification. Note that a strong business justification will be required for re-evaluation. Red Hat Customer Support can be contacted via the Red Hat Customer Portal at the following URL:

https://access.redhat.com/