Behaviour between APT and YUM differs for enable tasks

Description

Whilst yum will automatically update its cache when you enable a repo, apt does not and thus different tasks are required when automating its use, or even manual use.

Adding run_update as a task after enabling repos would resolve this.

Environment

None

Smart Checklist

Activity

puneet.kaushik June 25, 2024 at 6:03 PM

Fixed , it gets updated after enabling repo.


Done

Details

Assignee

Reporter

Components

Fix versions

Affects versions

Priority

Smart Checklist

Created August 5, 2021 at 10:18 AM
Updated June 25, 2024 at 6:03 PM
Resolved May 1, 2023 at 9:57 AM