Bug 1222899 - Please add an option to disable the user cache completely
Summary: Please add an option to disable the user cache completely
Keywords:
Status: CLOSED DUPLICATE of bug 1185741
Alias: None
Product: Fedora
Classification: Fedora
Component: dnf
Version: 22
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Packaging Maintenance Team
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2015-05-19 12:09 UTC by Sascha Zantis
Modified: 2015-05-19 16:38 UTC (History)
7 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2015-05-19 16:38:17 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

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 ***


Note You need to log in before you can comment on or make changes to this bug.