Bug 1423399 - 'dnf clean all' doesn't respect --enablerepo/--disablerepo
Summary: 'dnf clean all' doesn't respect --enablerepo/--disablerepo
Keywords:
Status: CLOSED DUPLICATE of bug 1330211
Alias: None
Product: Fedora
Classification: Fedora
Component: dnf
Version: rawhide
Hardware: Unspecified
OS: Unspecified
unspecified
high
Target Milestone: ---
Assignee: rpm-software-management
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2017-02-17 09:09 UTC by Pavel Raiskup
Modified: 2017-02-17 10:36 UTC (History)
4 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2017-02-17 10:36:48 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description Pavel Raiskup 2017-02-17 09:09:58 UTC
I always used something like this with yum:

    sudo yum clean all --disablerepo='*' --enablerepo=REPOID

.. to only clean caches for REPOID.  But dnf seems to clean everything, which
means that I need to wait *too long* to sync all the repositories
on subsequent dnf command:

    $ sudo dnf install BLAH
    Copr ..snip..
    Copr ...
    Copr ...
    Fedora 25 - x86_64 - Updates
    Fedora 25 - x86_64
    QA Tools Incubator
    Beaker Client - Fedora25
    RPM Fusion for Fedora 25 - Free - Updates
    rhpkg for Fedora 25
    Copr ...
    Copr ...
    RPM Fusion for Fedora 25 - Free
    Adobe Systems Incorporated
    Blue Jeans Network, Inc. - x86_64 software and updates
    ....

Comment 1 Igor Gnatenko 2017-02-17 09:12:56 UTC
Confirming this bug.

Comment 2 Pavel Raiskup 2017-02-17 10:10:50 UTC
Actually I'm observing this on F25 (rawhide untested), so fixing the version.

Comment 3 Igor Gnatenko 2017-02-17 10:28:14 UTC
(In reply to Pavel Raiskup from comment #2)
> Actually I'm observing this on F25 (rawhide untested), so fixing the version.
Let's keep it on rawhide, because F25 is getting only security fixes.

Comment 4 Michael Mráka 2017-02-17 10:36:48 UTC

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


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