Bug 1222899

Summary: Please add an option to disable the user cache completely
Product: [Fedora] Fedora Reporter: Sascha Zantis <sascha.zantis>
Component: dnfAssignee: Packaging Maintenance Team <packaging-team-maint>
Status: CLOSED DUPLICATE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 22CC: jsilhan, mluscon, packaging-team-maint, pnemade, rholy, tim.lauridsen, vmukhame
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2015-05-19 16:38:17 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 Sascha Zantis 2015-05-19 12:09:49 UTC
Description of problem:
dnf search <packagename> does not use the same cache sudo dnf search <packagename> does. I have dnf-makecache.timer enabled to update the cache in background, but that only seems to update the cache in /var/cache/dnf, not /var/tmp/dnf-<username>-<randomString>

I know that I can use dnf -C search <packagename> to use the system's cache but being able to disable the user cache if this is not needed (single user system) would be a great improvement in my opinion.

Version-Release number of selected component (if applicable):
dnf-0:1.0.0-1.fc22

If this is possible right now, I didn't find anything in the manpages of dnf or dnf.conf.

Comment 1 Honza Silhan 2015-05-19 16:38:17 UTC
Hi, closing as duplicate of bug 1185741. That way you will download repo metadata only once and access the actual ones no matter if you are running as root or normal user.

*** This bug has been marked as a duplicate of bug 1185741 ***