Ubuntu 18.04でFontconfig-dbgsymをインストールすると、依存関係エラーが発生します。

Ubuntu 18.04でFontconfig-dbgsymをインストールすると、依存関係エラーが発生します。

Mac用Dockerで実行されているDocker内のUbuntu 18.04にFontconfig-dbgsymをインストールしようとしています。

私は次のDockerfileを使用します。

FROM ubuntu:18.04
ENV DEBIAN_FRONTEND=noninteractive
RUN apt-get update
RUN apt-get install -y ubuntu-dbgsym-keyring lsb-release
RUN \
    ( \
        echo "deb http://ddebs.ubuntu.com $(lsb_release -cs) main restricted universe multiverse"; \
        echo "deb http://ddebs.ubuntu.com $(lsb_release -cs)-updates main restricted universe multiverse"; \
        echo "deb http://ddebs.ubuntu.com $(lsb_release -cs)-proposed main restricted universe multiverse"; \
    ) > /etc/apt/sources.list.d/ddebs.list 
RUN apt-get update
RUN apt-get install -y fontconfig
RUN apt-get install -y fontconfig-dbgsym

次のように失敗する最後のステップを除いて、すべてがうまく機能します。

Reading package lists...
Building dependency tree...
Reading state information...
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:

The following packages have unmet dependencies:
 fontconfig-dbgsym : Depends: fontconfig (= 2.12.6-0ubuntu2.2) but 2.12.6-0ubuntu2 is to be installed
E: Unable to correct problems, you have held broken packages.
The command '/bin/sh -c apt-get install -y fontconfig-dbgsym' returned a non-zero code: 100

依存関係がfontconfig=2.12.6-0ubuntu2.2インストールされていないと文句を言いましたが、前のステップでは正常にインストールされました。

私は何が間違っていましたか?

ベストアンサー1

これは少なくともUbuntuではバグではありません。 「推奨」ddebリポジトリを追加しましたが、そのdebリポジトリは追加しませんでした。したがって、リリース候補が一致しません。

公開する前に、提案されたパッケージをテストするのに役立つ場合を除き、「提案」行を削除する必要があります。送信したバグも閉じる必要があります;-)。

おすすめ記事