Skip to content

Error with libglib2.0-dev #1

@chozelinek

Description

@chozelinek

Hi Luigi,

I'm trying to use your dockerized version but I get an error. It seems that it does not like the versions it finds for some dependencies:

The following packages have unmet dependencies:
 libglib2.0-dev : Depends: libglib2.0-0 (= 2.64.1-1) but 2.64.2-1 is to be installed
                  Depends: libglib2.0-bin (= 2.64.1-1) but it is not going to be installed

I am using an Ubuntu instance to run this. Have you ever come across with something like this. Might it have something to do with it?

The full output in verbose mode of docker-compose:

ubuntu@ip-172-31-72-135:~/CQPweb-docker-master$ docker-compose --verbose build
compose.config.config.find: Using configuration files: ./docker-compose.yaml
docker.utils.config.find_config_file: Trying paths: ['/home/ubuntu/.docker/config.json', '/home/ubuntu/.dockercfg']
docker.utils.config.find_config_file: No config file found
docker.utils.config.find_config_file: Trying paths: ['/home/ubuntu/.docker/config.json', '/home/ubuntu/.dockercfg']
docker.utils.config.find_config_file: No config file found
urllib3.connectionpool._make_request: http://localhost:None "GET /v1.22/version HTTP/1.1" 200 856
compose.cli.command.get_client: docker-compose version 1.25.5, build 8a1c60f6
docker-py version: 4.1.0
CPython version: 3.7.5
OpenSSL version: OpenSSL 1.1.0l  10 Sep 2019
compose.cli.command.get_client: Docker base_url: http+docker://localhost
compose.cli.command.get_client: Docker version: Platform={'Name': 'Docker Engine - Community'}, Components=[{'Name': 'Engine', 'Version': '19.03.8', 'Details': {'ApiVersion': '1.40', 'Arch': 'amd64', 'BuildTime': '2020-03-11T01:24:19.000000000+00:00', 'Experimental': 'false', 'GitCommit': 'afacb8b7f0', 'GoVersion': 'go1.12.17', 'KernelVersion': '4.15.0-1065-aws', 'MinAPIVersion': '1.12', 'Os': 'linux'}}, {'Name': 'containerd', 'Version': '1.2.13', 'Details': {'GitCommit': '7ad184331fa3e55e52b890ea95e65ba581ae3429'}}, {'Name': 'runc', 'Version': '1.0.0-rc10', 'Details': {'GitCommit': 'dc9208a3303feef5b3839f4323d9beb36df0a9dd'}}, {'Name': 'docker-init', 'Version': '0.18.0', 'Details': {'GitCommit': 'fec3683'}}], Version=19.03.8, ApiVersion=1.40, MinAPIVersion=1.12, GitCommit=afacb8b7f0, GoVersion=go1.12.17, Os=linux, Arch=amd64, KernelVersion=4.15.0-1065-aws, BuildTime=2020-03-11T01:24:19.000000000+00:00
compose.cli.verbose_proxy.proxy_callable: docker inspect_network <- ('cqpwebdockermaster_default')
urllib3.connectionpool._make_request: http://localhost:None "GET /v1.22/networks/cqpwebdockermaster_default HTTP/1.1" 404 45
compose.project.build: sql uses an image, skipping
compose.service.build: Building cqpweb
compose.cli.verbose_proxy.proxy_callable: docker build <- (path='/home/ubuntu/CQPweb-docker-master/CQPweb', tag='rahonabe/cqpweb', rm=True, forcerm=False, pull=False, nocache=False, dockerfile=None, cache_from=None, labels=None, buildargs={}, network_mode=None, target=None, shmsize=None, extra_hosts=None, container_limits={'memory': None}, gzip=False, isolation=None, platform=None)
docker.api.build._set_auth_headers: Looking for auth config
docker.api.build._set_auth_headers: No auth config in memory - loading from filesystem
docker.utils.config.find_config_file: Trying paths: ['/home/ubuntu/.docker/config.json', '/home/ubuntu/.dockercfg']
docker.utils.config.find_config_file: No config file found
docker.api.build._set_auth_headers: Sending auth config ()
urllib3.connectionpool._make_request: http://localhost:None "POST /v1.22/build?t=rahonabe%2Fcqpweb&q=False&nocache=False&rm=True&forcerm=False&pull=False HTTP/1.1" 200 None
compose.cli.verbose_proxy.proxy_callable: docker build -> <generator object APIClient._stream_helper at 0x7f07620acbd0>
Step 1/25 : FROM r-base:latest
 ---> cec2502269fb
