Bug 913143 - dnf --disablerepo=* enablerepo=repo cmd doesn't work
Summary: dnf --disablerepo=* enablerepo=repo cmd doesn't work
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: dnf
Version: 18
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Ales Kozumplik
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
: 912129 (view as bug list)
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2013-02-20 13:48 UTC by Richard Marko
Modified: 2016-02-01 02:22 UTC (History)
4 users (show)

Fixed In Version: dnf-0.2.22
Clone Of:
Environment:
Last Closed: 2013-03-12 23:23:54 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description Richard Marko 2013-02-20 13:48:13 UTC
# dnf --disablerepo=* --enablerepo=fedora-abrt clean metadata
There are no enabled repos.
 Run "yum repolist all" to see the repos you have.
 You can enable repos with yum-config-manager --enable <repo>
# rpm -q dnf
dnf-0.2.20-1.gitdec970f.fc18.noarch


Works fine with yum.


This also doesn't seem right:
# dnf repolist all
repolist: 46,272

Comment 1 Ales Kozumplik 2013-02-26 16:00:30 UTC
(In reply to comment #0)
> # dnf --disablerepo=* --enablerepo=fedora-abrt clean metadata
> There are no enabled repos.

Fixed by 60f7ec4.

> This also doesn't seem right:
> # dnf repolist all
> repolist: 46,272

Fixed by 1c2f2c1.

dnf-0.2.22 will contain both the fixes.

Comment 2 Fedora Update System 2013-03-02 09:45:25 UTC
hawkey-0.3.8-1.git046ab1c.fc18, dnf-0.2.22-1.git97180b8.fc18 has been submitted as an update for Fedora 18.
https://admin.fedoraproject.org/updates/dnf-0.2.22-1.git97180b8.fc18,hawkey-0.3.8-1.git046ab1c.fc18

Comment 3 Fedora Update System 2013-03-03 22:44:23 UTC
Package hawkey-0.3.8-1.git046ab1c.fc18, dnf-0.2.22-1.git97180b8.fc18:
* should fix your issue,
* was pushed to the Fedora 18 testing repository,
* should be available at your local mirror within two days.
Update it with:
# su -c 'yum update --enablerepo=updates-testing hawkey-0.3.8-1.git046ab1c.fc18 dnf-0.2.22-1.git97180b8.fc18'
as soon as you are able to.
Please go to the following url:
https://admin.fedoraproject.org/updates/FEDORA-2013-3357/dnf-0.2.22-1.git97180b8.fc18,hawkey-0.3.8-1.git046ab1c.fc18
then log in and leave karma (feedback).

Comment 4 Fedora Update System 2013-03-12 23:23:55 UTC
hawkey-0.3.8-1.git046ab1c.fc18, dnf-0.2.22-1.git97180b8.fc18 has been pushed to the Fedora 18 stable repository.  If problems still persist, please make note of it in this bug report.

Comment 5 Ales Kozumplik 2013-03-21 14:17:48 UTC
*** Bug 912129 has been marked as a duplicate of this bug. ***


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