You recently updated the strace package to the latest version as shown:
What is the outcome of running this command?
A.
It downgrades the strace package to version 4.5.19-1.6.e16.
B.
It downgrades strace package to version 4.5.19-1.11.e16_3.2.
C.
It fails with an error because you cannot downgrade a package using the yum command.
D.
It fails with an error because there are multiple versions available to which Yum can downgrade
the strace package.
E.
It will prompt you to select a version of the strace package that you want to downgrade.
Explanation:
B
Answer is B
https://fermilinux.fnal.gov/documentation/tips/yum.tricks.html
Answer is A
Answer: B
Reason: I found this on https://access.redhat.com/solutions/186763
The command below targets the latest minor version that is lower than the current running one, such as from 6.5 to 6.4, or from 6.4 to 6.3:
# yum downgrade redhat-release
B
[Jef@ToshibaZ30-Jef Downloads]$ sudo yum –showduplicate list upgrades yum
Loaded plugins: langpacks, ulninfo
Installed Packages
yum.noarch 3.4.3-132.0.1.el7 @ol7_latest
Available Packages
yum.noarch 3.4.3-118.0.2.el7 ol7_latest
yum.noarch 3.4.3-125.0.1.el7 ol7_latest
yum.noarch 3.4.3-132.0.1.el7 ol7_latest
[Jef@ToshibaZ30-Jef Downloads]$ sudo yum downgrade yum
Loaded plugins: langpacks, ulninfo
Resolving Dependencies
–> Running transaction check
—> Package yum.noarch 0:3.4.3-125.0.1.el7 will be a downgrade
—> Package yum.noarch 0:3.4.3-132.0.1.el7 will be erased
–> Finished Dependency Resolution
Dependencies Resolved
===================================================================================================
Package Arch Version Repository Size
===================================================================================================
Downgrading:
yum noarch 3.4.3-125.0.1.el7 ol7_latest 1.2 M
Transaction Summary
===================================================================================================
Downgrade 1 Package
Total download size: 1.2 M
Is this ok [y/d/N]: y
Downloading packages:
yum-3.4.3-125.0.1.el7.noarch.rpm | 1.2 MB 00:00:02
Running transaction check
Running transaction test
Transaction test succeeded
Running transaction
Installing : yum-3.4.3-125.0.1.el7.noarch 1/2
Cleanup : yum-3.4.3-132.0.1.el7.noarch 2/2
Verifying : yum-3.4.3-125.0.1.el7.noarch 1/2
Verifying : yum-3.4.3-132.0.1.el7.noarch 2/2
Removed:
yum.noarch 0:3.4.3-132.0.1.el7
Installed:
yum.noarch 0:3.4.3-125.0.1.el7
Complete!
[Jef@ToshibaZ30-Jef Downloads]$ sudo yum –showduplicate list upgrades yum
Loaded plugins: langpacks, ulninfo
Installed Packages
yum.noarch 3.4.3-125.0.1.el7 @ol7_latest
Available Packages
yum.noarch 3.4.3-118.0.2.el7 ol7_latest
yum.noarch 3.4.3-125.0.1.el7 ol7_latest
yum.noarch 3.4.3-132.0.1.el7 ol7_latest
ANswer – B,