Fedora Account System
Red Hat Associate
Red Hat Customer
Description of problem: Dnf seems to fail cleaning the local metadata and cache. Version-Release number of selected component (if applicable): dnf 1.1.3 How reproducible: Sometimes. Steps to Reproduce: 1. # dnf clean all; dnf upgrade 2. 3. Actual results: Failed to synchronize cache for repo 'google-chrome' from 'http://dl.google.com/linux/chrome/rpm/stable/x86_64': Yum repo downloading error: Downloading error(s): repodata/filelists.xml.gz - Cannot download, all mirrors were already tried without success, disabling. Expected results: Local copy of the repositories freshened without issues. Additional info: Please refer to ticket: https://bugzilla.redhat.com/show_bug.cgi referenced here: https://lists.fedoraproject.org/pipermail/users/2015-February/458370.html
*** Bug 1280071 has been marked as a duplicate of this bug. ***
Does `dnf update --refresh` or `rm -fr /var/cache/dnf && dnf update` works for you?
Hi Jan, thanks for stepping in. In the past I had issues with `--refresh` (Fedora 22) so I decided to go by forcing a complete sync of the local repos (hence the `dnf clean all` command); now that you mention it I will try it again and post back.
Hi Martín, What's your current experience regarding this issue? Did Jan's suggestions help you? Thanks for sharing!
Hello Michal, Jan, I totally forgot to post back :P So far it seems to be working, how did I test it: 1. # dnf --refresh upgrade && dnf clean all; dnf upgrade Version of DNF: dnf --version 1.1.4 Installed: dnf-0:1.1.4-2.fc23.noarch at 2015-12-09 12:02 Built : Fedora Project at 2015-11-27 10:25 Installed: rpm-0:4.13.0-0.rc1.7.fc23.x86_64 at 2015-12-09 12:01 Built : Fedora Project at 2015-11-20 13:08 Thanks for your vigilant watch guys!
(In reply to Martín Cigorraga from comment #5) > Hello Michal, Jan, > > I totally forgot to post back :P > So far it seems to be working, how did I test it: > 1. # dnf --refresh upgrade && dnf clean all; dnf upgrade > > Version of DNF: > dnf --version > 1.1.4 > Installed: dnf-0:1.1.4-2.fc23.noarch at 2015-12-09 12:02 > Built : Fedora Project at 2015-11-27 10:25 > > Installed: rpm-0:4.13.0-0.rc1.7.fc23.x86_64 at 2015-12-09 12:01 > Built : Fedora Project at 2015-11-20 13:08 > > > Thanks for your vigilant watch guys! Glad to hear that, thanks again!
Hi again, Well, I'm not sure how to interpret this - besides feeling a fool: http://paste.fedoraproject.org/299715/02845144 (You will need to click on the 'Wrap' button on the upper-right border, Terminus font 9px on 1920x1080 display). I'll be on alert to any requirements you may have.
Hey, So what happens is that if you provide "google-chrome" to dnf install, dnf will look for a package with this name in the enabled repositories. However, the google-chrome repository only contains the following packages (you can list them with "dnf repo-pkgs google-chrome list"): google-chrome-beta google-chrome-stable google-chrome-unstable Since there's no package simply named "google-chrome", dnf will interpret your request as a virtual provide and look for the package which provides it. All of the 3 mentioned packages do (you can list them with "dnf provides google-chrome"), so dnf will pick the newest package, which is google-chrome-beta. That said, if you want the latest stable version rather than beta, run "dnf install google-chrome-stable" instead. Let me know if that answers your question.
Excellent, I still learning my way with DNF, thanks a lot for the thorough explanation!
s/I/I'm