corretto-8 icon indicating copy to clipboard operation
corretto-8 copied to clipboard

Deb package modifying /etc/apt/sources.list and architecture warning

Open guidomedina opened this issue 4 years ago • 1 comments

Describe the bug

When installing Amazon Corretto 8 or 11 it modifies the content of /etc/apt/sources.list for Debian base systems, also; it doesn't specify the architecture of what the Amazon repo supports and because not all architectures are supported it reports the following warning:

N: Skipping acquire of configured file 'main/binary-i386/Packages' as repository 'https://apt.corretto.aws stable InRelease' doesn't support architecture 'i386'

To Reproduce

Install deb package on any Debian based system with multiple architectures enabled and try to update the OS packages.

Expected behavior

It should do what any other 3rd party repo (outside main Debian repo) does which is to create its own repo file at /etc/apt/sources.list.d/, something like amazon-corretto.list, the content of such file should be (with architecture and all):

deb [arch=amd64] https://apt.corretto.aws stable main

Platform information

OS: Debian 10 Buster
Version:
   openjdk version "1.8.0_252"
   OpenJDK Runtime Environment Corretto-8.252.09.1 (build 1.8.0_252-b09)
   OpenJDK 64-Bit Server VM Corretto-8.252.09.1 (build 25.252-b09, mixed mode)

guidomedina avatar May 02 '20 08:05 guidomedina

Thanks for bringing this up. It's a reasonable request. We will take a deep look into it.

ziyiluo avatar May 04 '20 19:05 ziyiluo