Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Problems building bbb-libreoffice-docker #15703

Closed
ffdixon opened this issue Sep 18, 2022 · 2 comments
Closed

Problems building bbb-libreoffice-docker #15703

ffdixon opened this issue Sep 18, 2022 · 2 comments

Comments

@ffdixon
Copy link
Member

ffdixon commented Sep 18, 2022

Describe the bug
Just tried a new install and encountering an error building bbb-soffice docker

Installation type
This is using bbb-install-2.5.sh script

Console output

Step 5/5 : RUN apt update && apt -y install -t   bullseye-backports   libreoffice   && rm -f   /usr/share/java/ant-apache-log4j-1.10.9.jar   /usr/share/java/log4j-1.2-1.2.17.jar /usr/share/java/log4j-1.2.jar   /usr/share/maven-repo/log4j/log4j/1.2.17/log4j-1.2.17.jar   /usr/share/maven-repo/log4j/log4j/1.2.x/log4j-1.2.x.jar   /usr/share/maven-repo/org/apache/ant/ant-apache-log4j/1.10.9/ant-apache-log4j-1.10.9.jar
 ---> Running in babe021a3ef4

WARNING: apt does not have a stable CLI interface. Use with caution in scripts.

Hit:1 http://deb.debian.org/debian bullseye InRelease
Hit:2 http://deb.debian.org/debian-security bullseye-security InRelease
Hit:3 http://deb.debian.org/debian bullseye-updates InRelease
Hit:4 http://deb.debian.org/debian bullseye-backports InRelease
Reading package lists...
Building dependency tree...
Reading state information...
19 packages can be upgraded. Run 'apt list --upgradable' to see them.

WARNING: apt does not have a stable CLI interface. Use with caution in scripts.

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:
 libreoffice : Depends: libreoffice-core (= 1:7.4.1~rc2-3~bpo11+1) but it is not installable
               Depends: libreoffice-writer but it is not installable
               Depends: python3-uno (>= 4.4.0~beta2) but it is not installable
               Recommends: libreoffice-nlpsolver but it is not installable
               Recommends: libreoffice-report-builder but it is not installable
               Recommends: libreoffice-script-provider-bsh but it is not installable
               Recommends: libreoffice-script-provider-js but it is not installable
               Recommends: libreoffice-script-provider-python but it is not installable
               Recommends: libreoffice-sdbc-mysql but it is not installable
               Recommends: libreoffice-sdbc-postgresql but it is not installable
               Recommends: libreoffice-wiki-publisher but it is not installable
               Recommends: libreoffice-java-common (>= 1:7.4.1~rc2~) but it is not going to be installed
 libreoffice-base : Depends: libreoffice-core (= 1:7.4.1~rc2-3~bpo11+1) but it is not installable
                    Recommends: libreoffice-writer but it is not installable
                    Recommends: libreoffice-java-common (>= 1:7.4.1~rc2~) but it is not going to be installed
 libreoffice-base-core : Depends: libreoffice-core-nogui (= 1:7.4.1~rc2-3~bpo11+1) but it is not installable or
                                  libreoffice-core (= 1:7.4.1~rc2-3~bpo11+1) but it is not installable
 libreoffice-base-drivers : Depends: libreoffice-core-nogui but it is not installable or
                                     libreoffice-core but it is not installable
                            Recommends: libreoffice-sdbc-hsqldb but it is not installable
                            Recommends: libreoffice-sdbc-firebird but it is not installable
 libreoffice-calc : Depends: libreoffice-core (= 1:7.4.1~rc2-3~bpo11+1) but it is not installable
 libreoffice-draw : Depends: libreoffice-core (= 1:7.4.1~rc2-3~bpo11+1) but it is not installable
 libreoffice-impress : Depends: libreoffice-core (= 1:7.4.1~rc2-3~bpo11+1) but it is not installable
 libreoffice-math : Depends: libreoffice-core (= 1:7.4.1~rc2-3~bpo11+1) but it is not installable
 libreoffice-report-builder-bin : Depends: libreoffice-core but it is not installable
E: Unable to correct problems, you have held broken packages.
The command '/bin/sh -c apt update && apt -y install -t   bullseye-backports   libreoffice   && rm -f   /usr/share/java/ant-apache-log4j-1.10.9.jar   /usr/share/java/log4j-1.2-1.2.17.jar /usr/share/java/log4j-1.2.jar   /usr/share/maven-repo/log4j/log4j/1.2.17/log4j-1.2.17.jar   /usr/share/maven-repo/log4j/log4j/1.2.x/log4j-1.2.x.jar   /usr/share/maven-repo/org/apache/ant/ant-apache-log4j/1.10.9/ant-apache-log4j-1.10.9.jar' returned a non-zero code: 100

Additional context
Add any other context about the problem here.

@ffdixon
Copy link
Member Author

ffdixon commented Sep 18, 2022

The docker file from 2.6 is showing a similar issue

From 2.5 /usr/share/bbb-libreoffice/docker/Dockerfile

ROM openjdk:11-jre-bullseye
ENV DEBIAN_FRONTEND noninteractive

RUN echo "deb http://deb.debian.org/debian bullseye-backports main" >> /etc/apt/sources.list
RUN apt update && apt -y install locales-all fontconfig libxt6 libxrender1
RUN apt update && apt -y install -t \
  bullseye-backports \
  libreoffice \
  && rm -f \
  /usr/share/java/ant-apache-log4j-1.10.9.jar \
  /usr/share/java/log4j-1.2-1.2.17.jar /usr/share/java/log4j-1.2.jar \
  /usr/share/maven-repo/log4j/log4j/1.2.17/log4j-1.2.17.jar \
  /usr/share/maven-repo/log4j/log4j/1.2.x/log4j-1.2.x.jar \
  /usr/share/maven-repo/org/apache/ant/ant-apache-log4j/1.10.9/ant-apache-log4j-1.10.9.jar

From 2.6 /usr/share/bbb-libreoffice/docker/Dockerfile

FROM openjdk:17-slim-bullseye
ENV DEBIAN_FRONTEND noninteractive

RUN echo "deb http://deb.debian.org/debian bullseye-backports main" >> /etc/apt/sources.list
RUN apt update && apt -y install locales-all fontconfig libxt6 libxrender1
RUN apt update && apt -y install -t \
  bullseye-backports \
  libreoffice \
  && rm -f \
  /usr/share/java/ant-apache-log4j-1.10.9.jar \
  /usr/share/java/log4j-1.2-1.2.17.jar /usr/share/java/log4j-1.2.jar \
  /usr/share/maven-repo/log4j/log4j/1.2.17/log4j-1.2.17.jar \
  /usr/share/maven-repo/log4j/log4j/1.2.x/log4j-1.2.x.jar \
  /usr/share/maven-repo/org/apache/ant/ant-apache-log4j/1.10.9/ant-apache-log4j-1.10.9.jar

@ffdixon
Copy link
Member Author

ffdixon commented Sep 18, 2022

It seems to work by removing the -t bullseye-backports option from the Dockerfile.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants