5.6. 待機中の同期タスクのキャンセル
ほとんどの環境では、スケジュールされているリポジトリーを同期します。保留中の同期タスクをキャンセルする必要がある状況が発生する可能性があります。
前提条件
- 既存のリポジトリーがある。
- 同期タスクがスケジュールされている。
手順
Red Hat Update Infrastructure Management Tool のホーム画面に移動します。
[root@rhua ~]# rhui-manager
-
s
を押して、synchronization status and scheduling を選択します。 -
Synchronization Status 画面で
cw
を押し、cancel waiting sync tasks を選択します。 取り消すタスクまたはタスクの値を入力します。
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
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
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
検証
キャンセルに成功した場合も同様のメッセージが表示されます。
Canceling pending task for repo Single Sign-On 7.4 for RHEL 8 x86_64 (Source RPMs) from RHUI ... ... done
保留中の同期タスクがない場合は、以下のメッセージが表示されます。
There are no repositories with pending sync related tasks.