# verify esm pinning isn't in place anymore:
ubuntu@trusty-ppc64el:~$ apt-cache policy | grep esm
ubuntu@trusty-ppc64el:~$
ubuntu@trusty-ppc64el:~$ ll /etc/apt/preferences.d/
total 8
drwxr-xr-x 2 root root 4096 Nov 27 13:34 ./
drwxr-xr-x 7 root root 4096 Nov 27 13:33 ../
ubuntu@trusty-ppc64el:~$
# update: the server-side changes were deployed already, and now esm is
# correctly no longer advertised for non-x86 systems:
ubuntu@trusty-ppc64el:~$ sudo ua enable esm-infra
One moment, checking your subscription first
ESM Infra is not available for platform ppc64le.
Supported platforms are: amd64, i386, i686, x86_64
# repeating the test on x86 shows no change in behaviour
# current version from updates:
ubuntu@t1:~$ apt-cache policy ubuntu-advantage-tools
ubuntu-advantage-tools:
Installed: 19.6~ubuntu14.04.3
Candidate: 19.6~ubuntu14.04.3
Version table:
*** 19.6~ubuntu14.04.3 0
500 http://archive.ubuntu.com/ubuntu/ trusty-updates/main amd64 Packages
= Trusty verification =
# install current uat from updates on ppc64el advantage- tools: ports.ubuntu. com/ubuntu- ports/ trusty-updates/main ppc64el Packages
ubuntu-
Installed: 19.6~ubuntu14.04.3
Candidate: 19.6~ubuntu14.04.3
Version table:
*** 19.6~ubuntu14.04.3 0
500 http://
ubuntu@ trusty- ppc64el: ~$ uname -m trusty- ppc64el: ~$ dpkg --print- architecture
ppc64le
ubuntu@
ppc64el
# apt-get update hits the esm repo. It doesn't fail because the server published trusty- ppc64el: ~$ sudo apt-get update|grep esm /esm.ubuntu. com trusty- infra-security InRelease /esm.ubuntu. com trusty- infra-updates InRelease /esm.ubuntu. com trusty- infra-security/ main ppc64el Packages /esm.ubuntu. com trusty- infra-security/ main Translation-en_US /esm.ubuntu. com trusty- infra-updates/ main Translation-en_US /esm.ubuntu. com trusty- infra-security/ main Translation-en_US /esm.ubuntu. com trusty- infra-security/ main Translation-en /esm.ubuntu. com trusty- infra-updates/ main Translation-en_US /esm.ubuntu. com trusty- infra-updates/ main Translation-en
# empty repositories for non-x86
ubuntu@
Get:1 https:/
Get:2 https:/
Get:3 https:/
Get:4 https:/
Get:5 https:/
Ign https:/
Ign https:/
Ign https:/
Ign https:/
# verify that esm pinning was installed and is negative: trusty- ppc64el: ~$ apt-cache policy | grep esm /esm.ubuntu. com/ubuntu/ trusty- infra-updates/ main ppc64el Packages /esm.ubuntu. com/ubuntu/ trusty- infra-security/ main ppc64el Packages
ubuntu@
-32768 https:/
origin esm.ubuntu.com
-32768 https:/
origin esm.ubuntu.com
# upgrade to the package in proposed: trusty- ppc64el: ~$ apt-cache policy ubuntu- advantage- tools advantage- tools: ports.ubuntu. com/ubuntu- ports/ trusty- proposed/ main ppc64el Packages
ubuntu@
ubuntu-
Installed: 19.6~ubuntu14.04.4
Candidate: 19.6~ubuntu14.04.4
Version table:
*** 19.6~ubuntu14.04.4 0
500 http://
# verify esm repo isn't hit anymore: trusty- ppc64el: ~$ sudo apt-get update|grep esm trusty- ppc64el: ~$
ubuntu@
ubuntu@
1
# verify esm pinning isn't in place anymore: trusty- ppc64el: ~$ apt-cache policy | grep esm trusty- ppc64el: ~$ trusty- ppc64el: ~$ ll /etc/apt/ preferences. d/ trusty- ppc64el: ~$
ubuntu@
ubuntu@
ubuntu@
total 8
drwxr-xr-x 2 root root 4096 Nov 27 13:34 ./
drwxr-xr-x 7 root root 4096 Nov 27 13:33 ../
ubuntu@
# update: the server-side changes were deployed already, and now esm is trusty- ppc64el: ~$ sudo ua enable esm-infra
# correctly no longer advertised for non-x86 systems:
ubuntu@
One moment, checking your subscription first
ESM Infra is not available for platform ppc64le.
Supported platforms are: amd64, i386, i686, x86_64
# repeating the test on x86 shows no change in behaviour advantage- tools advantage- tools: archive. ubuntu. com/ubuntu/ trusty-updates/main amd64 Packages
# current version from updates:
ubuntu@t1:~$ apt-cache policy ubuntu-
ubuntu-
Installed: 19.6~ubuntu14.04.3
Candidate: 19.6~ubuntu14.04.3
Version table:
*** 19.6~ubuntu14.04.3 0
500 http://
# esm repo is hit: /esm.ubuntu. com trusty- infra-security InRelease /esm.ubuntu. com trusty- infra-updates InRelease /esm.ubuntu. com trusty- infra-security/ main amd64 Packages
ubuntu@t1:~$ sudo apt-get update | grep esm
Get:6 https:/
Get:7 https:/
Get:9 https:/
...
# esm pinned and negative: /esm.ubuntu. com/ubuntu/ trusty- infra-updates/ main amd64 Packages /esm.ubuntu. com/ubuntu/ trusty- infra-security/ main amd64 Packages
ubuntu@t1:~$ apt-cache policy | grep esm
-32768 https:/
origin esm.ubuntu.com
-32768 https:/
origin esm.ubuntu.com
# with the package from proposed: advantage- tools advantage- tools: archive. ubuntu. com/ubuntu/ trusty- proposed/ main amd64 Packages
ubuntu@t1:~$ apt-cache policy ubuntu-
ubuntu-
Installed: 19.6~ubuntu14.04.4
Candidate: 19.6~ubuntu14.04.4
Version table:
*** 19.6~ubuntu14.04.4 0
500 http://
# esm repo is still hit: /esm.ubuntu. com trusty- infra-security InRelease /esm.ubuntu. com trusty- infra-updates InRelease /esm.ubuntu. com trusty- infra-security/ main amd64 Packages
ubuntu@t1:~$ sudo apt-get update | grep esm
Hit https:/
Hit https:/
Hit https:/
...
# and esm pinning is still there with a negative value: /esm.ubuntu. com/ubuntu/ trusty- infra-updates/ main amd64 Packages /esm.ubuntu. com/ubuntu/ trusty- infra-security/ main amd64 Packages
ubuntu@t1:~$ apt-cache policy | grep esm
-32768 https:/
origin esm.ubuntu.com
-32768 https:/
origin esm.ubuntu.com
Trusty verification completed and succeeded.