Skip to content

Commit 2a8198a

Browse files
committed
ci(fedora): Fix syntax for dnf5
The path for the transaction history sqlite moved, the options have to be after the install subcommand
1 parent b1374fc commit 2a8198a

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

test/docker/fedoradev/Dockerfile

+1-1
Original file line numberDiff line numberDiff line change
@@ -19,4 +19,4 @@ ADD test-cmd-list.txt \
1919

2020
RUN /tmp/install-packages.sh </tmp/test-cmd-list.txt \
2121
&& dnf -Cy clean all \
22-
&& rm -r /tmp/* /var/lib/dnf/history.sqlite* /var/lib/dnf/repos/*
22+
&& rm -r /tmp/* /usr/lib/sysimage/libdnf5/transaction_history.sqlite* /var/lib/dnf/repos/*

test/docker/fedoradev/install-packages.sh

+1-1
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ while read -r file; do
1919
*) printf "%s\n" {/usr,}/{,s}bin/"$file" ;;
2020
esac
2121
done |
22-
xargs dnf --skip-broken -y install
22+
xargs dnf -y install --skip-unavailable --skip-broken
2323
# --skip-broken: avoid failing on not found packages. Also prevents actually
2424
# broken packages from failing the install which is not what we want, but
2525
# there doesn't seem to be way to cleanly just skip the not found ones.

0 commit comments

Comments
 (0)