Ask Your Question

can't install software

asked 2019-03-31 10:32:13 -0500

ec44a8 gravatar image

I have no network connection now, I downloaded RPM package, copyed it to Fedora via smartphone. then ran the command: sudo dnf install ......rpm Error: Failed to synchronize cache for repo 'fedora-modular'

how can I resolve it without network connection?

edit retag flag offensive close merge delete



Hi, read this answer, especially the third paragraph:

ozeszty gravatar imageozeszty ( 2019-03-31 10:38:15 -0500 )edit


ec44a8 gravatar imageec44a8 ( 2019-04-01 08:51:17 -0500 )edit

Wow, amazing... Without internet connection,

But I think it must be look the dependency of rpm file, U can search on rpmfind, and download all file dependency... good luck bro...

katrok gravatar imagekatrok ( 2019-04-03 01:15:07 -0500 )edit

There's no need for manual dependency resolving, second paragraph from my link explains how to do that semi-automatically.

ozeszty gravatar imageozeszty ( 2019-04-03 03:46:47 -0500 )edit

1 Answer

Sort by ยป oldest newest most voted

answered 2019-03-31 10:37:13 -0500

updated 2019-03-31 10:37:56 -0500

To disable repositories temporarily you can use --disablerepo= with the dnf command. To disable all repositories you can use the command as follows.

dnf install --disablerepo='*' ./<package>.rpm
edit flag offensive delete link more



ec44a8 gravatar imageec44a8 ( 2019-04-01 08:50:59 -0500 )edit

Question Tools

1 follower


Asked: 2019-03-31 10:32:13 -0500

Seen: 134 times

Last updated: Apr 01 '19