首页
学习
活动
专区
圈层
工具
发布
首页
学习
活动
专区
圈层
工具
MCP广场
社区首页 >问答首页 >尝试用可用包更新samba4时出错

尝试用可用包更新samba4时出错
EN

Server Fault用户
提问于 2018-03-16 17:51:37
回答 1查看 1.4K关注 0票数 0

在我们的生产环境中,我需要通过更新最新的samba4包来应用安全修补程序。在centOS 6构建上。

我知道当我这么做的时候,samba4有可用的软件包(yum samba4)

代码语言:javascript
运行
复制
[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.

但是,当我去做更新时,它不会被安装。

代码语言:javascript
运行
复制
[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

我知道桑巴装在这个盒子上

代码语言:javascript
运行
复制
[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了吗?

谢谢

EN

回答 1

Server Fault用户

回答已采纳

发布于 2018-03-16 18:13:07

您不能使用yum update samba4,因为samba4没有安装,因此它被列在available packages中,以及当您试图安装它时收到的消息。

如果您想要samba4,您需要的命令是:

代码语言:javascript
运行
复制
yum install samba4
票数 3
EN
页面原文内容由Server Fault提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://serverfault.com/questions/902069

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档