【发布时间】:2012-10-30 23:10:51
【问题描述】:
在 Debian 衍生版本中,在使用 apt-get install xxx 从 apt 安装软件之前,需要运行 apt-get update。这会刷新包列表,以便正确解析依赖项等。
在使用 RHEL 实例时,出于习惯,我在安装软件之前运行了yum update。然而,这只是发现yum update升级我所有的包,而不是,或者可能除了在本地更新包列表,如apt-get update。
在运行yum install xxx之前是否需要更新yum的包列表?如果是这样,你是怎么做到的?
【问题讨论】:
-
可能更适合superuser.com
标签: yum rhel apt package-managers