[Bug 1947333] Re: do-release-upgrade fails to run while migrating from hirsute

Brian Murray 1947333 at bugs.launchpad.net
Mon Oct 18 17:08:23 UTC 2021


It seems ubuntu-release-upgrader is missing an explicit dependency on
procps, I'll add that.

** Changed in: ubuntu-release-upgrader (Ubuntu)
   Importance: Undecided => Medium

** Changed in: ubuntu-release-upgrader (Ubuntu)
       Status: New => In Progress

** Changed in: ubuntu-release-upgrader (Ubuntu)
     Assignee: (unassigned) => Brian Murray (brian-murray)

** Summary changed:

- do-release-upgrade fails to run while migrating from hirsute
+ python3-distupgrade missing an explicit dependency on procps

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to ubuntu-release-upgrader in
Ubuntu.
https://bugs.launchpad.net/bugs/1947333

Title:
  python3-distupgrade missing an explicit dependency on procps

Status in ubuntu-release-upgrader package in Ubuntu:
  In Progress

Bug description:
  I just have done a migration from focal 20.04 LTS to hirsute.
  I now want to go to 21.10 impish.

  While running `do-release-upgrade`, it fails with

  Traceback (most recent call last):
    File "/tmp/ubuntu-release-upgrader-dn9dgsjs/impish", line 8, in <module>
      sys.exit(main())
    File "/tmp/ubuntu-release-upgrader-dn9dgsjs/DistUpgrade/DistUpgradeMain.py", line 236, in main
      if app.run():
    File "/tmp/ubuntu-release-upgrader-dn9dgsjs/DistUpgrade/DistUpgradeController.py", line 2024, in run
      return self.fullUpgrade()
    File "/tmp/ubuntu-release-upgrader-dn9dgsjs/DistUpgrade/DistUpgradeController.py", line 1928, in fullUpgrade
      self._inhibitIdle()
    File "/tmp/ubuntu-release-upgrader-dn9dgsjs/DistUpgrade/DistUpgradeController.py", line 2074, in _inhibitIdle
      self._getUserEnv()
    File "/tmp/ubuntu-release-upgrader-dn9dgsjs/DistUpgrade/DistUpgradeController.py", line 2101, in _getUserEnv
      pid = subprocess.check_output(["pgrep", "-u", self._uid,
    File "/usr/lib/python3.9/subprocess.py", line 424, in check_output
      return run(*popenargs, stdout=PIPE, timeout=timeout, check=True,
    File "/usr/lib/python3.9/subprocess.py", line 505, in run
      with Popen(*popenargs, **kwargs) as process:
    File "/usr/lib/python3.9/subprocess.py", line 951, in __init__
      self._execute_child(args, executable, preexec_fn, close_fds,
    File "/usr/lib/python3.9/subprocess.py", line 1821, in _execute_child
      raise child_exception_type(errno_num, err_msg, err_filename)
  FileNotFoundError: [Errno 2] No such file or directory: 'pgrep'

  It appears that the package procps as been removed (with residual-config)
  in a cleanup operation.

  As the failure appears after the sources have been swapped to impish, do-release-upgrade
  fails to run again and the installation must be done with apt.

  ProblemType: Bug
  DistroRelease: Ubuntu 21.04
  Package: ubuntu-release-upgrader-core 1:21.04.17
  ProcVersionSignature: Ubuntu 5.4.0-88.99-generic 5.4.140
  Uname: Linux 5.4.0-88-generic x86_64
  ApportVersion: 2.20.11-0ubuntu65.3
  Architecture: amd64
  CasperMD5CheckResult: unknown
  CrashDB: ubuntu
  CurrentDesktop: ubuntu:GNOME
  Date: Fri Oct 15 11:34:24 2021
  DistributionChannelDescriptor:
   # This is the distribution channel descriptor for the OEM CDs
   # For more information see http://wiki.ubuntu.com/DistributionChannelDescriptor
   canonical-oem-somerville-bionic-amd64-20180608-47+merion+X66
  InstallationDate: Installed on 2019-12-19 (666 days ago)
  InstallationMedia: Ubuntu 18.04 "Bionic" - Build amd64 LIVE Binary 20180608-09:38
  PackageArchitecture: all
  SourcePackage: ubuntu-release-upgrader
  UpgradeStatus: Upgraded to hirsute on 2021-10-15 (0 days ago)
  mtime.conffile..etc.update-manager.release-upgrades: 2021-10-14T18:48:02.293029

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/ubuntu-release-upgrader/+bug/1947333/+subscriptions




More information about the foundations-bugs mailing list