What is the outcome of the YUM command?

You installed the sendmail-cf package using the yum command as shown:
# yum –Y install sendmail-cf
Loaded plugins: security
Setting up Install Process
Resolving Dependencies
– -> Running Transaction Check
– – – > Package sendmail-cf.noarch 0:8.14.4-8.e16 will be installed
– – > Processing Dependency: sendmail = 7.14.4-8.e16 for package: sendmail-cf-8.14.4-8.e16.noarch
– – > Running transaction check
– – > Package sendmail.x86_64 0:8.14.4-8.e16 will be installed
– – > Finished Dependency Resolution
Dependency Resolved


What is the outcome of the YUM command?
# yun –y remove sendmail

You installed the sendmail-cf package using the yum command as shown:
# yum –Y install sendmail-cf
Loaded plugins: security
Setting up Install Process
Resolving Dependencies
– -> Running Transaction Check
– – – > Package sendmail-cf.noarch 0:8.14.4-8.e16 will be installed
– – > Processing Dependency: sendmail = 7.14.4-8.e16 for package: sendmail-cf-8.14.4-8.e16.noarch
– – > Running transaction check
– – > Package sendmail.x86_64 0:8.14.4-8.e16 will be installed
– – > Finished Dependency Resolution
Dependency Resolved


What is the outcome of the YUM command?
# yun –y remove sendmail

A.
It fails with an error because the sendmail-cf package depends on the package being removed.

B.
It succeeds and removes both the sendmail and sendmail-cf packages.

C.
It succeeds and only removes the sendmail package.

D.
It removes the sendmail packages and raises a warning about the sendmail-cf package, which
depends on the package being removed.

E.
It removes the sendmail package and prompts you for the option to remove the sendmail-cf
package.

Explanation:



Leave a Reply 5

Your email address will not be published. Required fields are marked *


Vinicius Torres

Vinicius Torres

Its missing one option

E. It erases both the sendmail and sendmail-cf packages because the sendmail-cf package depends on the sendmail package.

the tuk-ITE'05 CON-KMITL

the tuk-ITE'05 CON-KMITL

[root@OraLinux6 /]# yum -y remove sendmail
Loaded plugins: refresh-packagekit, security
Setting up Remove Process
Resolving Dependencies
–> Running transaction check
—> Package sendmail.x86_64 0:8.14.4-8.el6 will be erased
–> Processing Dependency: sendmail = 8.14.4-8.el6 for package: sendmail-cf-8.14.4-8.el6.noarch
–> Running transaction check
—> Package sendmail-cf.noarch 0:8.14.4-8.el6 will be erased
–> Finished Dependency Resolution

Dependencies Resolved

=======================================================================================================================================================================
Package Arch Version Repository Size
=======================================================================================================================================================================
Removing:
sendmail x86_64 8.14.4-8.el6 @local 1.5 M
Removing for dependencies:
sendmail-cf noarch 8.14.4-8.el6 @local 939 k

Transaction Summary
=======================================================================================================================================================================
Remove 2 Package(s)

Installed size: 2.5 M
Downloading Packages:
Running rpm_check_debug
Running Transaction Test
Transaction Test Succeeded
Running Transaction
Erasing : sendmail-cf-8.14.4-8.el6.noarch 1/2
Erasing : sendmail-8.14.4-8.el6.x86_64 2/2
Verifying : sendmail-cf-8.14.4-8.el6.noarch 1/2
Verifying : sendmail-8.14.4-8.el6.x86_64 2/2

Removed:
sendmail.x86_64 0:8.14.4-8.el6

Dependency Removed:
sendmail-cf.noarch 0:8.14.4-8.el6

Complete!
[root@OraLinux6 /]#

lilacmega

lilacmega

The answer is B
================

To uninstall any package, as well as any packages that depend on it, run the following command as root:

yum remove package_name…

Dilliadis

Dilliadis

B – best answer