5.4. 立即同步单个存储库


初始同步内容可能需要一段时间,通常为 10 到 20 分钟。如果您选择尽快同步存储库,您可以在 CLI 中运行 rhui-manager repo sync_all 来同步 Red Hat Update Infrastructure 4 中的所有软件仓库。

流程

  1. 进入 Red Hat Update Infrastructure Management Tool 主页:

    [root@rhua ~]# rhui-manager
    Copy to Clipboard Toggle word wrap
  2. s 键,以选择 同步状态和调度
  3. Synchronization Status 屏幕中按 sr

    Select one or more repositories to schedule to be synchronized before its scheduled time.
    The sync will happen as soon as possible depending on other tasks that may be executing
    in the RHUI.  Sync requests for repositories with tasks in running
    or pending state will be ignored.
    
             Last Result  Next Sync              Repository
             -------------------------------------------------
    Copy to Clipboard Toggle word wrap
  4. 通过在存储库名称旁边输入值来选择存储库。在确认您的产品选择前,每次输入一个仓库选择:

    x  714: Error        2021-11-17 20:30:00    Red Hat Enterprise Linux 8 for ARM 64 - AppStream (RPMs) from RHUI (8.4)
    Copy to Clipboard Toggle word wrap
  5. c 键确认:

    The following repositories will be scheduled for synchronization:
      Red Hat Enterprise Linux 8 for ARM 64 - AppStream (RPMs) from RHUI (8.4)
    Proceed? (y/n) y
    Copy to Clipboard Toggle word wrap
  6. y 继续:

    Scheduling sync for Red Hat Enterprise Linux 8 for ARM 64 - AppStream (RPMs) from RHUI (8.4)...
    ... successfully scheduled for the next available timeslot.
    Copy to Clipboard Toggle word wrap
    注意

    如果所选存储库的任务正在运行,这个消息会显示。忽略 Red Hat Enterprise Linux 8 for x86_64 的同步请求 - AppStream from RHUI(Debug RPMs)(8.2),因为正在运行的任务当前保留了存储库。

返回顶部
Red Hat logoGithubredditYoutubeTwitter

学习

尝试、购买和销售

社区

关于红帽文档

通过我们的产品和服务,以及可以信赖的内容,帮助红帽用户创新并实现他们的目标。 了解我们当前的更新.

让开源更具包容性

红帽致力于替换我们的代码、文档和 Web 属性中存在问题的语言。欲了解更多详情,请参阅红帽博客.

關於紅帽

我们提供强化的解决方案,使企业能够更轻松地跨平台和环境(从核心数据中心到网络边缘)工作。

Theme

© 2025 Red Hat