Centos6

嘗試使用可用軟體包更新 samba4 時出錯

  • March 17, 2018

在我們的生產環境中,我需要通過更新最新的 samba4 包來應用安全更新檔。在 centOS 6 建構上。

我知道有可用的 samba4 軟體包(yum info samba4)

[root@server ~]# yum info samba4
Loaded plugins: fastestmirror, security
Loading mirror speeds from cached hostfile
* base: ftpmirror.your.org
* epel: archive.linux.duke.edu
* extras: ftp.osuosl.org
* updates: bay.uchicago.edu
Available Packages
Name        : samba4
Arch        : x86_64
Version     : 4.2.10
Release     : 12.el6_9
Size        : 428 k
Repo        : updates
Summary     : Server and Client software to interoperate with Windows machines
URL         : http://www.samba.org/
License     : GPLv3+ and LGPLv3+
Description : Samba is the standard Windows interoperability suite of programs for Linux and Unix.

但是,當我進行更新時,它沒有安裝。

[root@server ~]# yum update samba4
Loaded plugins: fastestmirror, security
Setting up Update Process
Loading mirror speeds from cached hostfile
* base: ftpmirror.your.org
* epel: archive.linux.duke.edu
* extras: ftp.osuosl.org
* updates: bay.uchicago.edu
Package(s) samba4 available, but not installed.
No Packages marked for Update

我知道這個盒子上安裝了 samba

[root@server ~]$ rpm -qa | grep samba
samba-winbind-3.6.23-45.el6_9.x86_64
samba-common-3.6.23-45.el6_9.x86_64
samba-client-3.6.23-45.el6_9.x86_64
samba4-libs-4.2.10-11.el6_9.x86_64
samba-winbind-clients-3.6.23-45.el6_9.x86_64

關於為什麼我不能更新 samba4 的任何想法?

謝謝

你不能yum update samba4,因為samba4沒有安裝,因此它被列出,available packages當你嘗試安裝它時,你會收到消息。

如果你想要samba4你需要的命令是:

yum install samba4

引用自:https://serverfault.com/questions/902069