# 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
...................................