嘗試使用可用軟體包更新 samba4 時發生錯誤

嘗試使用可用軟體包更新 samba4 時發生錯誤

在我們的生產環境中,我需要透過更新最新的 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 有什麼想法嗎?

謝謝

答案1

您不能,yum update samba4因為samba4尚未安裝,因此它被列在available packages您嘗試安裝它時收到的訊息中。

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

yum install samba4

相關內容