File tree Expand file tree Collapse file tree 1 file changed +6
-1
lines changed
usr/share/biglinux/bigstore-cli Expand file tree Collapse file tree 1 file changed +6
-1
lines changed Original file line number Diff line number Diff line change @@ -134,7 +134,12 @@ use_resolve_replacements='--resolve-replacements=provided'
134
134
135
135
# Verify the transaction and try again with resolve-replacements=provided if needed
136
136
echo " Verifying transaction..."
137
- pacinstall_output=$( $pacinstall_cmd --print-only --dbsync --yolo --overwrite $use_resolve_replacements $sysupgrade $install_pkgs $remove_pkgs 2>&1 | tee /var/log/pacman-log-complete.pactrans | jq -Rn -f jq/pactrans.jq | tee /var/log/pacman.json)
137
+ pacinstall_output=$( $pacinstall_cmd --print-only --dbsync --yolo --overwrite $use_resolve_replacements $sysupgrade $install_pkgs $remove_pkgs 2>&1 | grep -v ' is newer than' | tee /var/log/pacman-log-complete.pactrans | jq -Rn -f jq/pactrans.jq | tee /var/log/pacman.json)
138
+
139
+ if [ -z " $pacinstall_output " ]; then
140
+ echo " Verifying package replacements..."
141
+ pacinstall_output=$( $pacinstall_cmd --print-only --dbsync --yolo --overwrite $sysupgrade $install_pkgs $remove_pkgs 2>&1 | grep -v ' is newer than' | tee /var/log/pacman-log-complete.pactrans | jq -Rn -f jq/pactrans.jq | tee /var/log/pacman.json)
142
+ fi
138
143
139
144
if [ -z " $pacinstall_output " ]; then
140
145
echo " nothing to do"
You can’t perform that action at this time.
0 commit comments