Step 2/25 : LABEL maintainer="Luigi <[email protected]>"
 ---> Using cache
 ---> 35547979d538
Step 3/25 : ENV LANG C.UTF-8
 ---> Using cache
 ---> 6169e1b7c17f
Step 4/25 : ARG CWB_REVISION=HEAD
 ---> Using cache
 ---> f34352cee008
Step 5/25 : RUN echo 'APT { GET { Assume-Yes "true"; }; };' >> /etc/apt/apt.conf
 ---> Using cache
 ---> 9cc45ce7f75e
Step 6/25 : RUN echo 'APT { GET { Fix-Broken "true"; }; };' >> /etc/apt/apt.conf
 ---> Using cache
 ---> 7d42aa683bb3
Step 7/25 : RUN apt-get update     && apt-get install         subversion
 ---> Using cache
 ---> d40df14f8f60
Step 8/25 : WORKDIR /usr/local/src
 ---> Using cache
 ---> ce95a021f7f2
Step 9/25 : ADD http://svn.code.sf.net/p/cwb/code/cwb/trunk cwb.revision

 ---> Using cache
 ---> 541a6b4a61df
Step 10/25 : RUN svn co -r ${CWB_REVISION} http://svn.code.sf.net/p/cwb/code/cwb/trunk/ cwb
 ---> Using cache
 ---> afab9e00339e
Step 11/25 : RUN grep -E '^VERSION = ' cwb/definitions.mk | cut -c11- > cwb.version
 ---> Using cache
 ---> feb0f0f230f6
Step 12/25 : RUN apt-get update     && apt-get install         autoconf bison flex gcc make pkg-config libc6-dev libncurses5 libncurses5-dev libpcre3-dev libglib2.0-dev libreadline-dev perl perl-modules libhtml-parser-perl
 ---> Running in 4931654a71e8
Hit:1 http://deb.debian.org/debian testing InRelease
Hit:2 http://cdn-fastly.deb.debian.org/debian sid InRelease
Reading package lists...
Reading package lists...
Building dependency tree...
Reading state information...
gcc is already the newest version (4:9.2.1-3.1).
gcc set to manually installed.
libc6-dev is already the newest version (2.30-4).
libc6-dev set to manually installed.
make is already the newest version (4.2.1-1.2).
make set to manually installed.
libncurses5-dev is already the newest version (6.2-1).
libncurses5-dev set to manually installed.
libpcre3-dev is already the newest version (2:8.39-12+b1).
libpcre3-dev set to manually installed.
libreadline-dev is already the newest version (8.0-4).
libreadline-dev set to manually installed.
perl is already the newest version (5.30.0-10).
perl set to manually installed.
perl-modules-5.30 is already the newest version (5.30.0-10).
perl-modules-5.30 set to manually installed.
pkg-config is already the newest version (0.29.2-1).
pkg-config set to manually installed.
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:
 libglib2.0-dev : Depends: libglib2.0-0 (= 2.64.1-1) but 2.64.2-1 is to be installed
                  Depends: libglib2.0-bin (= 2.64.1-1) but it is not going to be installed
E: Unable to correct problems, you have held broken packages.
ERROR: compose.cli.main.main: Service 'cqpweb' failed to build: The command '/bin/sh -c apt-get update     && apt-get install         autoconf bison flex gcc make pkg-config libc6-dev libncurses5 libncurses5-dev libpcre3-dev libglib2.0-dev libreadline-dev perl perl-modules libhtml-parser-perl' returned a non-zero code: 100

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions