yum 安装的软件包卸载

[root@localhost yum.repos.d]# yum remove device-mapper-persistent-data
Loaded plugins: langpacks, ulninfo
Resolving Dependencies
--> Running transaction check
---> Package device-mapper-persistent-data.x86_64 0:0.8.5-2.el7 will be erased
--> Processing Dependency: device-mapper-persistent-data >= 0.7.0-0.1.rc6 for package: 7:lvm2-2.02.186-7.0.1.el7_8.2.x86_64
--> Running transaction check
---> Package lvm2.x86_64 7:2.02.186-7.0.1.el7_8.2 will be erased
--> Processing Dependency: lvm2 >= 2.02.99 for package: 1:python-blivet-0.61.15.65-1.0.1.el7.noarch
--> Processing Dependency: lvm2 for package: libvirt-daemon-driver-storage-logical-3.2.0-14.el7.x86_64
--> Running transaction check
---> Package libvirt-daemon-driver-storage-logical.x86_64 0:3.2.0-14.el7 will be erased
--> Processing Dependency: libvirt-daemon-driver-storage-logical = 3.2.0-14.el7 for package: libvirt-daemon-driver-storage-3.2.0-14.el7.x86_64
---> Package python-blivet.noarch 1:0.61.15.65-1.0.1.el7 will be erased
--> Processing Dependency: python-blivet >= 1:0.61.15.60 for package: anaconda-core-21.48.22.121-1.0.2.el7.x86_64
--> Running transaction check
---> Package anaconda-core.x86_64 0:21.48.22.121-1.0.2.el7 will be erased
--> Processing Dependency: anaconda-core = 21.48.22.121-1.0.2.el7 for package: anaconda-gui-21.48.22.121-1.0.2.el7.x86_64
--> Processing Dependency: anaconda-core = 21.48.22.121-1.0.2.el7 for package: anaconda-tui-21.48.22.121-1.0.2.el7.x86_64
---> Package libvirt-daemon-driver-storage.x86_64 0:3.2.0-14.el7 will be erased
--> Processing Dependency: libvirt-daemon-driver-storage = 3.2.0-14.el7 for package: libvirt-daemon-kvm-3.2.0-14.el7.x86_64
--> Running transaction check
---> Package anaconda-gui.x86_64 0:21.48.22.121-1.0.2.el7 will be erased
--> Processing Dependency: anaconda-gui >= 21.48.22.102 for package: initial-setup-gui-0.3.9.40-1.0.1.el7.x86_64
---> Package anaconda-tui.x86_64 0:21.48.22.121-1.0.2.el7 will be erased
--> Processing Dependency: anaconda-tui >= 21.48.22.102 for package: initial-setup-0.3.9.40-1.0.1.el7.x86_64
---> Package libvirt-daemon-kvm.x86_64 0:3.2.0-14.el7 will be erased
--> Processing Dependency: libvirt-daemon-kvm for package: gnome-boxes-3.22.4-4.el7.x86_64
--> Running transaction check
---> Package gnome-boxes.x86_64 0:3.22.4-4.el7 will be erased
---> Package initial-setup.x86_64 0:0.3.9.40-1.0.1.el7 will be erased
---> Package initial-setup-gui.x86_64 0:0.3.9.40-1.0.1.el7 will be erased
--> Finished Dependency Resolution

Dependencies Resolved

============================================================================================================================================================================================
Package Arch Version Repository Size
============================================================================================================================================================================================
Removing:
device-mapper-persistent-data x86_64 0.8.5-2.el7 @ol7_latest 1.3 M
Removing for dependencies:
anaconda-core x86_64 21.48.22.121-1.0.2.el7 @anaconda/7.4 8.0 M
anaconda-gui x86_64 21.48.22.121-1.0.2.el7 @anaconda/7.4 1.4 M
anaconda-tui x86_64 21.48.22.121-1.0.2.el7 @anaconda/7.4 435 k
gnome-boxes x86_64 3.22.4-4.el7 @anaconda/7.4 5.0 M
initial-setup x86_64 0.3.9.40-1.0.1.el7 @anaconda/7.4 219 k
initial-setup-gui x86_64 0.3.9.40-1.0.1.el7 @anaconda/7.4 32 k
libvirt-daemon-driver-storage x86_64 3.2.0-14.el7 @anaconda/7.4 0.0
libvirt-daemon-driver-storage-logical x86_64 3.2.0-14.el7 @anaconda/7.4 23 k
libvirt-daemon-kvm x86_64 3.2.0-14.el7 @anaconda/7.4 0.0
lvm2 x86_64 7:2.02.186-7.0.1.el7_8.2 @ol7_latest 3.0 M
python-blivet noarch 1:0.61.15.65-1.0.1.el7 @anaconda/7.4 3.0 M

Transaction Summary
============================================================================================================================================================================================
Remove 1 Package (+11 Dependent packages)

Installed size: 22 M
Is this ok [y/N]: y
Downloading packages:
Running transaction check
Running transaction test
Transaction test succeeded
Running transaction
Erasing : initial-setup-gui-0.3.9.40-1.0.1.el7.x86_64 1/12
Erasing : anaconda-gui-21.48.22.121-1.0.2.el7.x86_64 2/12
Erasing : initial-setup-0.3.9.40-1.0.1.el7.x86_64 3/12
Erasing : anaconda-tui-21.48.22.121-1.0.2.el7.x86_64 4/12
Erasing : anaconda-core-21.48.22.121-1.0.2.el7.x86_64 5/12
Erasing : 1:python-blivet-0.61.15.65-1.0.1.el7.noarch 6/12
Erasing : gnome-boxes-3.22.4-4.el7.x86_64 7/12
Erasing : libvirt-daemon-kvm-3.2.0-14.el7.x86_64 8/12
Erasing : libvirt-daemon-driver-storage-3.2.0-14.el7.x86_64 9/12
Erasing : libvirt-daemon-driver-storage-logical-3.2.0-14.el7.x86_64 10/12
Erasing : 7:lvm2-2.02.186-7.0.1.el7_8.2.x86_64 11/12
Erasing : device-mapper-persistent-data-0.8.5-2.el7.x86_64 12/12
Verifying : anaconda-core-21.48.22.121-1.0.2.el7.x86_64 1/12
Verifying : anaconda-tui-21.48.22.121-1.0.2.el7.x86_64 2/12
Verifying : initial-setup-gui-0.3.9.40-1.0.1.el7.x86_64 3/12
Verifying : device-mapper-persistent-data-0.8.5-2.el7.x86_64 4/12
Verifying : libvirt-daemon-driver-storage-3.2.0-14.el7.x86_64 5/12
Verifying : initial-setup-0.3.9.40-1.0.1.el7.x86_64 6/12
Verifying : libvirt-daemon-kvm-3.2.0-14.el7.x86_64 7/12
Verifying : gnome-boxes-3.22.4-4.el7.x86_64 8/12
Verifying : 1:python-blivet-0.61.15.65-1.0.1.el7.noarch 9/12
Verifying : anaconda-gui-21.48.22.121-1.0.2.el7.x86_64 10/12
Verifying : 7:lvm2-2.02.186-7.0.1.el7_8.2.x86_64 11/12
Verifying : libvirt-daemon-driver-storage-logical-3.2.0-14.el7.x86_64 12/12

Removed:
device-mapper-persistent-data.x86_64 0:0.8.5-2.el7

Dependency Removed:
anaconda-core.x86_64 0:21.48.22.121-1.0.2.el7 anaconda-gui.x86_64 0:21.48.22.121-1.0.2.el7 anaconda-tui.x86_64 0:21.48.22.121-1.0.2.el7
gnome-boxes.x86_64 0:3.22.4-4.el7 initial-setup.x86_64 0:0.3.9.40-1.0.1.el7 initial-setup-gui.x86_64 0:0.3.9.40-1.0.1.el7
libvirt-daemon-driver-storage.x86_64 0:3.2.0-14.el7 libvirt-daemon-driver-storage-logical.x86_64 0:3.2.0-14.el7 libvirt-daemon-kvm.x86_64 0:3.2.0-14.el7
lvm2.x86_64 7:2.02.186-7.0.1.el7_8.2 python-blivet.noarch 1:0.61.15.65-1.0.1.el7

Complete!

root@localhost yum.repos.d]# rpm -qa|grep device-mapper-persistent-data
[root@localhost yum.repos.d]#

如斯。

posted @ 2020-07-08 16:16  beawh  阅读(2250)  评论(0编辑  收藏  举报