[Bug 806065] Re: dist-upgrader fails with "FstabEntry(*line.split()) TypeError: __init__() takes exactly 7 arguments (5 given)" if fs_freq and fs_passno fields not present in fstab entry

Michun gerhard at kulzer.net
Mon Jul 11 11:25:17 UTC 2011


I have the same kind of problem, the error message is however:

   TypeError: __init__() takes at most 7 arguments (8 given)

My fstab entries look like this:
UUID=c3329969-5a64-4ce1-905f-b42ac9649a84 /               btrfs   defaults,subvol=@ 0       1      #/dev/sda2

I've put a comment line behind each entry, which is interpreted as the
8th argument. If I remove the comment, all goes fine.

Since a line-end comment is allowed in fstab, maybe the python script
should allow for it too, for sake of compatibility.

Gerhard

-- 
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/806065

Title:
  dist-upgrader fails with "FstabEntry(*line.split()) TypeError:
  __init__() takes exactly 7 arguments (5 given)" if fs_freq and
  fs_passno fields not present in fstab entry

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

Bug description:
  /var/log/dist-upgrade/apt.log
  /var/log/dist-upgrade/main.log
  /var/log/dist-upgrade/term.log

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




More information about the foundations-bugs mailing list