Comment 21 for bug 2019908

Revision history for this message
Vladimir Petko (vpa1977) wrote :

I have ran the test using the script below and can confirm that openjdk-17 installs from security ppa when ca-certificates-java are configured before openjdk for focal, jammy and kinetic.

I had trouble reproducing with bionic, will try to use arm vm again.

--------------------------cut----------------------------
for release in bionic focal jammy kinetic; do
    echo !!!!!!!!!!!!!!${release}!!!!!!!!!!!!!!!!!!!!
    lxc launch images:ubuntu/${release} lp2019908
    lxc exec lp2019908 -- apt install software-properties-common
    lxc exec lp2019908 -- add-apt-repository ppa:ubuntu-security-proposed/ppa
    lxc exec lp2019908 -- apt-get update
    echo apt-get -y install openjdk-17-jre-headless
    lxc exec lp2019908 -- apt-get -y install openjdk-17-jre-headless
    lxc exec lp2019908 -- ls -l /etc/java-17-openjdk/security
    lxc stop lp2019908
    lxc delete lp2019908
    echo !!!!!!TEST DONE for ${release}!!!!!!!!!
done
-------------------------------cut----------------------------------