Bug 1066743 - [doc] `dnf clean` should function or warn when run as normal user
[doc] `dnf clean` should function or warn when run as normal user
Status: CLOSED ERRATA
Product: Fedora
Classification: Fedora
Component: dnf (Show other bugs)
20
Unspecified Unspecified
unspecified Severity unspecified
: ---
: ---
Assigned To: packaging-team-maint
Fedora Extras Quality Assurance
:
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2014-02-18 20:53 EST by Pete Travis
Modified: 2014-02-26 08:53 EST (History)
4 users (show)

See Also:
Fixed In Version: dnf-0.4.15-1.fc20
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2014-02-26 08:53:21 EST
Type: Bug
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)

  None (edit)
Description Pete Travis 2014-02-18 20:53:10 EST
Operations executing dnf as root do not appear to operate on the same cache/metadata as those executed as a regular user. for example:

$ dnf clean all
$ sudo dnf clean all
$ dnf check-update #metadata is refreshed
$ sudo dnf check-update #metadata is refreshed again



$ dnf --version
0.4.14
  Installed: dnf-0:0.4.14-99.487.20140218git441c092.fc20.noarch at 2014-02-19 01:16
  Built    :  at 2014-02-18 12:31

  Installed: rpm-0:4.11.2-1.fc20.x86_64 at 2014-02-18 02:49
  Built    : Fedora Project at 2014-02-13 08:41
Comment 1 Parag Nemade 2014-02-18 23:13:25 EST
you should install dnf-plugins-core package that will install noroot plugin which will then check the root privileges.
Comment 2 Pete Travis 2014-02-19 02:15:02 EST
Parag, your commend seems better suited for https://bugzilla.redhat.com/show_bug.cgi?id=1066747 :)
Comment 3 Ales Kozumplik 2014-02-19 03:01:21 EST
This works as expected but we didn't document it well. Upstream commit dfd08eb remedies this.
Comment 4 Fedora Update System 2014-02-24 13:57:52 EST
dnf-0.4.15-1.fc20 has been submitted as an update for Fedora 20.
https://admin.fedoraproject.org/updates/dnf-0.4.15-1.fc20
Comment 5 Fedora Update System 2014-02-26 08:53:21 EST
dnf-0.4.15-1.fc20 has been pushed to the Fedora 20 stable repository.  If problems still persist, please make note of it in this bug report.

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