[Bug 801696] Re: update-manager -d crashed when updating from 11.04 to 11.10 - line 69, in apt_btrfs_snapshot.py", line 69, in btrfs_subvolume_snapshot source, dest]) - OSError: [Errno 2] No such file or directory

saturn five laf163 at gmail.com
Sat Jun 25 09:08:25 UTC 2011


I have the same problem.

$sudo update-manager  -c -d
extracting 'oneiric.tar.gz'
authenticate 'oneiric.tar.gz' against 'oneiric.tar.gz.gpg' 
apport start/running
Traceback (most recent call last):
  File "/tmp/update-manager-9PPri4/oneiric", line 7, in <module>
    sys.exit(main())
  File "/tmp/update-manager-9PPri4/DistUpgradeMain.py", line 202, in main
    if app.run():
  File "/tmp/update-manager-9PPri4/DistUpgradeController.py", line 1642, in run
    return self.fullUpgrade()
  File "/tmp/update-manager-9PPri4/DistUpgradeController.py", line 1612, in fullUpgrade
    if not self.doDistUpgrade():
  File "/tmp/update-manager-9PPri4/DistUpgradeController.py", line 1006, in doDistUpgrade
    self._maybe_create_apt_btrfs_snapshot()
  File "/tmp/update-manager-9PPri4/DistUpgradeController.py", line 990, in _maybe_create_apt_btrfs_snapshot
    res = apt_btrfs.create_btrfs_root_snapshot(prefix)
  File "/tmp/update-manager-9PPri4/apt_btrfs_snapshot.py", line 122, in create_btrfs_root_snapshot
    os.path.join(mp, self.SNAP_PREFIX+additional_prefix+snap_id))
  File "/tmp/update-manager-9PPri4/apt_btrfs_snapshot.py", line 69, in btrfs_subvolume_snapshot
    source, dest])
  File "/usr/lib/python2.7/subprocess.py", line 486, in call
    return Popen(*popenargs, **kwargs).wait()
  File "/usr/lib/python2.7/subprocess.py", line 672, in __init__
    errread, errwrite)
  File "/usr/lib/python2.7/subprocess.py", line 1213, in _execute_child
    raise child_exception
OSError: [Errno 2] 没有那个文件或目录

** Attachment added: "dist-upgrades.tar.bz2"
   https://bugs.launchpad.net/ubuntu/oneiric/+source/update-manager/+bug/801696/+attachment/2181050/+files/dist-upgrades.tar.bz2

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

Title:
  update-manager -d crashed when updating from 11.04 to 11.10 - line 69,
  in apt_btrfs_snapshot.py", line 69, in btrfs_subvolume_snapshot
  source, dest]) - OSError: [Errno 2] No such file or directory

Status in “update-manager” package in Ubuntu:
  Confirmed
Status in “update-manager” source package in Oneiric:
  Confirmed

Bug description:
  See attachment for console output of problem.

  I am not sure if this is update-manager or aport problem.
  Due to that bug no cleanup was performed; my /etc/apt/sources.list still has the
  11.10 (oneiric) packages listed.

  sb at sb:~$ sudo update-manager -d
  [sudo] password for sb:
  extracting 'oneiric.tar.gz'
  authenticate 'oneiric.tar.gz' against 'oneiric.tar.gz.gpg'
  apport start/running
  Traceback (most recent call last):
    File "/tmp/update-manager-jcYcdh/oneiric", line 7, in <module>
      sys.exit(main())
    File "/tmp/update-manager-jcYcdh/DistUpgradeMain.py", line 202, in main
      if app.run():
    File "/tmp/update-manager-jcYcdh/DistUpgradeController.py", line 1642, in run
      return self.fullUpgrade()
    File "/tmp/update-manager-jcYcdh/DistUpgradeController.py", line 1612, in fullUpgrade
      if not self.doDistUpgrade():
    File "/tmp/update-manager-jcYcdh/DistUpgradeController.py", line 1006, in doDistUpgrade
      self._maybe_create_apt_btrfs_snapshot()
    File "/tmp/update-manager-jcYcdh/DistUpgradeController.py", line 990, in _maybe_create_apt_btrfs_snapshot
      res = apt_btrfs.create_btrfs_root_snapshot(prefix)
    File "/tmp/update-manager-jcYcdh/apt_btrfs_snapshot.py", line 122, in create_btrfs_root_snapshot
      os.path.join(mp, self.SNAP_PREFIX+additional_prefix+snap_id))
    File "/tmp/update-manager-jcYcdh/apt_btrfs_snapshot.py", line 69, in btrfs_subvolume_snapshot
      source, dest])
    File "/usr/lib/python2.7/subprocess.py", line 486, in call
      return Popen(*popenargs, **kwargs).wait()
    File "/usr/lib/python2.7/subprocess.py", line 672, in __init__
      errread, errwrite)
    File "/usr/lib/python2.7/subprocess.py", line 1213, in _execute_child
      raise child_exception
  OSError: [Errno 2] No such file or directory

  ProblemType: Bug
  DistroRelease: Ubuntu 11.04
  Package: update-manager 1:0.150.2
  ProcVersionSignature: Ubuntu 2.6.38-10.44-generic 2.6.38.7
  Uname: Linux 2.6.38-10-generic x86_64
  NonfreeKernelModules: nvidia
  Architecture: amd64
  Date: Fri Jun 24 20:31:42 2011
  InstallationMedia: Ubuntu 11.04 "Natty Narwhal" - Beta amd64 (20110330)
  PackageArchitecture: all
  ProcEnviron:
   LANGUAGE=en_US:en
   PATH=(custom, user)
   LANG=en_US.UTF-8
   SHELL=/bin/bash
  SourcePackage: update-manager
  UpgradeStatus: Upgraded to natty on 2011-06-24 (0 days ago)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/update-manager/+bug/801696/+subscriptions




More information about the foundations-bugs mailing list