** Description changed:

  [Impact]
  
  To use ESM for 14.04 you must install 1.0.1ubuntu2.23 of apt apt-
  transport-https apt-utils libapt-inst1.5 libapt-pkg4.12
  
  These should be checked and warn/error/install the correct packages when
  running enable-esm
  
  [Test Case]
  
  * Deploy trusty container with a "apt" package version lower than version: 
"1.0.1ubuntu2.23"
   ** lxc launch ubuntu:d57cf522816f <CONTAINER_NAME>
      For instance image iD "d57cf522816f" contains apt : 1.0.1ubuntu2.17
  * lxc exec <CONTAINER_NAME> bash
  * Install ubuntu-advantage-tools
  * ubuntu-advantage enable-esm <token>
  * sudo apt-get update
  * sudo apt-get upgrade
  
+ Err https://esm.ubuntu.com/ubuntu/ trusty-security/main bash amd64 
4.3-7ubuntu1.8+esm1
+ HttpError401
+ Err https://esm.ubuntu.com/ubuntu/ trusty-security/main bzip2 amd64 
1.0.6-5ubuntu0.1~esm2
+ .......
+ E: Failed to fetch 
https://esm.ubuntu.com/ubuntu/pool/main/a/apport/apport_2.14.1-0ubuntu3.29+esm1_all.deb
  HttpError401
+ E: Failed to fetch 
https://esm.ubuntu.com/ubuntu/pool/main/g/glib2.0/libglib2.0-data_2.40.2-0ubuntu1.1+esm3_all.deb
  HttpError401
+ E: Failed to fetch 
https://esm.ubuntu.com/ubuntu/pool/main/p/python-urllib3/python-urllib3_1.7.1-1ubuntu4.1+esm1_all.deb
  HttpError401
+ E: Failed to fetch 
https://esm.ubuntu.com/ubuntu/pool/main/s/screen/screen_4.1.0~20120320gitdb59704-9ubuntu0.1~esm1_amd64.deb
  HttpError401
+ E: Unable to fetch some archives, maybe run apt-get update or try with 
--fix-missing?
+ 
  If user installs u-a-tools and do not upgrade apt, then complains are
- that it does not work all the time as expected.
+ that it does not work all the time as expected (see above ^)
  
- Would be better to force it as a Depends: (as describe by Julian) to
- avoid user updating the tool but keeping an older version of apt.
+ Would be better to add some Depends: (as describe by juliank) to avoid
+ users updating the tool but keeping an older version of apt that may
+ introduce esm upgrade problem/failure.
  
  [Potential Regression]
  
  * None, we simply instruct u-a-tools to update apt to a more recent
  version to avoid problems.
  
  * apt in Trusty is unlikely to change now. There may be other ESM
  uploads here and there in the future, but Trusty itself is frozen now.
  
  [Other Info]
  
  * Fix has been proposed and agreed by foundation team.
  
  * rmadison:
   apt | 1.0.1ubuntu2            | trusty
   apt | 1.0.1ubuntu2.19         | trusty-security
   apt | 1.0.1ubuntu2.23         | trusty-updates

** Description changed:

  [Impact]
  
  To use ESM for 14.04 you must install 1.0.1ubuntu2.23 of apt apt-
  transport-https apt-utils libapt-inst1.5 libapt-pkg4.12
  
  These should be checked and warn/error/install the correct packages when
  running enable-esm
  
  [Test Case]
  
  * Deploy trusty container with a "apt" package version lower than version: 
"1.0.1ubuntu2.23"
   ** lxc launch ubuntu:d57cf522816f <CONTAINER_NAME>
      For instance image iD "d57cf522816f" contains apt : 1.0.1ubuntu2.17
  * lxc exec <CONTAINER_NAME> bash
  * Install ubuntu-advantage-tools
  * ubuntu-advantage enable-esm <token>
  * sudo apt-get update
  * sudo apt-get upgrade
  
  Err https://esm.ubuntu.com/ubuntu/ trusty-security/main bash amd64 
4.3-7ubuntu1.8+esm1
  HttpError401
  Err https://esm.ubuntu.com/ubuntu/ trusty-security/main bzip2 amd64 
1.0.6-5ubuntu0.1~esm2
  .......
  E: Failed to fetch 
https://esm.ubuntu.com/ubuntu/pool/main/a/apport/apport_2.14.1-0ubuntu3.29+esm1_all.deb
  HttpError401
  E: Failed to fetch 
https://esm.ubuntu.com/ubuntu/pool/main/g/glib2.0/libglib2.0-data_2.40.2-0ubuntu1.1+esm3_all.deb
  HttpError401
  E: Failed to fetch 
https://esm.ubuntu.com/ubuntu/pool/main/p/python-urllib3/python-urllib3_1.7.1-1ubuntu4.1+esm1_all.deb
  HttpError401
  E: Failed to fetch 
https://esm.ubuntu.com/ubuntu/pool/main/s/screen/screen_4.1.0~20120320gitdb59704-9ubuntu0.1~esm1_amd64.deb
  HttpError401
  E: Unable to fetch some archives, maybe run apt-get update or try with 
--fix-missing?
  
- If user installs u-a-tools and do not upgrade apt, then complains are
- that it does not work all the time as expected (see above ^)
+ Expected behaviour:
+ Get:3 https://esm.ubuntu.com/ubuntu/ trusty-security/main bash amd64 
4.3-7ubuntu1.8+esm1 [575 kB]
+ Get:6 https://esm.ubuntu.com/ubuntu/ trusty-security/main bzip2 amd64 
1.0.6-5ubuntu0.1~esm2 [34.6 kB]
+ ......
+ 
+ 
+ If user installs u-a-tools and do not upgrade apt, then complains are that it 
does not work all the time as expected (see above ^)
  
  Would be better to add some Depends: (as describe by juliank) to avoid
  users updating the tool but keeping an older version of apt that may
  introduce esm upgrade problem/failure.
  
  [Potential Regression]
  
  * None, we simply instruct u-a-tools to update apt to a more recent
  version to avoid problems.
  
  * apt in Trusty is unlikely to change now. There may be other ESM
  uploads here and there in the future, but Trusty itself is frozen now.
  
  [Other Info]
  
  * Fix has been proposed and agreed by foundation team.
  
  * rmadison:
   apt | 1.0.1ubuntu2            | trusty
   apt | 1.0.1ubuntu2.19         | trusty-security
   apt | 1.0.1ubuntu2.23         | trusty-updates

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1840091

Title:
  ubuntu-advantage enable-esm should ensure correct package requirements
  are met

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/ubuntu-advantage-tools/+bug/1840091/+subscriptions

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to