I have just installed a couple of packages from the RPM Fusion repositories and now I would like to disable them as I don’t think I’ll be needing them anytime soon and I’d rather avoid any possible conflict with the native repos (and also to avoid installing non-free packages inadvertently). Will that prevent the packages that I have already installed from upgrading? If yes, can I set up my system so that packages from RPM Fusion are not available for installation, but are available for upgrading those that are already installed?
If you disable the rpmfusion repositories, dnf won’t use them for anything, including updates and/or upgrades; that’s what “disabled” means. And, you don’t have to worry about packages from rpmfusion conflicting with anything from the official repos because the only packages in them are those that can’t be in the regular ones for reasons of Fedora policy, and all of their dependencies can either be met from the regular sources or from rpmfusion. Just don’t have both rpmfusion and unitedrpms enabled at the same time because that’s guarenteed to cause conflicts.
If you keep RPMFusion repository enabled, and you install software only from the Fedora repository, there is no danger that installing a package from the latter will install dependencies from RPMFusion. Your concerns arise if you install a package without verifying from which repository it comes from.
The answer to your question (Do packages installed from disabled repositories upgrade) is no.
Said that (excuse me, English is not my main language) there are various options in DNF.
You can keep the third party repository enabled, and use one of these options in the repository configuration file: for instance have a look to
You can find more informations here
man dnf.conf or here https://dnf.readthedocs.io/en/latest/conf_ref.html#repo-options
Include packages of this repository, specified by a name or a glob
and separated by a comma, in all operations. Inverse of excludepkgs,
DNF will exclude any package in the repository that doesn’t match
this list. This works in conjunction with exclude and doesn’t over‐
ride it, so if you ‘excludepkgs=.i386’ and 'includepkgs=python’
then only packages starting with python that do not have an i386 arch
will be seen by DNF in this repo.
Thanks! I didn’t know about
includepkgs. Btw are you from Italy? I wanted to ask you in a private message but I can’t figure out how to send one…
@ArchStanton yes I am. There is also an Italian category here, but until people don’t start to use it, it’s better to use the English one, where there is more possibility to get help. So, spread the word!!
Probably you are (still) not allowed to send direct messages due to the Discourse Trust Level mechanism. With time and activity on the forum, you will gain more “privileges”.
@alciregi I’m always spreading the word! But when I’m proselytising, I usually refer people to Ubuntu . I have just started using Fedora and I like it, though I’m waiting for the next release upgrade to see how much of an hassle it will be . Also, Ubuntu has some niceties that I’m glad to have learned about and that I have imported in Fedora. Anyway, I’m Trieste (and sometimes in Vicenza), are you nearby?
No problem, Ubuntu is a nice distribution to start using Linux.
Anyway, remember to point people using Fedora to this brand new discussion platform if you get the chance.
No , I’m from Tuscany.
Oh, then nevermind