Hello everyone,
For quite random reasons, I was wondering what would happen if I completely removed yum, and only used dnf. Is it possible to do that? or would it totally break the system? Another question: why keep two package managers, and not switch to dnf and just keep dnf? Sorry if my questions might sound stupid, but I'm quite curious. Thanks for any answer. Best regards. Francisco.
18.06.21, 12:43 +0200, Cisco Tissera:
For quite random reasons, I was wondering what would happen if I completely removed yum, and only used dnf. Is it possible to do that? or would it totally break the system? Another question: why keep two package managers, and not switch to dnf and just keep dnf?
On a fresh install of F34 Server I see this:
# LANG=C dnf list installed *yum* Installed Packages yum.noarch 4.7.0-1.fc34 @updates
# rpm -ql yum /usr/bin/yum /usr/share/man/man8/yum.8.gz
# ls -l /usr/bin/yum lrwxrwxrwx. 1 root root 5 13. Mai 16:35 /usr/bin/yum -> dnf-3*
So, there's pretty little "yummy" stuff there. And what is there is not much more than a pointer to dnf. It seems, the switch to dnf you asked about has basically already happened.
Hello there,
Yes, the switch has happened indeed, since Fedora... 21? The point I'm trying to make is, why keep yum, since the switch to dnf has already happened? Even yum's plugins and extra utilities are still a thing. Best regards. Francisco.
On Fri, Jun 18, 2021 at 7:10 AM Markus Schönhaber < fedora-users@list-post.mks-mail.de> wrote:
18.06.21, 12:43 +0200, Cisco Tissera:
For quite random reasons, I was wondering what would happen if I
completely
removed yum, and only used dnf. Is it possible to do that? or would it totally break the system? Another question: why keep two package managers, and not switch to dnf
and
just keep dnf?
On a fresh install of F34 Server I see this:
# LANG=C dnf list installed *yum* Installed Packages yum.noarch 4.7.0-1.fc34 @updates
# rpm -ql yum /usr/bin/yum /usr/share/man/man8/yum.8.gz
# ls -l /usr/bin/yum lrwxrwxrwx. 1 root root 5 13. Mai 16:35 /usr/bin/yum -> dnf-3*
So, there's pretty little "yummy" stuff there. And what is there is not much more than a pointer to dnf. It seems, the switch to dnf you asked about has basically already happened.
-- Regards mks _______________________________________________ users mailing list -- users@lists.fedoraproject.org To unsubscribe send an email to users-leave@lists.fedoraproject.org Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/ List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines List Archives: https://lists.fedoraproject.org/archives/list/users@lists.fedoraproject.org Do not reply to spam on the list, report it: https://pagure.io/fedora-infrastructure
On 18 Jun 2021, at 12:26, Cisco Tissera audiogamer2004@gmail.com wrote:
Hello there,
Yes, the switch has happened indeed, since Fedora... 21? The point I'm trying to make is, why keep yum, since the switch to dnf has already happened?
My guess is that it to do with a lot of code expecting yum and not dnf. At work we use different versions of Centos and they all support yum, not all support dnf.
Even yum's plugins and extra utilities are still a thing.
And the config is in /etc/yum.repos.d
Barry
Best regards. Francisco.
On Fri, Jun 18, 2021 at 7:10 AM Markus Schönhaber fedora-users@list-post.mks-mail.de wrote: 18.06.21, 12:43 +0200, Cisco Tissera:
For quite random reasons, I was wondering what would happen if I completely removed yum, and only used dnf. Is it possible to do that? or would it totally break the system? Another question: why keep two package managers, and not switch to dnf and just keep dnf?
On a fresh install of F34 Server I see this:
# LANG=C dnf list installed *yum* Installed Packages yum.noarch 4.7.0-1.fc34 @updates
# rpm -ql yum /usr/bin/yum /usr/share/man/man8/yum.8.gz
# ls -l /usr/bin/yum lrwxrwxrwx. 1 root root 5 13. Mai 16:35 /usr/bin/yum -> dnf-3*
So, there's pretty little "yummy" stuff there. And what is there is not much more than a pointer to dnf. It seems, the switch to dnf you asked about has basically already happened.
-- Regards mks _______________________________________________ users mailing list -- users@lists.fedoraproject.org To unsubscribe send an email to users-leave@lists.fedoraproject.org Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/ List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines List Archives: https://lists.fedoraproject.org/archives/list/users@lists.fedoraproject.org Do not reply to spam on the list, report it: https://pagure.io/fedora-infrastructure
users mailing list -- users@lists.fedoraproject.org To unsubscribe send an email to users-leave@lists.fedoraproject.org Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/ List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines List Archives: https://lists.fedoraproject.org/archives/list/users@lists.fedoraproject.org Do not reply to spam on the list, report it: https://pagure.io/fedora-infrastructure
On Fri, Jun 18, 2021 at 07:25:14AM -0400, Cisco Tissera wrote:
Hello there,
Yes, the switch has happened indeed, since Fedora... 21? The point I'm trying to make is, why keep yum, since the switch to dnf has already happened? Even yum's plugins and extra utilities are still a thing.
The 'yum' package and executable on Fedora is just a placeholder. /usr/bin/yum is just a symlink to dnf-3. There is no legacy yum code installed. The package and symlink just exists for people who are used to typing 'yum', or they use 3rd-party software that runs 'yum' instead of 'dnf'.
You can remove the yum package, it won't change the way packages are managed on Fedora. It's just a helper package.
Hello there,
I see, thanks for the explanation, I really appreciate it. About yum being a placeholder, it totally makes sense. I guess I'll remove yum then, since I've started with dnf, and because i am going to be using dnf. Thanks again. Best regards. francisco.
On Fri, Jun 18, 2021 at 9:25 AM Jonathan Billings billings@negate.org wrote:
On Fri, Jun 18, 2021 at 07:25:14AM -0400, Cisco Tissera wrote:
Hello there,
Yes, the switch has happened indeed, since Fedora... 21? The point I'm trying to make is, why keep yum, since the switch to dnf
has
already happened? Even yum's plugins and extra utilities are still a thing.
The 'yum' package and executable on Fedora is just a placeholder. /usr/bin/yum is just a symlink to dnf-3. There is no legacy yum code installed. The package and symlink just exists for people who are used to typing 'yum', or they use 3rd-party software that runs 'yum' instead of 'dnf'.
You can remove the yum package, it won't change the way packages are managed on Fedora. It's just a helper package.
-- Jonathan Billings billings@negate.org _______________________________________________ users mailing list -- users@lists.fedoraproject.org To unsubscribe send an email to users-leave@lists.fedoraproject.org Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/ List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines List Archives: https://lists.fedoraproject.org/archives/list/users@lists.fedoraproject.org Do not reply to spam on the list, report it: https://pagure.io/fedora-infrastructure
On Fri, 18 Jun 2021 at 10:54, Cisco Tissera audiogamer2004@gmail.com wrote:
Hello there,
I see, thanks for the explanation, I really appreciate it. About yum being a placeholder, it totally makes sense. I guess I'll remove yum then, since I've started with dnf, and because i am going to be using dnf.
This relatively new system (first install Fedora 29) has never had yum and I have not missed it.