Problem upgrading to Ubuntu 11.10 (Oneiric Ocelot)

Earlier today I upgraded my main laptop to Ubuntu 11.10 (Oneiric Ocelot). The upgrade did not go very smooth.

Almost immediately during the upgrade, even before the download of all new packages, the upgrade failed with the following message:

Traceback (most recent call last):
  File "/tmp/update-manager-Np9Td4/oneiric", line 7, in 
    sys.exit(main())
  File "/tmp/update-manager-Np9Td4/DistUpgradeMain.py", line 199, in main
    if app.run():
  File "/tmp/update-manager-Np9Td4/DistUpgradeController.py", line 1670, in run
    return self.fullUpgrade()
  File "/tmp/update-manager-Np9Td4/DistUpgradeController.py", line 1627, in fullUpgrade
    if not self.askDistUpgrade():
  File "/tmp/update-manager-Np9Td4/DistUpgradeController.py", line 895, in askDistUpgrade
    if not self._checkFreeSpace():
  File "/tmp/update-manager-Np9Td4/DistUpgradeController.py", line 861, in _checkFreeSpace
    with_snapshots = self._is_apt_btrfs_snapshot_supported()
  File "/tmp/update-manager-Np9Td4/DistUpgradeController.py", line 1005, in _is_apt_btrfs_snapshot_supported
    apt_btrfs = apt_btrfs_snapshot.AptBtrfsSnapshot()
  File "/tmp/update-manager-Np9Td4/apt_btrfs_snapshot.py", line 85, in __init__
    self.fstab = Fstab(fstab)
  File "/tmp/update-manager-Np9Td4/apt_btrfs_snapshot.py", line 53, in __init__
    entry = FstabEntry.from_line(line)
  File "/tmp/update-manager-Np9Td4/apt_btrfs_snapshot.py", line 31, in from_line
    return FstabEntry(*line.split())
TypeError: __init__() takes at most 7 arguments (9 given)

I'm not sure what the upgrade process is trying to do with my /etc/fstab file but it clearly did not like the contents.

Fortunately the upgrade did start without any problem, after disabling the fstab entries of some network drives.

Topic: 

7 Comments

I'm having the same issue,

I'm having the same issue, but all I have is one mounted drive (not network, just one ext4 partition). I don't suppose you care to list the fstab contents, or at least the flags? I'm curious to see if I can see what is triggering the error, as I can't very well disable the sole mounted partition during install.

Yeah, I tried upgrading via

Yeah, I tried upgrading via the system but it failed due to some network connection problem, so I burned the CD & tried it that way. Right now my upgrade CD for 11.10 has been stalled for about an hour. I thought I'd Google about it before daring to halt it & see if the system will work or if I have to try again or whatever. I soooooo didn't need any more computer issues right now. Glad I'm not the only one with issues upgrading.