I am a fairly agnostic person when it comes to Linux distributions. My personal philosophy is, as long as it works and has little pain associated with it, then that's the distro for me. In the past, that meant using the likes of Ubuntu, Linux Mint, and openSUSE, to name a few, and I have gone back and forth between GNOME and KDE more times than I can count.
Since coming to Red Hat, naturally I have gravitated to Fedora (though I have a CentOS server humming along for oVirt demos). Right now, I'm using Fedora 22, and thus far it's been a pretty smooth run--except for one really irksome thing that is still catching me out nearly every single time:
The change from Yum to DNF.
Don't get me wrong; the functionality and what seems to be the superior dependency resolution of DNF versus Yum has not given me any problems. I like the fact that the DNF team used SUSE's libsolv as the basis of its new resolution algorithm, mostly because cross-distro pollination is one of the great strengths of the free and open source software community.
This was not a change that was made on a whim, either, and I get that. Long have the complaints been about the undocumented API of Yum, which drove developers nuts whenever they wanted to add functionality to Yum. The adoption of Python 3 by Fedora made the change a necessity, too, since Yum was strictly a Python 2 program and DNF can work with Python 2 and 3.
So, what's my problem? I'll tell you what my problem is:
[bproffit@indiana ~]$ sudo yum update Yum command has been deprecated, redirecting to '/usr/bin/dnf update'. See 'man dnf' and 'man yum2dnf' for more information. To transfer transaction metadata from yum to DNF, run: 'dnf install python-dnf-plugins-extras-migrate && dnf-2 migrate'
My problem is I cannot for the life of me stop typing yum
. And it's not even as clean as the above error. Normally, when trying to do something as easy as a weekly update, the sequence will be:
[bproffit@indiana ~]$ sudo yu^H^H dnf update
And the ^H^H
is usually accompanied by some language I'd rather not share on a family blog.
I realize, of course, that this is my problem, not Fedora's. It's just been frustrating, since I don't usually have this problem switching from apt-get to yum and vice versa. The goal, then, is clear: I need to embrace change and move into the future, like I have done before. Otherwise, I would still be stuck using technology like
or
and even
Moving forward is never easy: we have to simultaneously learn something different and let go of that which is familiar. But, especially in technology, it is something we all have to expect. The good news is that with open source projects, we can typically see the changes that are coming and be ready for them--or give our input on why such changes won't work and suggest something different.
Yes, sometimes that means that we will have to put up with the transitions. Cloud services instead of locally installed apps. Paying by device instead of by cash or credit. And the occasional change in default applications to get things done. In the perspective of where we were and where we are, maybe change isn't so bad.
À propos de l'auteur
Brian Proffitt is Senior Manager, Community Outreach within Red Hat's Open Source Program Office, focusing on enablement, community metrics and foundation and trade organization relationships. Brian's experience with community management includes knowledge of community onboarding, community health and business alignment. Prior to joining Red Hat in 2013, he was a technology journalist with a focus on Linux and open source, and the author of 22 consumer technology books.
Parcourir par canal
Automatisation
Les dernières nouveautés en matière d'automatisation informatique pour les technologies, les équipes et les environnements
Intelligence artificielle
Actualité sur les plateformes qui permettent aux clients d'exécuter des charges de travail d'IA sur tout type d'environnement
Cloud hybride ouvert
Découvrez comment créer un avenir flexible grâce au cloud hybride
Sécurité
Les dernières actualités sur la façon dont nous réduisons les risques dans tous les environnements et technologies
Edge computing
Actualité sur les plateformes qui simplifient les opérations en périphérie
Infrastructure
Les dernières nouveautés sur la plateforme Linux d'entreprise leader au monde
Applications
À l’intérieur de nos solutions aux défis d’application les plus difficiles
Programmes originaux
Histoires passionnantes de créateurs et de leaders de technologies d'entreprise
Produits
- Red Hat Enterprise Linux
- Red Hat OpenShift
- Red Hat Ansible Automation Platform
- Services cloud
- Voir tous les produits
Outils
- Formation et certification
- Mon compte
- Assistance client
- Ressources développeurs
- Rechercher un partenaire
- Red Hat Ecosystem Catalog
- Calculateur de valeur Red Hat
- Documentation
Essayer, acheter et vendre
Communication
- Contacter le service commercial
- Contactez notre service clientèle
- Contacter le service de formation
- Réseaux sociaux
À propos de Red Hat
Premier éditeur mondial de solutions Open Source pour les entreprises, nous fournissons des technologies Linux, cloud, de conteneurs et Kubernetes. Nous proposons des solutions stables qui aident les entreprises à jongler avec les divers environnements et plateformes, du cœur du datacenter à la périphérie du réseau.
Sélectionner une langue
Red Hat legal and privacy links
- À propos de Red Hat
- Carrières
- Événements
- Bureaux
- Contacter Red Hat
- Lire le blog Red Hat
- Diversité, équité et inclusion
- Cool Stuff Store
- Red Hat Summit