5.4. 立即同步单个存储库
初始同步内容可能需要一段时间,通常为 10 到 20 分钟。如果您选择尽快同步存储库,您可以在 CLI 中运行 rhui-manager repo sync_all 来同步 Red Hat Update Infrastructure 4 中的所有软件仓库。
流程
进入 Red Hat Update Infrastructure Management Tool 主页:
[root@rhua ~]# rhui-manager-
按
s键,以选择 同步状态和调度。 在 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 -------------------------------------------------通过在存储库名称旁边输入值来选择存储库。在确认您的产品选择前,每次输入一个仓库选择:
x 714: Error 2021-11-17 20:30:00 Red Hat Enterprise Linux 8 for ARM 64 - AppStream (RPMs) from RHUI (8.4)按
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按
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.注意如果所选存储库的任务正在运行,这个消息会显示。
忽略 Red Hat Enterprise Linux 8 for x86_64 的同步请求 - AppStream from RHUI(Debug RPMs)(8.2),因为正在运行的任务当前保留了存储库。