[Bug 1640645] Re: subprocess installed post-installation script returned error exit status 2

Brian Murray brian at ubuntu.com
Tue Nov 15 22:15:34 UTC 2016


Testing an upgrade from T to X with the the -lts-xenial stack installed
we can find out the following using ipdb in checkFreeSpace.

ipdb> pkg.name
'linux-image-4.4.0-47-generic'
ipdb> pkg.installed
<Version: package:'linux-image-4.4.0-47-generic' version:'4.4.0-47.68~14.04.1'>
ipdb> pkg.marked_upgrade
True

So it seems like we should check to see if the pkg is marked_upgrade.

-- 
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/1640645

Title:
  subprocess installed post-installation script returned error exit
  status 2

Status in ubuntu-release-upgrader package in Ubuntu:
  New

Bug description:
  Could not install 'linux-image-4.4.0-45-generic'

  ProblemType: Bug
  DistroRelease: Ubuntu 16.04
  Package: ubuntu-release-upgrader-core 1:16.04.17
  ProcVersionSignature: Ubuntu 4.4.0-45.66~14.04.1-generic 4.4.21
  Uname: Linux 4.4.0-45-generic x86_64
  ApportVersion: 2.20.1-0ubuntu2.1
  Architecture: amd64
  CrashDB: ubuntu
  CurrentDesktop: Unity
  Date: Wed Nov  9 20:11:19 2016
  InstallationDate: Installed on 2015-05-24 (535 days ago)
  InstallationMedia: Ubuntu 14.04.2 LTS "Trusty Tahr" - Release amd64 (20150218.1)
  PackageArchitecture: all
  ProcEnviron:
   LANGUAGE=en_CA:en
   PATH=(custom, no user)
   XDG_RUNTIME_DIR=<set>
   LANG=en_CA.UTF-8
   SHELL=/bin/bash
  SourcePackage: ubuntu-release-upgrader
  Symptom: release-upgrade
  UpgradeStatus: Upgraded to xenial on 2016-11-10 (0 days ago)
  VarLogDistupgradeAptclonesystemstate.tar.gz: Error: command ['pkexec', 'cat', '/var/log/dist-upgrade/apt-clone_system_state.tar.gz'] failed with exit code 127: Error creating textual authentication agent: Error opening current controlling terminal for the process (`/dev/tty'): No such device or address
  VarLogDistupgradeTermlog:

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



More information about the foundations-bugs mailing list