[Bug 1686045] Re: Upgrade from 16.10 to 17.04 failed due to missing ./xorg_fix_proprietary.py

Brian Murray brian at ubuntu.com
Fri May 12 15:26:10 UTC 2017


In main.log we can see the following:

2017-04-25 09:02:05,146 DEBUG failed to SystemUnLock() (E:Not locked) 
2017-04-25 09:26:33,669 ERROR got an error from dpkg for pkg: '/tmp/apt-dpkg-install-DzqcXg/0364-libgtest-dev_1.8.0-6_amd64.deb': 'subprocess new pre-installation script returned error exit status 1'
2017-04-25 09:26:33,670 DEBUG running apport_pkgfailure() 0364-libgtest-dev: subprocess new pre-installation script returned error exit status 1
2017-04-25 09:26:33,681 ERROR got an error from dpkg for pkg: '/tmp/apt-dpkg-install-DzqcXg/0364-libgtest-dev_1.8.0-6_amd64.deb': 'subprocess new pre-installation script returned error exit status 1'
2017-04-25 09:41:47,625 DEBUG got a conffile-prompt from dpkg for file: '/etc/dhcp/dhclient-exit-hooks.d/ntpdate'
2017-04-25 09:50:11,893 ERROR Exception during pm.DoInstall()
Traceback (most recent call last):
  File "/tmp/ubuntu-release-upgrader-uhhrnz4x/DistUpgrade/DistUpgradeView.py", line 225, in run
    res = pm.do_install(self.writefd)
apt_pkg.Error: E:Sub-process /usr/bin/dpkg returned an error code (1)

apt-term.log then provides more information about what went wrong with
libgtest-dev:

dpkg-maintscript-helper: error: directory '/usr/src/gtest' contains files not owned by package libgtest-dev:amd64, cannot switch to symlink
dpkg: error processing archive /tmp/apt-dpkg-install-DzqcXg/0364-libgtest-dev_1.8.0-6_amd64.deb (--unpack):
 subprocess new pre-installation script returned error exit status 1

Do you know what is in that folder "/usr/src/gtest"?

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

Title:
  Upgrade from 16.10 to 17.04 failed due to missing
  ./xorg_fix_proprietary.py

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

Bug description:
  2017-04-25 09:50:11,893 ERROR Exception during pm.DoInstall()
  Traceback (most recent call last):
    File "/tmp/ubuntu-release-upgrader-uhhrnz4x/DistUpgrade/DistUpgradeView.py", line 225, in run
      res = pm.do_install(self.writefd)
  apt_pkg.Error: E:Sub-process /usr/bin/dpkg returned an error code (1)
  2017-04-25 09:50:11,916 ERROR SystemError from cache.commit(): installArchives() failed
  2017-04-25 09:50:11,917 ERROR found exception: 'E:Sub-process /usr/bin/dpkg returned an error code (1)'
  2017-04-25 09:50:20,219 DEBUG Running PostInstallScript: './xorg_fix_proprietary.py'
  2017-04-25 09:50:20,225 ERROR got error from PostInstallScript ./xorg_fix_proprietary.py (g-exec-error-quark: Failed to execute child process "./xorg_fix_proprietary.py" (No such file or directory) (8))

  
  Graphics is NVidia, but I recently swapped to the the open source driver.

  Release now appears as though the upgrade completed:
  > lsb_release -rd
  Description:	Ubuntu 17.04
  Release:	17.04

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



More information about the foundations-bugs mailing list