Bug 1369212 - dnf repolist with no repos
dnf repolist with no repos
Status: CLOSED ERRATA
Product: Fedora
Classification: Fedora
Component: dnf (Show other bugs)
rawhide
Unspecified Unspecified
low Severity unspecified
: ---
: ---
Assigned To: rpm-software-management
Fedora Extras Quality Assurance
: Reopened, Triaged, UserExperience
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2016-08-22 12:38 EDT by Igor Gnatenko
Modified: 2017-04-01 13:22 EDT (History)
8 users (show)

See Also:
Fixed In Version: dnf-2.2.0-1.fc26
Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2017-04-01 13:22:05 EDT
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 Igor Gnatenko 2016-08-22 12:38:45 EDT
[root@edb4d37880de /]# dnf repolist
Last metadata expiration check: 17035 days, 16:36:46 ago on Thu Jan  1 00:00:00 1970.

That's not generally true as I don't have repos enabled.

dnf-2.0.0-0.354gdbc1870.fc24.noarch
Comment 1 Honza Silhan 2016-08-29 07:06:50 EDT
it should show "no repo available".
Comment 2 Abhijeet Kasurde 2016-12-12 10:51:50 EST
PR available at https://github.com/rpm-software-management/dnf/pull/685
Comment 3 Igor Gnatenko 2017-01-24 06:45:36 EST
(In reply to Abhijeet Kasurde from comment #2)
> PR available at https://github.com/rpm-software-management/dnf/pull/685
it doesn't completely solve original problem, btw. Thing was more about expiration metadata...
Comment 4 Abhijeet Kasurde 2017-01-24 06:48:26 EST
(In reply to Igor Gnatenko from comment #3)
> (In reply to Abhijeet Kasurde from comment #2)
> > PR available at https://github.com/rpm-software-management/dnf/pull/685
> it doesn't completely solve original problem, btw. Thing was more about
> expiration metadata...

What do you recommend on this ?
Comment 5 Igor Gnatenko 2017-01-24 06:53:31 EST
(In reply to Abhijeet Kasurde from comment #4)
> (In reply to Igor Gnatenko from comment #3)
> > (In reply to Abhijeet Kasurde from comment #2)
> > > PR available at https://github.com/rpm-software-management/dnf/pull/685
> > it doesn't completely solve original problem, btw. Thing was more about
> > expiration metadata...
> 
> What do you recommend on this ?

To not show it at all..
Comment 6 Abhijeet Kasurde 2017-01-24 06:59:26 EST
OK I will work on it and open new PR related.
Comment 7 Jaroslav Mracek 2017-02-10 11:01:35 EST
Bugs fixed in version of dnf-2.0.1-1.
Comment 8 Jaroslav Mracek 2017-03-23 04:40:52 EDT
There is an alternative solution: https://github.com/rpm-software-management/dnf/pull/767
Comment 9 Fedora Update System 2017-03-27 15:20:55 EDT
dnf-2.2.0-1.fc26, libdnf-0.8.0-1.fc26 has been pushed to the Fedora 26 testing repository. If problems still persist, please make note of it in this bug report.
See https://fedoraproject.org/wiki/QA:Updates_Testing for
instructions on how to install test updates.
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2017-65586fa42b
Comment 10 Fedora Update System 2017-04-01 13:22:05 EDT
dnf-2.2.0-1.fc26, libdnf-0.8.0-1.fc26 has been pushed to the Fedora 26 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.