首页
学习
活动
专区
圈层
工具
发布
社区首页 >问答首页 >E:无法找到包含openjdk的包python-qt4 :13.0.1-debian image

E:无法找到包含openjdk的包python-qt4 :13.0.1-debian image
EN

Stack Overflow用户
提问于 2020-05-08 18:57:54
回答 1查看 2.2K关注 0票数 0

我正在尝试使用openjdk:13.0.1-debian构建镜像,并得到以下错误:

代码语言:javascript
复制
E: Unable to locate package python-qt4
E: Unable to locate package python-pip

下面是我试图安装的镜像的一部分。

代码语言:javascript
复制
RUN apt-get update -y && apt-get install -o APT::Install-Suggests=0 -o APT::Install-Recommends=0  --no-install-recommends -y \
    python-qt4 \ 
    python-pip \

请帮帮忙。

EN

回答 1

Stack Overflow用户

回答已采纳

发布于 2020-05-08 21:23:31

这是因为在sid:https://packages.debian.org/search?keywords=python-qt4上不能使用debs python-qt4和python-pip

但可以与后端口一起安装。将buster后端添加到sources.list

代码语言:javascript
复制
deb http://deb.debian.org/debian buster main
deb-src http://deb.debian.org/debian buster main

deb http://deb.debian.org/debian-security/ buster/updates main
deb-src http://deb.debian.org/debian-security/ buster/updates main

deb http://deb.debian.org/debian buster-updates main
deb-src http://deb.debian.org/debian buster-updates main

或者直接使用debian:buster。

票数 0
EN
页面原文内容由Stack Overflow提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://stackoverflow.com/questions/61677575

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档