Test 2: a) fresh install from t-updates, go to t-proposed b) fresh install from t-proposed directly
Result: PASS
Details: At the end, we have two chroots: /tank/trusty-2a and /tank/trusty-2b # chroot /tank/trusty-2a 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://br.archive.ubuntu.com/ubuntu/ trusty-proposed/main amd64 Packages 100 /var/lib/dpkg/status 10ubuntu0.14.04.4 0 500 http://br.archive.ubuntu.com/ubuntu/ trusty-updates/main amd64 Packages
# chroot /tank/trusty-2b 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://br.archive.ubuntu.com/ubuntu/ trusty-proposed/main amd64 Packages 100 /var/lib/dpkg/status 10ubuntu0.14.04.4 0 500 http://br.archive.ubuntu.com/ubuntu/ trusty-updates/main amd64 Packages
Diffing content of both chroots: # find /tank/trusty-2b/ -xdev | sed -r 's,^/tank/[^/]+,,' | sort > full-trusty-2b.list # find /tank/trusty-2a/ -xdev | sed -r 's,^/tank/[^/]+,,' | sort > full-trusty-2a.list
The diff is: # diff -u full-trusty-2{a,b}.list --- full-trusty-2a.list 2019-10-31 14:46:33.307720630 -0300 +++ full-trusty-2b.list 2019-10-31 14:46:26.487592874 -0300 @@ -1567,7 +1567,6 @@ /opt /proc /root -/root/.bash_history /root/.bashrc /root/.profile /run @@ -13724,7 +13723,6 @@ /var/cache/apt/archives/sysv-rc_2.88dsf-41ubuntu6_all.deb /var/cache/apt/archives/tar_1.27.1-1_amd64.deb /var/cache/apt/archives/tzdata_2014b-1_all.deb -/var/cache/apt/archives/ubuntu-advantage-tools_10ubuntu0.14.04.4_all.deb /var/cache/apt/archives/ubuntu-advantage-tools_19.6~ubuntu14.04.3_amd64.deb /var/cache/apt/archives/ubuntu-keyring_2012.05.19_all.deb /var/cache/apt/archives/ucf_3.0027+nmu1_all.deb
The above shows that trusty-2a went through the trusty-updates u-a-t package, while trusty-2b didn't.
Test 2:
a) fresh install from t-updates, go to t-proposed
b) fresh install from t-proposed directly
Result: PASS
Details: advantage- tools advantage- tools: br.archive. ubuntu. com/ubuntu/ trusty- proposed/ main amd64 Packages dpkg/status 14.04.4 0 br.archive. ubuntu. com/ubuntu/ trusty-updates/main amd64 Packages
At the end, we have two chroots: /tank/trusty-2a and /tank/trusty-2b
# chroot /tank/trusty-2a 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://
100 /var/lib/
10ubuntu0.
500 http://
# chroot /tank/trusty-2b apt-cache policy ubuntu- advantage- tools advantage- tools: br.archive. ubuntu. com/ubuntu/ trusty- proposed/ main amd64 Packages dpkg/status 14.04.4 0 br.archive. ubuntu. com/ubuntu/ trusty-updates/main amd64 Packages
ubuntu-
Installed: 19.6~ubuntu14.04.3
Candidate: 19.6~ubuntu14.04.3
Version table:
*** 19.6~ubuntu14.04.3 0
500 http://
100 /var/lib/
10ubuntu0.
500 http://
Diffing content of both chroots:
# find /tank/trusty-2b/ -xdev | sed -r 's,^/tank/[^/]+,,' | sort > full-trusty-2b.list
# find /tank/trusty-2a/ -xdev | sed -r 's,^/tank/[^/]+,,' | sort > full-trusty-2a.list
The diff is: 2{a,b}. list .bash_history apt/archives/ sysv-rc_ 2.88dsf- 41ubuntu6_ all.deb apt/archives/ tar_1.27. 1-1_amd64. deb apt/archives/ tzdata_ 2014b-1_ all.deb apt/archives/ ubuntu- advantage- tools_10ubuntu0 .14.04. 4_all.deb apt/archives/ ubuntu- advantage- tools_19. 6~ubuntu14. 04.3_amd64. deb apt/archives/ ubuntu- keyring_ 2012.05. 19_all. deb apt/archives/ ucf_3.0027+ nmu1_all. deb
# diff -u full-trusty-
--- full-trusty-2a.list 2019-10-31 14:46:33.307720630 -0300
+++ full-trusty-2b.list 2019-10-31 14:46:26.487592874 -0300
@@ -1567,7 +1567,6 @@
/opt
/proc
/root
-/root/
/root/.bashrc
/root/.profile
/run
@@ -13724,7 +13723,6 @@
/var/cache/
/var/cache/
/var/cache/
-/var/cache/
/var/cache/
/var/cache/
/var/cache/
The above shows that trusty-2a went through the trusty-updates u-a-t package, while trusty-2b didn't.