Closed WayneYe closed 2 years ago
It would help to know which image tag you're using? (It sounds like you're probably trying to use Debian Testing/Unstable or Ubuntu Devel :see_no_evil:)
@tianon I was using this image: buildpack-deps:buster
Sorry, I can't seem to reproduce: :grimacing:
$ docker run -it --rm --pull=always buildpack-deps:buster
buster: Pulling from library/buildpack-deps
b03a94565ecb: Pull complete
ae7bcede80b1: Pull complete
37471fc83c2d: Pull complete
0162432a49c0: Pull complete
7ee8ddc463fd: Pull complete
Digest: sha256:3485150b7bd19da1e2ddbf567ee47c5ebd1ed62d55a334ff363a718057d713c3
Status: Downloaded newer image for buildpack-deps:buster
root@99bad6f31520:/# apt update
Get:1 http://deb.debian.org/debian buster InRelease [122 kB]
Get:2 http://security.debian.org/debian-security buster/updates InRelease [65.4 kB]
Get:3 http://deb.debian.org/debian buster-updates InRelease [51.9 kB]
Get:4 http://deb.debian.org/debian buster/main amd64 Packages [7911 kB]
Get:5 http://security.debian.org/debian-security buster/updates/main amd64 Packages [323 kB]
Get:6 http://deb.debian.org/debian buster-updates/main amd64 Packages [8796 B]
Fetched 8482 kB in 1s (6913 kB/s)
Reading package lists... Done
Building dependency tree
Reading state information... Done
9 packages can be upgraded. Run 'apt list --upgradable' to see them.
root@99bad6f31520:/# apt install libgtk-3-dev
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following additional packages will be installed:
adwaita-icon-theme at-spi2-core dbus dbus-user-session
dconf-gsettings-backend dconf-service dmsetup gir1.2-atk-1.0
gir1.2-atspi-2.0 gir1.2-gtk-3.0 gir1.2-harfbuzz-0.0 gir1.2-pango-1.0
glib-networking glib-networking-common glib-networking-services
gsettings-desktop-schemas gtk-update-icon-cache libapparmor1 libargon2-1
libatk-bridge2.0-0 libatk-bridge2.0-dev libatk1.0-0 libatk1.0-data
libatk1.0-dev libatspi2.0-0 libatspi2.0-dev libavahi-client3
libavahi-common-data libavahi-common3 libcolord2 libcryptsetup12 libcups2
libdbus-1-3 libdbus-1-dev libdconf1 libdevmapper1.02.1 libdrm-amdgpu1
libdrm-common libdrm-dev libdrm-intel1 libdrm-nouveau2 libdrm-radeon1
libdrm2 libegl-mesa0 libegl1 libegl1-mesa-dev libepoxy-dev libepoxy0
libfribidi-dev libgbm1 libgl1 libgl1-mesa-dev libgl1-mesa-dri libglapi-mesa
libgles1 libgles2 libglvnd-core-dev libglvnd-dev libglvnd0 libglx-mesa0
libglx0 libgraphite2-dev libgtk-3-0 libgtk-3-bin libgtk-3-common
libharfbuzz-dev libharfbuzz-gobject0 libharfbuzz-icu0 libidn11 libip4tc0
libjson-c3 libjson-glib-1.0-0 libjson-glib-1.0-common libkmod2 libllvm7
libnss-systemd libopengl0 libpam-systemd libpango1.0-dev libpangoxft-1.0-0
libpciaccess0 libproxy1v5 librest-0.7-0 libsensors-config libsensors5
libsoup-gnome2.4-1 libsoup2.4-1 libwayland-bin libwayland-client0
libwayland-cursor0 libwayland-dev libwayland-egl1 libwayland-server0
libx11-xcb-dev libx11-xcb1 libxcb-dri2-0 libxcb-dri2-0-dev libxcb-dri3-0
libxcb-dri3-dev libxcb-glx0 libxcb-glx0-dev libxcb-present-dev
libxcb-present0 libxcb-randr0 libxcb-randr0-dev libxcb-shape0
libxcb-shape0-dev libxcb-sync-dev libxcb-sync1 libxcb-xfixes0
libxcb-xfixes0-dev libxcomposite-dev libxcomposite1 libxcursor-dev
libxcursor1 libxdamage-dev libxdamage1 libxfixes-dev libxfixes3 libxft-dev
libxft2 libxi-dev libxi6 libxinerama-dev libxinerama1 libxkbcommon-dev
libxkbcommon0 libxrandr-dev libxrandr2 libxshmfence-dev libxshmfence1
libxtst-dev libxtst6 libxxf86vm-dev libxxf86vm1 mesa-common-dev
pango1.0-tools systemd systemd-sysv wayland-protocols x11proto-composite-dev
x11proto-damage-dev x11proto-fixes-dev x11proto-input-dev x11proto-randr-dev
x11proto-record-dev x11proto-xf86vidmode-dev x11proto-xinerama-dev xkb-data
Suggested packages:
colord cups-common libgraphite2-utils gvfs libgtk-3-doc libpango1.0-doc
pciutils lm-sensors libwayland-doc systemd-container policykit-1
The following NEW packages will be installed:
adwaita-icon-theme at-spi2-core dbus dbus-user-session
dconf-gsettings-backend dconf-service dmsetup gir1.2-atk-1.0
gir1.2-atspi-2.0 gir1.2-gtk-3.0 gir1.2-harfbuzz-0.0 gir1.2-pango-1.0
glib-networking glib-networking-common glib-networking-services
gsettings-desktop-schemas gtk-update-icon-cache libapparmor1 libargon2-1
libatk-bridge2.0-0 libatk-bridge2.0-dev libatk1.0-0 libatk1.0-data
libatk1.0-dev libatspi2.0-0 libatspi2.0-dev libavahi-client3
libavahi-common-data libavahi-common3 libcolord2 libcryptsetup12 libcups2
libdbus-1-3 libdbus-1-dev libdconf1 libdevmapper1.02.1 libdrm-amdgpu1
libdrm-common libdrm-dev libdrm-intel1 libdrm-nouveau2 libdrm-radeon1
libdrm2 libegl-mesa0 libegl1 libegl1-mesa-dev libepoxy-dev libepoxy0
libfribidi-dev libgbm1 libgl1 libgl1-mesa-dev libgl1-mesa-dri libglapi-mesa
libgles1 libgles2 libglvnd-core-dev libglvnd-dev libglvnd0 libglx-mesa0
libglx0 libgraphite2-dev libgtk-3-0 libgtk-3-bin libgtk-3-common
libgtk-3-dev libharfbuzz-dev libharfbuzz-gobject0 libharfbuzz-icu0 libidn11
libip4tc0 libjson-c3 libjson-glib-1.0-0 libjson-glib-1.0-common libkmod2
libllvm7 libnss-systemd libopengl0 libpam-systemd libpango1.0-dev
libpangoxft-1.0-0 libpciaccess0 libproxy1v5 librest-0.7-0 libsensors-config
libsensors5 libsoup-gnome2.4-1 libsoup2.4-1 libwayland-bin
libwayland-client0 libwayland-cursor0 libwayland-dev libwayland-egl1
libwayland-server0 libx11-xcb-dev libx11-xcb1 libxcb-dri2-0
libxcb-dri2-0-dev libxcb-dri3-0 libxcb-dri3-dev libxcb-glx0 libxcb-glx0-dev
libxcb-present-dev libxcb-present0 libxcb-randr0 libxcb-randr0-dev
libxcb-shape0 libxcb-shape0-dev libxcb-sync-dev libxcb-sync1 libxcb-xfixes0
libxcb-xfixes0-dev libxcomposite-dev libxcomposite1 libxcursor-dev
libxcursor1 libxdamage-dev libxdamage1 libxfixes-dev libxfixes3 libxft-dev
libxft2 libxi-dev libxi6 libxinerama-dev libxinerama1 libxkbcommon-dev
libxkbcommon0 libxrandr-dev libxrandr2 libxshmfence-dev libxshmfence1
libxtst-dev libxtst6 libxxf86vm-dev libxxf86vm1 mesa-common-dev
pango1.0-tools systemd systemd-sysv wayland-protocols x11proto-composite-dev
x11proto-damage-dev x11proto-fixes-dev x11proto-input-dev x11proto-randr-dev
x11proto-record-dev x11proto-xf86vidmode-dev x11proto-xinerama-dev xkb-data
0 upgraded, 150 newly installed, 0 to remove and 9 not upgraded.
Need to get 58.0 MB of archives.
After this operation, 352 MB of additional disk space will be used.
Do you want to continue? [Y/n]
Get:1 http://deb.debian.org/debian buster/main amd64 libapparmor1 amd64 2.13.2-10 [94.7 kB]
Get:2 http://deb.debian.org/debian buster/main amd64 libargon2-1 amd64 0~20171227-0.2 [19.6 kB]
Get:3 http://deb.debian.org/debian buster/main amd64 dmsetup amd64 2:1.02.155-3 [90.8 kB]
Get:4 http://deb.debian.org/debian buster/main amd64 libdevmapper1.02.1 amd64 2:1.02.155-3 [141 kB]
Get:5 http://deb.debian.org/debian buster/main amd64 libjson-c3 amd64 0.12.1+ds-2+deb10u1 [27.3 kB]
Get:6 http://deb.debian.org/debian buster/main amd64 libcryptsetup12 amd64 2:2.1.0-5+deb10u2 [193 kB]
...
@tianon Indeed! At the time i tried last week I wasn't able to install this lib, the command i ran was: docker run -it buildpack-deps:buster bash
, just now i run it again seemed downloaded a newer version of it
And I am able to install it now....
Let 's close it for now, if i reproduce this again will try reopining it.
Thank you!
Hi experts, I was unable to install
libgtk-3-dev
with apt:By refering https://askubuntu.com/questions/899756/cant-install-npm-unable-to-correct-problems-you-have-held-broken-packages/978353#978353 I was able to install
aptitude
and successfully install it.But i am wondering is there is way to install it with apt/apt-get instead of aptitude?