5.5. アクティブな同期タスクのキャンセル
ほとんどの環境では、スケジュールされているリポジトリーを同期します。アクティブな同期タスクをキャンセルする必要がある状況が発生する場合があります。
前提条件
- 既存のリポジトリーがある。
- アクティブな同期タスクがある。
手順
Red Hat Update Infrastructure Management Tool のホーム画面に移動します。
[root@rhua ~]# rhui-manager
-
s
を押して、synchronization status and scheduling を選択します。 -
Synchronization Status 画面から
ca
を押して、cancel active sync tasks を選択します。 取り消すタスクまたはタスクの値を入力します。
Select one or more repositories for which you want to cancel their active tasks. - 1: Red Hat Enterprise Linux 8 for x86_64 - AppStream from RHUI (Debug RPMs) (8.2) Enter value (1-1) to toggle selection, 'c' to confirm selections, or '?' for more commands:
-
c
を押して選択を確認します。 y
を押して、1 つまたは複数の同期タスクをキャンセルします。The active tasks will be canceled for the following repositories: Red Hat Enterprise Linux 8 for x86_64 - AppStream from RHUI (Debug RPMs) (8.2) Proceed? (y/n)
検証
アクティブな同期タスクをキャンセルすると、この例と同様のメッセージが表示されます。
Canceling active task for repo Red Hat Enterprise Linux 8 for x86_64 - AppStream from RHUI (Debug RPMs) (8.2) ... ... done