Comment 0 for bug 814085

Daniel Manrique (roadmr) wrote :

Steps to reproduce:

1- Install an LTS release (I used 10.04.2 for the test) - a virtual machine works fine.
2- Verify that /var/log/installer/media-info contains something like this:

Ubuntu 10.04.2 LTS "Lucid Lynx" - Release i386 (20110211.1)

3- run /usr/share/checkbox/scripts/cdimage_resource

Expected result: Something like this:
distributor: Ubuntu
official: Release
release: 10.04.2 LTS
architecture: i386
date: 20110211.1
codename: Lucid Lynx

Actual result: Nothing :(

If the LTS part is removed and media-info contains something like"

Ubuntu 10.04.2 "Lucid Lynx" - Release i386 (20110211.1)

then it works as expected.

It's a matter of updating the regular expression used in cdimage_resource to accomodate the possibility of the LTS string appearing after the release number.