BIOS update fails due to missing python import
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
libsmbios (Ubuntu) |
Fix Released
|
Medium
|
Unassigned | ||
Lucid |
Fix Released
|
Medium
|
Unassigned |
Bug Description
# update_firmware --yes
Running system inventory...
Searching storage directory for available BIOS updates...
Checking System BIOS for OptiPlex 320 - 1.1.7
Available: system_
Found Update: system_
Found firmware which needs to be updated.
Running updates...
| Installing system_
28_dev_0x01e5) - 1.1.11
aborting update...
The error message from the low-level command was:
Could not update the system BIOS.
Many times, this is due to memory constraints. The BIOS update can require from
1 to 4 megabytes of physically contiguous free RAM in order to do the update.
Because memory can become fragmented, this is not always available. To correct
this, try rebooting and running the update immediately after reboot.
The output from the low-level bios update command was:
Performing BIOS update...
Traceback (most recent call last):
File "/usr/sbin/
sys.exit( main() )
File "/usr/sbin/
exit_code = updateBios(
File "<peak.
File "/usr/lib/
result = func(*args, **kw)
File "/usr/lib/
if compareBiosVers
File "<peak.
File "/usr/lib/
result = func(*args, **kw)
File "/usr/lib/
ver = "%d.%d.%d" % struct.
NameError: global name 'struct' is not defined
The problem is that "struct" isn't imported. This can be fixed by using a new upstream version (which is in progress for Maverick in bug #591017) or applying the attached patch (which we should SRU)
ProblemType: Bug
DistroRelease: Ubuntu 10.04
Package: python-libsmbios 2.2.13-0ubuntu4
ProcVersionSign
Uname: Linux 2.6.32-22-generic i686
Architecture: i386
Date: Sat Jul 10 17:58:47 2010
Dependencies:
InstallationMedia: Ubuntu 10.04 LTS "Lucid Lynx" - Release i386 (20100429)
PackageArchitec
ProcEnviron:
LANG=en_ZA.UTF-8
SHELL=/bin/bash
SourcePackage: libsmbios
Related branches
tags: | added: patch |
This bug is in dependency wait on Bug #591017