rpm、yum、编译安装轻松管理centos7程序包(13)
- UID
- 1066743
|
rpm、yum、编译安装轻松管理centos7程序包(13)
# yum provides /etc/passwd
Loaded plugins: fastestmirror, langpacks
Loading mirror speeds from cached hostfile
* base: mirrors.aliyun.com
* extras: mirrors.aliyun.com
* updates: mirrors.aliyun.com
setup-2.8.71-6.el7.noarch : A set of system configuration and setup files
Repo : base
Matched from:
Filename : /etc/passwd
setup-2.8.71-5.el7.noarch : A set of system configuration and setup files
Repo : @anaconda
Matched from:
Filename : /etc/passwd
c、升级
check-update:检查可用升级
# yum check-update
Loaded plugins: fastestmirror, langpacks
Loading mirror speeds from cached hostfile
* base: mirrors.aliyun.com
* extras: mirrors.aliyun.com
* updates: mirrors.aliyun.com
ModemManager.x86_64 1.1.0-8.git20130913.el7 base
ModemManager-glib.x86_64 1.1.0-8.git20130913.el7 base
NetworkManager.x86_64 1:1.0.6-27.el7 base
NetworkManager-adsl.x86_64 1:1.0.6-27.el7 base
NetworkManager-bluetooth.x86_64 1:1.0.6-27.el7 base
NetworkManager-glib.x86_64 1:1.0.6-27.el7 base
NetworkManager-libnm.x86_64 1:1.0.6-27.el7 base
NetworkManager-team.x86_64 1:1.0.6-27.el7 base
NetworkManager-tui.x86_64 1:1.0.6-27.el7 base
NetworkManager-wifi.x86_64 1:1.0.6-27.el7 base
NetworkManager-wwan.x86_64 1:1.0.6-27.el7 base
PackageKit-glib.x86_64 1.0.7-5.el7.centos base
PackageKit-gstreamer-plugin.x86_64 1.0.7-5.el7.centos base
SDL.x86_64 1.2.15-14.el7 base
abattis-cantarell-fonts.noarch 0.0.16-3.el7 base
abrt.x86_64 2.1.11-36.el7.centos base
abrt-addon-ccpp.x86_64 2.1.11-36.el7.centos base
abrt-addon-kerneloops.x86_64 2.1.11-36.el7.centos base
abrt-addon-pstoreoops.x86_64 2.1.11-36.el7.centos base
abrt-addon-python.x86_64 2.1.11-36.el7.centos base
abrt-addon-vmcore.x86_64 2.1.11-36.el7.centos base
abrt-addon-xorg.x86_64 2.1.11-36.el7.centos base
abrt-cli.x86_64 2.1.11-36.el7.centos base
samba-client.x86_64 4.2.3-12.el7_2 updates
samba-common.noarch 4.2.3-12.el7_2 updates
samba-libs.x86_64 4.2.3-12.el7_2 updates
...................................
update:升级
# yum update samba -y
Loaded plugins: fastestmirror, langpacks
Loading mirror speeds from cached hostfile
* base: mirrors.aliyun.com
* extras: mirrors.aliyun.com
* updates: mirrors.aliyun.com
Package(s) samba available, but not installed.
No packages marked for update
[root@bogon conf]# yum update samba-client -y
Loaded plugins: fastestmirror, langpacks
Loading mirror speeds from cached hostfile
* base: mirrors.aliyun.com
* extras: mirrors.aliyun.com
* updates: mirrors.aliyun.com
Resolving Dependencies
--> Running transaction check
---> Package samba-client.x86_64 0:4.1.12-21.el7_1 will be updated
---> Package samba-client.x86_64 0:4.2.3-12.el7_2 will be an update
--> Processing Dependency: samba-common-libs = 4.2.3-12.el7_2 for package: samba-client-4.2.3-12.el7_2.x86_64
--> Processing Dependency: samba-common = 4.2.3-12.el7_2 for package: samba-client-4.2.3-12.el7_2.x86_64
--> Processing Dependency: samba-common = 4.2.3-12.el7_2 for package: samba-client-4.2.3-12.el7_2.x86_64
--> Processing Dependency: samba-client-libs = 4.2.3-12.el7_2 for package: samba-client-4.2.3-12.el7_2.x86_64
--> Processing Dependency: libsmbclient = 4.2.3-12.el7_2 for package: samba-client-4.2.3-12.
...........................
Running transaction
Updating : samba-libs-4.2.3-12.el7_2.x86_64 1/13
Installing : samba-common-tools-4.2.3-12.el7_2.x86_64 2/13
Updating : samba-common-4.2.3-12.el7_2.noarch 3/13
Updating : libwbclient-4.2.3-12.el7_2.x86_64 4/13
Installing : samba-client-libs-4.2.3-12.el7_2.x86_64 5/13
Installing : samba-common-libs-4.2.3-12.el7_2.x86_64 6/13
Updating : libsmbclient-4.2.3-12.el7_2.x86_64 7/13
Updating : samba-client-4.2.3-12.el7_2.x86_64 8/13
Cleanup : samba-client-4.1.12-21.el7_1.x86_64 9/13
Cleanup : libsmbclient-4.1.12-21.el7_1.x86_64 10/13
Cleanup : samba-common-4.1.12-21.el7_1.x86_64 11/13
Cleanup : libwbclient-4.1.12-21.el7_1.x86_64 12/13
Cleanup : samba-libs-4.1.12-21.el7_1.x86_64 13/13
Verifying : samba-libs-4.2.3-12.el7_2.x86_64 1/13
Verifying : samba-common-4.2.3-12.el7_2.noarch 2/13
Verifying : samba-client-libs-4.2.3-12.el7_2.x86_64 3/13
Verifying : libwbclient-4.2.3-12.el7_2.x86_64 4/13
Verifying : samba-common-libs-4.2.3-12.el7_2.x86_64 5/13
Verifying : samba-common-tools-4.2.3-12.el7_2.x86_64 6/13
Verifying : samba-client-4.2.3-12.el7_2.x86_64 7/13
Verifying : libsmbclient-4.2.3-12.el7_2.x86_64 8/13
Verifying : samba-libs-4.1.12-21.el7_1.x86_64 9/13
Verifying : samba-common-4.1.12-21.el7_1.x86_64 10/13
Verifying : samba-client-4.1.12-21.el7_1.x86_64 11/13
Verifying : libsmbclient-4.1.12-21.el7_1.x86_64 12/13
Verifying : libwbclient-4.1.12-21.el7_1.x86_64 13/13
Dependency Installed:
samba-client-libs.x86_64 0:4.2.3-12.el7_2 samba-common-libs.x86_64 0:4.2.3-12.el7_2
samba-common-tools.x86_64 0:4.2.3-12.el7_2
Updated:
samba-client.x86_64 0:4.2.3-12.el7_2
Dependency Updated:
libsmbclient.x86_64 0:4.2.3-12.el7_2 libwbclient.x86_64 0:4.2.3-12.el7_2
samba-common.noarch 0:4.2.3-12.el7_2 samba-libs.x86_64 0:4.2.3-12.el7_2
Complete! |
|
|
|
|
|