Unable to install libxt-dev in docker
I am trying to build docker image for running R shiny apps. The docker file went fine a month ago, but when I re-run it today. It gives the error. Could anyone help me with this dependency problem? Thanks a lot!
Dockerfile:
FROM r-base:latest
ENV http_proxy ""
ENV https_proxy ""
RUN cat /etc/apt/
RUN apt-get update && apt-get install -y --allow-downgrades \
gdebi-core \
gsl-bin \
libcurl4-
libgsl0-dev \
libxt6=
libxt-dev \
pandoc \
pandoc-citeproc \
sudo \
libglib2.0-0 \
libglib2.0-dev \
libcairo2-dev \
rrdtool \
libpq-dev \
libgdal-dev \
libudunits2-dev \
libssl-dev \
psmisc
Output:
Sending build context to Docker daemon 177.4MB
Step 1/26 : FROM r-base:latest
---> 78ace8280b3d
Step 2/26 : ENV http_proxy ""
---> Using cache
---> 38bdaf4f9a8a
Step 3/26 : ENV https_proxy ""
---> Using cache
---> fb67716d09a9
Step 4/26 : RUN cat /etc/apt/
---> Running in 56d320ac2133
# deb http://
deb http://
Removing intermediate container 56d320ac2133
---> d311b80421db
Step 5/26 : RUN apt-get update && apt-get install -y --allow-downgrades gdebi-core gsl-bin libcurl4-gnutls-dev libgsl0-dev libxt6=1:1.1.5-1+b3 libxt-dev pandoc pandoc-citeproc sudo libglib2.0-0 libglib2.0-dev libcairo2-dev rrdtool libpq-dev libgdal-dev libudunits2-dev libssl-dev psmisc
---> Running in 2e2177d7af2e
Get:1 http://
Get:3 http://
Get:2 http://
Get:4 http://
Fetched 16.2 MB in 4s (4,532 kB/s)
Reading package lists...
Reading package lists...
Building dependency tree...
Reading state information...
libglib2.0-0 is already the newest version (2.62.4-1+b1).
libglib2.0-0 set to manually installed.
libxt6 is already the newest version (1:1.1.5-1+b3).
libxt6 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:
libcairo2-dev : Depends: libx11-dev but it is not going to be installed
libxt-dev : Depends: libx11-dev but it is not going to be installed
E: Unable to correct problems, you have held broken packages.
Question information
- Language:
- English Edit question
- Status:
- Solved
- For:
- Ubuntu ubiquity Edit question
- Assignee:
- No assignee Edit question
- Solved by:
- Hao Yan
- Solved:
- Last query:
- Last reply: