Public bug reported:

It looks like mp in create_btrfs_root_snapshot in apt_btrfs_snapshot.py
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 
<module> 
sys.exit(main()) 

File 
"/tmp/ubuntu-release-upgrader-ooj9qh/DistUpgrade/DistUpgradeMain.py", 
line 243, in main 
if app.run(): 

File 
"/tmp/ubuntu-release-upgrader-ooj9qh/DistUpgrade/DistUpgradeController.py", 
line 1827, in run 
return self.fullUpgrade() 

File 
"/tmp/ubuntu-release-upgrader-ooj9qh/DistUpgrade/DistUpgradeController.py", 
line 1792, in fullUpgrade 
if not self.doDistUpgrade(): 

File 
"/tmp/ubuntu-release-upgrader-ooj9qh/DistUpgrade/DistUpgradeController.py", 
line 1133, in doDistUpgrade 
self._maybe_create_apt_btrfs_snapshot() 

File 
"/tmp/ubuntu-release-upgrader-ooj9qh/DistUpgrade/DistUpgradeController.py", 
line 1115, in _maybe_create_apt_btrfs_snapshot 
res = apt_btrfs.create_btrfs_root_snapshot(prefix) 

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

File "/usr/lib/python2.7/posixpath.py", 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

** Affects: ubuntu-release-upgrader (Ubuntu)
     Importance: Undecided
         Status: New

** Attachment added: "main.log as requested"
   https://bugs.launchpad.net/bugs/1313397/+attachment/4098517/+files/main.log

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

Title:
  crash / exception in apt_btrfs_snapshot

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

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to