gitlab-ci: ignore failure to install "python-setuptools" on debian

python-setuptools is now gone from debian:testing ([1], [2]):

    Package python-setuptools is not available, but is referred to by another package.
    This may mean that the package is missing, has been obsoleted, or
    is only available from another source

    E: Package 'python-setuptools' has no installation candidate

This package is entirely optional. Fix the failure by ignoring any failure to
install the package.

[1] https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=938168
[2] https://tracker.debian.org/news/1391360/python-setuptools-removed-from-testing/
This commit is contained in:
Thomas Haller
2022-11-29 19:44:13 +01:00
parent da18683524
commit c33a95e6f6
2 changed files with 7 additions and 3 deletions

View File

@@ -54,8 +54,8 @@ variables:
# This is done by running `ci-fairy generate-template` and possibly bumping
# ".default_tag".
FEDORA_TAG: '2022-10-07.0-192f1fb71e29'
UBUNTU_TAG: '2022-10-07.0-8acbcc45f1a8'
DEBIAN_TAG: '2022-10-07.0-8acbcc45f1a8'
UBUNTU_TAG: '2022-10-07.0-f84fc9f24236'
DEBIAN_TAG: '2022-10-07.0-f84fc9f24236'
CENTOS_TAG: '2022-10-07.0-192f1fb71e29'
ALPINE_TAG: '2022-10-07.0-e38255cda228'

View File

@@ -70,7 +70,6 @@ install \
policykit-1 \
ppp \
ppp-dev \
python-setuptools \
python3-dbus \
python3-gi \
python3-pip \
@@ -82,6 +81,11 @@ install \
\
#end
install_ignore_missing \
python-setuptools \
\
#end
# Old. Present in Ubuntu 20.04, not in Ubuntu 22.04
# software-properties-common
install_ignore_missing \