mirror of
https://github.com/rocky-linux/rocky-tools.git
synced 2024-11-25 06:31:24 +00:00
Allowerasing (#181)
* Allow erasing during the distro-sync This is mainly for Oracle Linux but it will allow a lot more distro-syncs to be successful instead of crapping out with the migration half done.
This commit is contained in:
parent
c6e0d05a4b
commit
482b7e500e
@ -1100,7 +1100,8 @@ EOF
|
|||||||
fi
|
fi
|
||||||
|
|
||||||
infomsg $'\nSyncing packages\n\n'
|
infomsg $'\nSyncing packages\n\n'
|
||||||
dnf -y distro-sync || exit_message "Error during distro-sync."
|
dnf -y --allowerasing distro-sync ||
|
||||||
|
exit_message "Error during distro-sync."
|
||||||
|
|
||||||
# Disable Stream repos.
|
# Disable Stream repos.
|
||||||
if (( ${#installed_sys_stream_repos_pkgs[@]} ||
|
if (( ${#installed_sys_stream_repos_pkgs[@]} ||
|
||||||
|
Loading…
Reference in New Issue
Block a user