Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Missing openjdk-8-jre-headles http://deb.debian.org/debian/ jessie-backports/main

we used package openjdk-8-jre-headless. Last successful installation was 14.3.2019. Today 22.3.2019 Unable to locate package openjdk-8-jre-headless.

Was the package from debian/jessie-backports removed? renamed?

Thanks,

UPDATE: Thanks, It WAS working after adding archive.debian.org

BUT TODAY (26.3.2019): Location of packageS were moved AGAIN! That is TOTAL crazy.

Err http://deb.debian.org jessie-updates/main amd64 Packages
Err http://deb.debian.org jessie-updates/main amd64 Packages
Err http://deb.debian.org jessie-backports/main amd64 Packages
Err http://deb.debian.org jessie-updates/main amd64 Packages
404  Not Found
Err http://deb.debian.org jessie-backports/main amd64 Packages
404  Not Found
[91mW: Failed to fetch http://deb.debian.org/debian/dists/jessie-updates/main/binary-amd64/Packages  404  Not Found
W: Failed to fetch http://deb.debian.org/debian/dists/jessie-backports/main/binary-amd64/Packages  404  Not Found

Please, do you have new idea, how to fix?

like image 700
user1722245 Avatar asked Nov 30 '22 14:11

user1722245


1 Answers

Seems all the backports moved to the archive(https://lists.debian.org/debian-devel-announce/2019/03/msg00006.html)

I managed to fix it like this(dockerfile syntax):

sed -i -s '/debian jessie-updates main/d' /etc/apt/sources.list
echo "deb http://archive.debian.org/debian jessie-backports main" >> /etc/apt/sources.list
echo "Acquire::Check-Valid-Until false;" >/etc/apt/apt.conf.d/10-nocheckvalid
echo 'Package: *\nPin: origin "archive.debian.org"\nPin-Priority: 500' >/etc/apt/preferences.d/10-archive-pin

UPD 2019.03.28: jessie-updates gone too, updated the snippet above

BEWARE OF SECURITY RISKS: packages from archive.debian.org do not receive any security updates

like image 119
Each Avatar answered Dec 05 '22 10:12

Each