From c33a95e6f6033d0be6ea087c6abb31003e4b9292 Mon Sep 17 00:00:00 2001 From: Thomas Haller Date: Tue, 29 Nov 2022 19:44:13 +0100 Subject: [PATCH] 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/ --- .gitlab-ci.yml | 4 ++-- contrib/debian/REQUIRED_PACKAGES | 6 +++++- 2 files changed, 7 insertions(+), 3 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index b3683e523..ba3e9ce51 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -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' diff --git a/contrib/debian/REQUIRED_PACKAGES b/contrib/debian/REQUIRED_PACKAGES index 1703d2e16..34e591ddc 100755 --- a/contrib/debian/REQUIRED_PACKAGES +++ b/contrib/debian/REQUIRED_PACKAGES @@ -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 \