Skip to content

Commit

Permalink
fmf: Replace deprecated dnf --noautoremove option
Browse files Browse the repository at this point in the history
This option got dropped in dnf 5, and thus this started to fail on
Rawhide. Replace it with the corresponding option.

See https://bugzilla.redhat.com/show_bug.cgi?id=2216622
  • Loading branch information
martinpitt committed Jun 22, 2023
1 parent 926af81 commit d533f23
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/browser/browser.sh
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ fi
# HACK: setroubleshoot-server crashes/times out randomly (breaking TestServices),
# and is hard to disable as it does not use systemd
if rpm -q setroubleshoot-server; then
dnf remove -y --noautoremove setroubleshoot-server
dnf remove -y --setopt=clean_requirements_on_remove=False setroubleshoot-server
fi

if grep -q 'ID=.*fedora' /etc/os-release && [ "$PLAN" = "basic" ]; then
Expand Down

0 comments on commit d533f23

Please sign in to comment.