[Bug 873974] Re: do-release-upgrade fails from 11.04 to 11.10 due to missing btrfs-tools package
Jean-Baptiste Lallement
jean-baptiste at ubuntu.com
Wed Oct 19 09:55:01 UTC 2011
** Changed in: update-manager (Ubuntu)
Status: Incomplete => Fix Released
--
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/873974
Title:
do-release-upgrade fails from 11.04 to 11.10 due to missing btrfs-
tools package
Status in “update-manager” package in Ubuntu:
Fix Released
Bug description:
Release upgrade doesn't check whether btrfs-tools package is installed
before attempting to use the commands within the package.
I have an 11.04 installation (that was done with the installer,
possibly one of the betas) that uses btrfs root, but doesn't have
btrfs-tools installed. The attached trace is displayed, but doesn't
really offer any useful help on what went wrong. The easiest way to
fix this would be to check whether the btrfs-tools package is
installed and install it if not, assuming that the user is using
btrfs.
--------8<--------
Traceback (most recent call last):
File "/tmp/update-manager-VGGglZ/oneiric", line 7, in <module>
sys.exit(main())
File "/tmp/update-manager-VGGglZ/DistUpgradeMain.py", line 199, in
main
if app.run():
File "/tmp/update-manager-VGGglZ/DistUpgradeController.py", line
1670, in run
return self.fullUpgrade()
File "/tmp/update-manager-VGGglZ/DistUpgradeController.py", line
1639, in fullUpgrade
if not self.doDistUpgrade():
File "/tmp/update-manager-VGGglZ/DistUpgradeController.py", line
1033, in doDistUpgrade
self._maybe_create_apt_btrfs_snapshot()
File "/tmp/update-manager-VGGglZ/DistUpgradeController.py", line
1017, in _maybe_create_apt_btrfs_snapshot
res = apt_btrfs.create_btrfs_root_snapshot(prefix)
File "/tmp/update-manager-VGGglZ/apt_btrfs_snapshot.py", line 123, in
create_btrfs_root_snapshot
os.path.join(mp, self.SNAP_PREFIX+additional_prefix+snap_id))
File "/tmp/update-manager-VGGglZ/apt_btrfs_snapshot.py", line 70, 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
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/update-manager/+bug/873974/+subscriptions
More information about the foundations-bugs
mailing list