← Back to team overview

group.of.nepali.translators team mailing list archive

[Bug 1840091] Re: ubuntu-advantage enable-esm should ensure correct package requirements are met

 

Might be a MUST to have it also in future release before their ESM
period start. For that reason, I'm targeting the other LTS version.

** Also affects: ubuntu-advantage-tools (Ubuntu Xenial)
   Importance: Undecided
       Status: New

** Also affects: ubuntu-advantage-tools (Ubuntu Eoan)
   Importance: High
       Status: Won't Fix

** Also affects: ubuntu-advantage-tools (Ubuntu Bionic)
   Importance: Undecided
       Status: New

-- 
You received this bug notification because you are a member of नेपाली
भाषा समायोजकहरुको समूह, which is subscribed to Xenial.
Matching subscriptions: Ubuntu 16.04 Bugs
https://bugs.launchpad.net/bugs/1840091

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

Status in ubuntu-advantage-tools package in Ubuntu:
  Won't Fix
Status in ubuntu-advantage-tools source package in Trusty:
  Fix Committed
Status in ubuntu-advantage-tools source package in Xenial:
  In Progress
Status in ubuntu-advantage-tools source package in Bionic:
  In Progress
Status in ubuntu-advantage-tools source package in Eoan:
  In Progress

Bug description:
  [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?

  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]

  * One situation that Andreas brought up that is worth mentioning here,
  is  that apparently some customer may have intentionally disabled
  "trusty-updates". If it's the case, then one would need to enable
  "trusty-updates" back temporary in order to upgrade the "ubuntu-
  advantage-tools" package and it's Dependencies (apt derived binary
  packages)

  * We simply instruct u-a-tools to update apt (and its derived binary
  pkg) 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

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