History

Convert the problem to failure to install perl:s390x

The following packages have unmet dependencies: perl : Conflicts: perl:s390x but 5.22.1-9ubuntu0.9 is to be installed perl:s390x : Depends: perl-base:s390x (= 5.22.1-9ubuntu0.9) but it is not going to be installed Depends: libperl5.22:s390x (= 5.22.1-9ubuntu0.9) but it is not going to be installed Conflicts: perl but 5.22.1-9ubuntu0.9 is to be installed

Eliah Kagan committed 1 year ago

Commit a3fed771 parent ec63b311 file · +5 −1Browse files

Unified · Split

etc/docker/Dockerfile.test-cross+5−1
@@ -14,7 +14,11 @@ RUN set -uC && \ · 13 unmodified lines
1414 apt-get install --no-install-recommends -y software-properties-common && \
1515 add-apt-repository -y ppa:git-core/ppa && \
1616 apt-get update && \
17− apt-get install --no-install-recommends -y "git$apt_suffix" jq patch && \
17+ apt-get install --no-install-recommends -y "libc6$apt_suffix" "libcurl3-gnutls$apt_suffix" \
18+ "libexpat1$apt_suffix" "libpcre2-8-0$apt_suffix" "zlib1g$apt_suffix" "perl$apt_suffix" \
19+ liberror-perl git-man patch jq && \
20+ apt-get download "git$apt_suffix" && \
21+ dpkg --ignore-depends="liberror-perl$apt_suffix" -i ./git[-_]*.deb && \
1822 apt-get purge --autoremove software-properties-common && \
1923 apt-get clean && \
2024 rm -rf /var/lib/apt/lists/* && \