5.6. 取消等待同步任务


大多数环境会按照计划的基础同步存储库。您可能会遇到需要取消待处理的同步任务的情况。

先决条件

  • 存在现有的软件仓库。
  • 有调度的同步任务。

流程

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

    [root@rhua ~]# rhui-manager
    Copy to Clipboard Toggle word wrap
  2. s 键,以选择 同步状态和调度
  3. Synchronization Status 屏幕中,按 cw 键以选择 取消等待同步任务
  4. 为要取消的任务或任务输入值:

    Select one or more repositories for which you want to cancel their pending tasks.
      -    1: Single Sign-On 7.4 for RHEL 8 x86_64 (Source RPMs) from RHUI
    Enter value (1-1) to toggle selection, 'c' to confirm selections, or '?' for more commands: 1
    Copy to Clipboard Toggle word wrap
  5. c 键确认您的选择:

    Select one or more repositories for which you want to cancel their pending tasks.
      x    1: Single Sign-On 7.4 for RHEL 8 x86_64 (Source RPMs) from RHUI
    Enter value (1-1) to toggle selection, 'c' to confirm selections, or '?' for more commands: c
    Copy to Clipboard Toggle word wrap
  6. y 继续:

    The pending tasks will be canceled for the following repositories:
      Single Sign-On 7.4 for RHEL 8 x86_64 (Source RPMs) from RHUI
    Proceed? (y/n) y
    Copy to Clipboard Toggle word wrap

验证

  1. 如果取消成功,则会显示类似的信息:

    Canceling pending task for repo Single Sign-On 7.4 for RHEL 8 x86_64 (Source RPMs) from RHUI ...
    ... done
    Copy to Clipboard Toggle word wrap
  2. 如果没有待处理的同步任务,则会显示以下消息:

    There are no repositories with pending sync related tasks.
    Copy to Clipboard Toggle word wrap
返回顶部
Red Hat logoGithubredditYoutubeTwitter

学习

尝试、购买和销售

社区

关于红帽文档

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

让开源更具包容性

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

關於紅帽

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

Theme

© 2026 Red Hat