Skip to content

Commit

Permalink
api: add suggested fix command for multiarch file conflicts
Browse files Browse the repository at this point in the history
  • Loading branch information
Botspot committed Feb 24, 2024
1 parent fef9652 commit b0d10b6
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions api
Original file line number Diff line number Diff line change
Expand Up @@ -2026,6 +2026,12 @@ You need to reinstall the following packages to restore the integrity of your ap
$(grep "trying to overwrite shared .*, which is different from other instances of package" <<<"$errors" | awk '{print $NF}' | sort -u | awk '/:armhf/{print; gsub(/:armhf/, ":arm64")}1')")
error_type="system"
else
#packages have file conflicts but none of them seem to be modified by the user
error_caption+=("Two packages which share the same files are having a problem with different file versions.
Try running this command to fix it:
sudo apt --fix-broken install -o Dpkg::Options::='--force-overwrite'")
error_type="system"
fi
fi

Expand Down

0 comments on commit b0d10b6

Please sign in to comment.