package python-fstab 1.3-0ubuntu1 failed to install/upgrade: Unterprozess post-installation script gab den Fehlerwert 1 zur?ck

Bug #384486 reported by Andreas Hausmann
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
python-fstab (Ubuntu)
New
Undecided
Unassigned

Bug Description

Binary package hint: python-fstab

bug report created by the system, maybe by apt-get, after dist-upgrading to 9.04 and then restart the system

ProblemType: Package
Architecture: i386
DistroRelease: Ubuntu 9.04
ErrorMessage: Unterprozess post-installation script gab den Fehlerwert 1 zurück
NonfreeKernelModules: nvidia
Package: python-fstab 1.3-0ubuntu1
PackageArchitecture: all
SourcePackage: python-fstab
Title: package python-fstab 1.3-0ubuntu1 failed to install/upgrade: Unterprozess post-installation script gab den Fehlerwert 1 zurück
Uname: Linux 2.6.28-11-generic i686

Revision history for this message
Andreas Hausmann (ahsorrytigger-ubuntu) wrote :
Revision history for this message
Andreas Hausmann (ahsorrytigger-ubuntu) wrote :

The error occurs in python2.3 while compiling fstab.py

The line 103 is a form of <dict>.update(), that is supported only by python2.4 and later releases.

Proper syntax for python2.3 is:
line 103: self.dict.update(dict([(attr, match.group(attr)) for attr in self.attrs]))
line 105: self.dict.update(dict([(attr, None) for attr in self.attrs]))
line 110: return "".join([self.dict[attr] for attr in self.attrs])

Revision history for this message
Andreas Hausmann (ahsorrytigger-ubuntu) wrote :

Addendum:

I have to add to my proposal how to fix the bug:
I only verified, that fstab is compiled without syntax-error by python2.3, python2.4 and python2.6.
I did not perform any functional tests.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.