Ask Your Question

Error: synchronization cache failed for the repository update

asked 2018-04-13 04:46:25 -0500

fsangalli gravatar image

Hi!! I'm trying to install fedora 27 on macbook air early 2014 using this guide . I can't install wifi driver beacuse i can't connect internet with ethernet (i don't have the adapter for thunderbolt). So i donwload the .rpm files but when i try i'm optening this error:

sudo yum update
error: synchronization cache failed for the repository update

what can i do to resolve this problem?

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted

answered 2018-04-13 07:29:55 -0500

ozeszty gravatar image

updated 2018-04-20 15:06:51 -0500

Hi, yum update and its successor dnf update require internet connection to access repositories.

Generic instruction for getting and installing packages on Fedora without internet connection

It's a bit easier if you have other Fedora system with internet access, then you can download all packages using sudo dnf install --downloadonly --downloaddir=/path_where_to_save_files/ package1 package2. You can also use it to check dependencies using sudo dnf repoquery --requires --resolve package_name, but that way you'll also get some packages already available on an offline system hence not necessary do download.

If you already have .rpm packages downloaded, navigate terminal to the folder with those files and use sudo dnf install --disablerepo=* *.rpm or sudo dnf install --disablerepo=* /full_path_to_folder/*.rpm run from any location. dnf will tell you if you need any other packages as dependencies - then download them, put into folder with the rest of .rpm files and try again.

For anyone interested, I got below list of links by using:

dnf repoquery --location --latest-limit=1 --arch=x86_64,noarch broadcom-wl akmod-wl akmods binutils cpp dwz elfutils-libelf-devel fakeroot fakeroot-libs fedora-rpm-macros fpc-srpm-macros gcc ghc-srpm-macros glibc-devel glibc-headers gnat-srpm-macros go-srpm-macros isl kernel-devel kernel-headers kmodtool nim-srpm-macros ocaml-srpm-macros openblas-srpm-macros patch perl-srpm-macros python-srpm-macros qt5-srpm-macros redhat-rpm-config rpm-build rpmdevtools rust-srpm-macros xemacs-filesystem zlib-devel zstd kernel kernel-core kernel-modules kernel-modules-extra

and list of packages by trying to install broadcom-wl on live-booted Fedora 27 - if someone has a better way of getting it (without omitting anything that's been already installed on my system), please let me know. I couldn't get dnf repoquery to do it, some options from docs just didn't work. I wonder if anyone reads this and responds...

Sorry for the delay. You're installing wrong package.

Manual instruction for this specific case (broadcom-wl)

Download (any download manager should be able to get all files at once) and install (using command I posted before) undermentioned 39 packages: ...
edit flag offensive delete link more


thank you for the complete responce. you teach me a lot about dnf command that i dont't know. I tryed to execute sudo dnf istall /path/*.rpm using the drag and drop function of the konsole but it print me out the same error.

fsangalli gravatar imagefsangalli ( 2018-04-13 16:18:49 -0500 )edit

My bad, you still have to temporarily disable repositories so that dnf isn't trying to access them to get dependencies. I updated my answer.

Neat feature this drag'n'drop info terminal.

ozeszty gravatar imageozeszty ( 2018-04-14 07:43:40 -0500 )edit

i tried to do as you said this is the result:

[fsangalli@localhost ~]$ sudo dnf install --disablerepo=fedora,updates /home/fsangalli/Scrivania/rpmfusion-free-release-29-noarch.rpm
[sudo] password di fsangalli:
Errore: #means Error
Problema: conflicting requests #means Problem
- nothing provides system-release(29) needed by rpmfusion-free-release-29-0.2.noarch

(i translate the few word from italian using comment) i tryied to search a solution but i found nothing, i don't know what this problem means.

fsangalli gravatar imagefsangalli ( 2018-04-15 05:45:12 -0500 )edit

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools


Asked: 2018-04-13 04:46:25 -0500

Seen: 67 times

Last updated: Apr 20