diff options
author | Silvio Rhatto <rhatto@riseup.net> | 2025-06-06 14:24:27 -0300 |
---|---|---|
committer | Silvio Rhatto <rhatto@riseup.net> | 2025-06-06 14:24:27 -0300 |
commit | 7e0a09f180759ea5568576e636b873da9b82acd5 (patch) | |
tree | 7ccc84c80172a9d73feb194164a4543ec639d3bc | |
parent | 737a43ad52fcd9125afcc362cf5471be0c91ee8f (diff) | |
download | metadot-7e0a09f180759ea5568576e636b873da9b82acd5.tar.gz metadot-7e0a09f180759ea5568576e636b873da9b82acd5.tar.bz2 |
Fix: avoid dependency installation errors when there are missing package candidates
-rwxr-xr-x | metadot | 8 |
1 files changed, 7 insertions, 1 deletions
@@ -124,7 +124,13 @@ function metadot_deps { done if [ ! -z "$deps_to_install" ]; then - LC_ALL=C DEBIAN_FRONTEND=noninteractive sudo apt-get install -y $deps_to_install + # This generates less output, but might fail entirely if at least one + # package has no candidates for installation. + #LC_ALL=C DEBIAN_FRONTEND=noninteractive sudo apt-get install -y $deps_to_install + + for $dep in $deps_to_install; do + LC_ALL=C DEBIAN_FRONTEND=noninteractive sudo apt-get install -y $dep + done fi fi |