upgrade-config fails at checking versions

Bug #574713 reported by LaMont Jones
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
launchpad-buildd
Fix Released
Low
Colin Watson

Bug Description

Traceback (most recent call last):
  File "/usr/share/launchpad-buildd/upgrade-config", line 99, in <module>
    if int(old_version) < 12:
ValueError: invalid literal for int() with base 10: '60.1'
dpkg: error processing launchpad-buildd (--configure):

Please use python-apt's version comparison for such things... or make the build fail when there are periods in the version number. or something.
thanks.

Related branches

affects: soyuz → launchpad-buildd
Changed in launchpad-buildd:
status: New → Triaged
importance: Undecided → High
Revision history for this message
Robert Collins (lifeless) wrote :

Easy workaround: don't do that. Patches appreciated, of course.

Changed in launchpad-buildd:
importance: High → Low
Colin Watson (cjwatson)
Changed in launchpad-buildd:
status: Triaged → Fix Committed
assignee: nobody → Colin Watson (cjwatson)
Revision history for this message
Colin Watson (cjwatson) wrote :

Fixed in launchpad-buildd 126, now deployed.

Changed in launchpad-buildd:
status: Fix Committed → Fix Released
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.