Differences between yum update and dnf upgrade
Clash Royale CLAN TAG#URR8PPP
up vote
-1
down vote
favorite
I'd like to find out if there are differences between yum update
and dnf upgrade
.
I am using CentOS 7. I haven been using BOTH commands at the same time.
And I just tried it again and this is what happened:
yum update
Loaded plugins: fastestmirror, langpacks
adobe-linux-x86_64 | 2.9 kB 00:00
base | 3.6 kB 00:00
extras | 3.4 kB 00:00
updates | 3.4 kB 00:00
(1/2): adobe-linux-x86_64/primary_db | 2.7 kB 00:00
(2/2): updates/7/x86_64/primary_db | 6.9 MB 00:02
#############################################################
dnf upgrade
Adobe Systems Incorporated 15 kB/s | 1.9 kB 00:00
CentOS-7 - Base 45 kB/s | 9.5 MB 03:35 5CentOS-7 - Updates 2.0 MB/s | 9.4 MB 00:04
CentOS-7 - Extras 1.2 MB/s | 929 kB 00:00
Using metadata from Tue Apr 10 16:22:39 2018
Dependencies resolved.
Nothing to do.
To me it seems they are showing different updates. But I could be wrong.
yum dnf
add a comment |Â
up vote
-1
down vote
favorite
I'd like to find out if there are differences between yum update
and dnf upgrade
.
I am using CentOS 7. I haven been using BOTH commands at the same time.
And I just tried it again and this is what happened:
yum update
Loaded plugins: fastestmirror, langpacks
adobe-linux-x86_64 | 2.9 kB 00:00
base | 3.6 kB 00:00
extras | 3.4 kB 00:00
updates | 3.4 kB 00:00
(1/2): adobe-linux-x86_64/primary_db | 2.7 kB 00:00
(2/2): updates/7/x86_64/primary_db | 6.9 MB 00:02
#############################################################
dnf upgrade
Adobe Systems Incorporated 15 kB/s | 1.9 kB 00:00
CentOS-7 - Base 45 kB/s | 9.5 MB 03:35 5CentOS-7 - Updates 2.0 MB/s | 9.4 MB 00:04
CentOS-7 - Extras 1.2 MB/s | 929 kB 00:00
Using metadata from Tue Apr 10 16:22:39 2018
Dependencies resolved.
Nothing to do.
To me it seems they are showing different updates. But I could be wrong.
yum dnf
What are you expecting? Neither is offering any new packages to update. They should be the equivalent command. You just went out of your way and installeddnf
on CentOS before it migrated there from Fedora.
â Aaron D. Marasco
Apr 11 at 0:01
Thank you Aaron. One of the reasons that I installed dnf was because I was told that yum is going outdated, and I should start using dnf. Now I have been curious which one actually shows a better updating results. - Denny
â Denny
Apr 11 at 0:13
First -- "I haven_'t_ been" or "I have[n] been"?
â Rich
Apr 11 at 1:14
1
Second,yum
will not go away while CentOS 7 is still current. The earliest you'll see it go away and be superseded bydnf
is with RHEL8/CentOS8.
â Rich
Apr 11 at 1:15
1
Please read these superuser.com/questions/433375/⦠unix.stackexchange.com/questions/211291/â¦
â Dipankar Nalui
Apr 11 at 1:57
add a comment |Â
up vote
-1
down vote
favorite
up vote
-1
down vote
favorite
I'd like to find out if there are differences between yum update
and dnf upgrade
.
I am using CentOS 7. I haven been using BOTH commands at the same time.
And I just tried it again and this is what happened:
yum update
Loaded plugins: fastestmirror, langpacks
adobe-linux-x86_64 | 2.9 kB 00:00
base | 3.6 kB 00:00
extras | 3.4 kB 00:00
updates | 3.4 kB 00:00
(1/2): adobe-linux-x86_64/primary_db | 2.7 kB 00:00
(2/2): updates/7/x86_64/primary_db | 6.9 MB 00:02
#############################################################
dnf upgrade
Adobe Systems Incorporated 15 kB/s | 1.9 kB 00:00
CentOS-7 - Base 45 kB/s | 9.5 MB 03:35 5CentOS-7 - Updates 2.0 MB/s | 9.4 MB 00:04
CentOS-7 - Extras 1.2 MB/s | 929 kB 00:00
Using metadata from Tue Apr 10 16:22:39 2018
Dependencies resolved.
Nothing to do.
To me it seems they are showing different updates. But I could be wrong.
yum dnf
I'd like to find out if there are differences between yum update
and dnf upgrade
.
I am using CentOS 7. I haven been using BOTH commands at the same time.
And I just tried it again and this is what happened:
yum update
Loaded plugins: fastestmirror, langpacks
adobe-linux-x86_64 | 2.9 kB 00:00
base | 3.6 kB 00:00
extras | 3.4 kB 00:00
updates | 3.4 kB 00:00
(1/2): adobe-linux-x86_64/primary_db | 2.7 kB 00:00
(2/2): updates/7/x86_64/primary_db | 6.9 MB 00:02
#############################################################
dnf upgrade
Adobe Systems Incorporated 15 kB/s | 1.9 kB 00:00
CentOS-7 - Base 45 kB/s | 9.5 MB 03:35 5CentOS-7 - Updates 2.0 MB/s | 9.4 MB 00:04
CentOS-7 - Extras 1.2 MB/s | 929 kB 00:00
Using metadata from Tue Apr 10 16:22:39 2018
Dependencies resolved.
Nothing to do.
To me it seems they are showing different updates. But I could be wrong.
yum dnf
edited Apr 11 at 2:25
muru
33.3k576140
33.3k576140
asked Apr 10 at 23:37
Denny
4115
4115
What are you expecting? Neither is offering any new packages to update. They should be the equivalent command. You just went out of your way and installeddnf
on CentOS before it migrated there from Fedora.
â Aaron D. Marasco
Apr 11 at 0:01
Thank you Aaron. One of the reasons that I installed dnf was because I was told that yum is going outdated, and I should start using dnf. Now I have been curious which one actually shows a better updating results. - Denny
â Denny
Apr 11 at 0:13
First -- "I haven_'t_ been" or "I have[n] been"?
â Rich
Apr 11 at 1:14
1
Second,yum
will not go away while CentOS 7 is still current. The earliest you'll see it go away and be superseded bydnf
is with RHEL8/CentOS8.
â Rich
Apr 11 at 1:15
1
Please read these superuser.com/questions/433375/⦠unix.stackexchange.com/questions/211291/â¦
â Dipankar Nalui
Apr 11 at 1:57
add a comment |Â
What are you expecting? Neither is offering any new packages to update. They should be the equivalent command. You just went out of your way and installeddnf
on CentOS before it migrated there from Fedora.
â Aaron D. Marasco
Apr 11 at 0:01
Thank you Aaron. One of the reasons that I installed dnf was because I was told that yum is going outdated, and I should start using dnf. Now I have been curious which one actually shows a better updating results. - Denny
â Denny
Apr 11 at 0:13
First -- "I haven_'t_ been" or "I have[n] been"?
â Rich
Apr 11 at 1:14
1
Second,yum
will not go away while CentOS 7 is still current. The earliest you'll see it go away and be superseded bydnf
is with RHEL8/CentOS8.
â Rich
Apr 11 at 1:15
1
Please read these superuser.com/questions/433375/⦠unix.stackexchange.com/questions/211291/â¦
â Dipankar Nalui
Apr 11 at 1:57
What are you expecting? Neither is offering any new packages to update. They should be the equivalent command. You just went out of your way and installed
dnf
on CentOS before it migrated there from Fedora.â Aaron D. Marasco
Apr 11 at 0:01
What are you expecting? Neither is offering any new packages to update. They should be the equivalent command. You just went out of your way and installed
dnf
on CentOS before it migrated there from Fedora.â Aaron D. Marasco
Apr 11 at 0:01
Thank you Aaron. One of the reasons that I installed dnf was because I was told that yum is going outdated, and I should start using dnf. Now I have been curious which one actually shows a better updating results. - Denny
â Denny
Apr 11 at 0:13
Thank you Aaron. One of the reasons that I installed dnf was because I was told that yum is going outdated, and I should start using dnf. Now I have been curious which one actually shows a better updating results. - Denny
â Denny
Apr 11 at 0:13
First -- "I haven_'t_ been" or "I have[n] been"?
â Rich
Apr 11 at 1:14
First -- "I haven_'t_ been" or "I have[n] been"?
â Rich
Apr 11 at 1:14
1
1
Second,
yum
will not go away while CentOS 7 is still current. The earliest you'll see it go away and be superseded by dnf
is with RHEL8/CentOS8.â Rich
Apr 11 at 1:15
Second,
yum
will not go away while CentOS 7 is still current. The earliest you'll see it go away and be superseded by dnf
is with RHEL8/CentOS8.â Rich
Apr 11 at 1:15
1
1
Please read these superuser.com/questions/433375/⦠unix.stackexchange.com/questions/211291/â¦
â Dipankar Nalui
Apr 11 at 1:57
Please read these superuser.com/questions/433375/⦠unix.stackexchange.com/questions/211291/â¦
â Dipankar Nalui
Apr 11 at 1:57
add a comment |Â
1 Answer
1
active
oldest
votes
up vote
0
down vote
accepted
You should first run update
, then upgrade
.
Read Updating Packages from the Command Line with yum
What is the technical differences between âÂÂupdateâ and âÂÂupgradeâ with yum?
update:
If run without any packages, update will update every currently installed package. If one or more packages or package globs are
specified, Yum will only update the listed packages. While updating
packages, yum will ensure that all dependencies are satisfied. [â¦]
If [â¦] the --obsoletes flag is present yum will include package obsoletes in its calculations - this makes it better for
distro-version changes, for example: upgrading from somelinux 8.0 to
somelinux 9.
upgrade:
Is the same as the update command with the --obsoletes flag set.
In CentOS, what is the difference between yum update and yum upgrade?
Yum vs DNF
Compared to Yum, DNF offers:
- Better dependency management
- Support Extensions other than Python
- Documented API
- Lower memory usage
- Less automatic synchronization of metadata with repositories, a process that users often complain "happens too often and takes too much time."
See Will DNF Replace Yum?
add a comment |Â
1 Answer
1
active
oldest
votes
1 Answer
1
active
oldest
votes
active
oldest
votes
active
oldest
votes
up vote
0
down vote
accepted
You should first run update
, then upgrade
.
Read Updating Packages from the Command Line with yum
What is the technical differences between âÂÂupdateâ and âÂÂupgradeâ with yum?
update:
If run without any packages, update will update every currently installed package. If one or more packages or package globs are
specified, Yum will only update the listed packages. While updating
packages, yum will ensure that all dependencies are satisfied. [â¦]
If [â¦] the --obsoletes flag is present yum will include package obsoletes in its calculations - this makes it better for
distro-version changes, for example: upgrading from somelinux 8.0 to
somelinux 9.
upgrade:
Is the same as the update command with the --obsoletes flag set.
In CentOS, what is the difference between yum update and yum upgrade?
Yum vs DNF
Compared to Yum, DNF offers:
- Better dependency management
- Support Extensions other than Python
- Documented API
- Lower memory usage
- Less automatic synchronization of metadata with repositories, a process that users often complain "happens too often and takes too much time."
See Will DNF Replace Yum?
add a comment |Â
up vote
0
down vote
accepted
You should first run update
, then upgrade
.
Read Updating Packages from the Command Line with yum
What is the technical differences between âÂÂupdateâ and âÂÂupgradeâ with yum?
update:
If run without any packages, update will update every currently installed package. If one or more packages or package globs are
specified, Yum will only update the listed packages. While updating
packages, yum will ensure that all dependencies are satisfied. [â¦]
If [â¦] the --obsoletes flag is present yum will include package obsoletes in its calculations - this makes it better for
distro-version changes, for example: upgrading from somelinux 8.0 to
somelinux 9.
upgrade:
Is the same as the update command with the --obsoletes flag set.
In CentOS, what is the difference between yum update and yum upgrade?
Yum vs DNF
Compared to Yum, DNF offers:
- Better dependency management
- Support Extensions other than Python
- Documented API
- Lower memory usage
- Less automatic synchronization of metadata with repositories, a process that users often complain "happens too often and takes too much time."
See Will DNF Replace Yum?
add a comment |Â
up vote
0
down vote
accepted
up vote
0
down vote
accepted
You should first run update
, then upgrade
.
Read Updating Packages from the Command Line with yum
What is the technical differences between âÂÂupdateâ and âÂÂupgradeâ with yum?
update:
If run without any packages, update will update every currently installed package. If one or more packages or package globs are
specified, Yum will only update the listed packages. While updating
packages, yum will ensure that all dependencies are satisfied. [â¦]
If [â¦] the --obsoletes flag is present yum will include package obsoletes in its calculations - this makes it better for
distro-version changes, for example: upgrading from somelinux 8.0 to
somelinux 9.
upgrade:
Is the same as the update command with the --obsoletes flag set.
In CentOS, what is the difference between yum update and yum upgrade?
Yum vs DNF
Compared to Yum, DNF offers:
- Better dependency management
- Support Extensions other than Python
- Documented API
- Lower memory usage
- Less automatic synchronization of metadata with repositories, a process that users often complain "happens too often and takes too much time."
See Will DNF Replace Yum?
You should first run update
, then upgrade
.
Read Updating Packages from the Command Line with yum
What is the technical differences between âÂÂupdateâ and âÂÂupgradeâ with yum?
update:
If run without any packages, update will update every currently installed package. If one or more packages or package globs are
specified, Yum will only update the listed packages. While updating
packages, yum will ensure that all dependencies are satisfied. [â¦]
If [â¦] the --obsoletes flag is present yum will include package obsoletes in its calculations - this makes it better for
distro-version changes, for example: upgrading from somelinux 8.0 to
somelinux 9.
upgrade:
Is the same as the update command with the --obsoletes flag set.
In CentOS, what is the difference between yum update and yum upgrade?
Yum vs DNF
Compared to Yum, DNF offers:
- Better dependency management
- Support Extensions other than Python
- Documented API
- Lower memory usage
- Less automatic synchronization of metadata with repositories, a process that users often complain "happens too often and takes too much time."
See Will DNF Replace Yum?
edited Apr 11 at 2:34
answered Apr 11 at 2:07
Dipankar Nalui
3828
3828
add a comment |Â
add a comment |Â
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f436881%2fdifferences-between-yum-update-and-dnf-upgrade%23new-answer', 'question_page');
);
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
What are you expecting? Neither is offering any new packages to update. They should be the equivalent command. You just went out of your way and installed
dnf
on CentOS before it migrated there from Fedora.â Aaron D. Marasco
Apr 11 at 0:01
Thank you Aaron. One of the reasons that I installed dnf was because I was told that yum is going outdated, and I should start using dnf. Now I have been curious which one actually shows a better updating results. - Denny
â Denny
Apr 11 at 0:13
First -- "I haven_'t_ been" or "I have[n] been"?
â Rich
Apr 11 at 1:14
1
Second,
yum
will not go away while CentOS 7 is still current. The earliest you'll see it go away and be superseded bydnf
is with RHEL8/CentOS8.â Rich
Apr 11 at 1:15
1
Please read these superuser.com/questions/433375/⦠unix.stackexchange.com/questions/211291/â¦
â Dipankar Nalui
Apr 11 at 1:57