js-docker icon indicating copy to clipboard operation
js-docker copied to clipboard

Install not actual chromium package

Open derifgig opened this issue 4 years ago • 1 comments

Hello. :)

I built image from this repository April 22, 2021 and start it successfully. Today - May 07, 2021 I restart container and received error:

Get:184 http://deb.debian.org/debian buster/main amd64 libxft2 amd64 2.3.2-2 [57.2 kB]
Get:185 http://deb.debian.org/debian buster/main amd64 libxmuu1 amd64 2:1.1.2-2+b3 [23.9 kB]
Get:186 http://deb.debian.org/debian buster/main amd64 libxv1 amd64 2:1.0.11-1 [24.6 kB]
Get:187 http://deb.debian.org/debian buster/main amd64 libxxf86dga1 amd64 2:1.1.4-1+b3 [22.1 kB]
Get:188 http://deb.debian.org/debian buster/main amd64 x11-utils amd64 7.7+4 [202 kB]
Get:189 http://deb.debian.org/debian buster/main amd64 xdg-utils all 1.1.3-1+deb10u1 [73.7 kB]
Fetched 77.5 MB in 1s (81.5 MB/s)
E: Failed to fetch http://security.debian.org/debian-security/pool/updates/main/c/chromium/chromium_89.0.4389.114-1~deb10u1_amd64.deb  404  Not Found [IP: 199.232.26.132 80]
E: Unable to fetch some archives, maybe run apt-get update or try with --fix-missing?

As I can see chromium_89.0.4389.114 - is not present more, Actual is:

root@c515a1037d66:/usr/local/tomcat# apt info chromium
Package: chromium
Version: 90.0.4430.93-1~deb10u1
Priority: optional
Section: web
Maintainer: Debian Chromium Team <[email protected]>
Installed-Size: 198 MB

I see the reason on command that try install chromium based on old debian package db:

https://github.com/TIBCOSoftware/js-docker/blob/cb49f87b74c19dded3a4486da8e70685a54bae64/scripts/chromium-setup.sh#L30

Please add installation of chromium to Dockerfile

Thank you.

derifgig avatar May 07 '21 08:05 derifgig

We were having the same issue. Updating chromium-setup.sh by adding apt-get update before line 30 in our forked private repo fixed it.

From searching the repo, this seems to be the only instance of apt-get that doesn't install.

treyhendon avatar Jul 11 '21 01:07 treyhendon