Bug 988429

Summary: repoquery needs to able to use a specified cache directory
Product: [Fedora] Fedora Reporter: Orion Poplawski <orion>
Component: yum-utilsAssignee: Packaging Maintenance Team <packaging-team-maint>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: unspecified    
Version: 19CC: admiller, packaging-team-maint, tim.lauridsen, zpavlas
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: yum-utils-1.1.31-17.fc19 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2013-08-09 17:03:15 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:
Bug Depends On:    
Bug Blocks: 985681    
Attachments:
Description Flags
repoquery: add --installroot option. BZ 988429 none

Description Orion Poplawski 2013-07-25 15:06:09 UTC
Description of problem:

mock uses repoquery to generate a list of available packages for a given chroot.  But repoquery currently cannot make use of the yum cache for the chroot and uses the hosts chroot.  We need to be able to specify the yum cache directory to use, either via --installroot (preferred, because this is how mock calls yum) or a --cachedir option.

Version-Release number of selected component (if applicable):
yum-utils-1.1.31-15.fc19.noarch

Comment 1 Zdeněk Pavlas 2013-07-29 12:41:35 UTC
Created attachment 779867 [details]
repoquery: add --installroot option. BZ 988429

Comment 2 Orion Poplawski 2013-07-29 20:43:48 UTC
Looks good to me, thanks.

Comment 3 Fedora Update System 2013-08-07 13:22:13 UTC
yum-utils-1.1.31-17.fc19 has been submitted as an update for Fedora 19.
https://admin.fedoraproject.org/updates/yum-utils-1.1.31-17.fc19

Comment 4 Fedora Update System 2013-08-07 23:09:59 UTC
Package yum-utils-1.1.31-17.fc19:
* should fix your issue,
* was pushed to the Fedora 19 testing repository,
* should be available at your local mirror within two days.
Update it with:
# su -c 'yum update --enablerepo=updates-testing yum-utils-1.1.31-17.fc19'
as soon as you are able to.
Please go to the following url:
https://admin.fedoraproject.org/updates/FEDORA-2013-14431/yum-utils-1.1.31-17.fc19
then log in and leave karma (feedback).

Comment 5 Fedora Update System 2013-08-09 17:03:15 UTC
yum-utils-1.1.31-17.fc19 has been pushed to the Fedora 19 stable repository.  If problems still persist, please make note of it in this bug report.