crash / exception in apt_btrfs_snapshot

Bug #1313397 reported by Sebastian Philipp on 2014-04-27
This bug affects 1 person
Affects Status Importance Assigned to Milestone
ubuntu-release-upgrader (Ubuntu)

Bug Description

It looks like mp in create_btrfs_root_snapshot in is None.

Some Background information:

Some time ago, my hard drive broke, but I was able to recover all data by copying it from the old file system. It looks like I've made a mistake in the UUID of the file system: the UUID in /etc/fstab was not equal to the UUID reported by gparted.

In the meantime, I've changed the UUID in /etc/fstab to the one reported by gparted and my dist upgrade seems to run fine at the moment. Let's hope, I'm able to boot after the upgrade ....


Here is the terminal output:

roughly translated as:
mount: Device .... does not exists.

Critical error occurred

Please create a bug report and add main.log and apt.log as attachment. ....

Taceback ... (in english)

Systemaktualisierung wird durchgeführt
mount: Gerätedatei UUID=12561a0e-7e10-4912-97f0-0ac75dfb3405 existiert nicht

Ein schwerwiegender Fehler ist aufgetreten

Bitte erstellen Sie einen Fehlerbericht und fügen Sie die Dateien
/var/log/dist-upgrade/main.log und /var/log/dist-upgrade/apt.log
hinzu. Die Systemaktualisierung wurde abgebrochen.
Ihre ursprüngliche sources.list wurde in
/etc/apt/sources.list.distUpgrade gesichert.

Traceback (most recent call last):

File "/tmp/ubuntu-release-upgrader-ooj9qh/trusty", line 10, in

line 243, in main

line 1827, in run
return self.fullUpgrade()

line 1792, in fullUpgrade
if not self.doDistUpgrade():

line 1133, in doDistUpgrade

line 1115, in _maybe_create_apt_btrfs_snapshot
res = apt_btrfs.create_btrfs_root_snapshot(prefix)

File "/tmp/ubuntu-release-upgrader-ooj9qh/",
line 167, in create_btrfs_root_snapshot
os.path.join(mp, "@"),

File "/usr/lib/python2.7/", line 77, in join
elif path == '' or path.endswith('/'):

AttributeError: 'NoneType' object has no attribute 'endswith'


$ lsb_release -rd
Description: Ubuntu 13.10
Release: 13.10

Changed in ubuntu-release-upgrader (Ubuntu):
importance: Undecided → Medium
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in ubuntu-release-upgrader (Ubuntu):
status: New → Confirmed
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers