Missing dependency

Bug #1185871 reported by Robert Kulagowski
26
This bug affects 6 people
Affects Status Importance Assigned to Milestone
libsmbios (Ubuntu)
Fix Released
Undecided
Unassigned
Nominated for Raring by TJ

Bug Description

$ sudo apt-get install libsmbios-bin
[sudo] password for sstuart:
Reading package lists... Done
Building dependency tree
Reading state information... Done
Note, selecting 'smbios-utils' instead of 'libsmbios-bin'
The following extra packages will be installed:
  libsmbios2 python-libsmbios
Suggested packages:
  libsmbios-doc
The following NEW packages will be installed:
  libsmbios2 python-libsmbios smbios-utils
0 upgraded, 3 newly installed, 0 to remove and 3 not upgraded.
Need to get 443 kB of archives.
After this operation, 1,659 kB of additional disk space will be used.
Do you want to continue [Y/n]? y
Get:1 http://us.archive.ubuntu.com/ubuntu/ raring/universe libsmbios2 i386 2.2.28-1~exp1 [260 kB]
Get:2 http://us.archive.ubuntu.com/ubuntu/ raring/universe python-libsmbios all 2.2.28-1~exp1 [38.3 kB]
Get:3 http://us.archive.ubuntu.com/ubuntu/ raring/universe smbios-utils i386 2.2.28-1~exp1 [144 kB]
Fetched 443 kB in 5s (83.6 kB/s)
Selecting previously unselected package libsmbios2.
(Reading database ... 54470 files and directories currently installed.)
Unpacking libsmbios2 (from .../libsmbios2_2.2.28-1~exp1_i386.deb) ...
Selecting previously unselected package python-libsmbios.
Unpacking python-libsmbios (from .../python-libsmbios_2.2.28-1~exp1_all.deb) ...
Selecting previously unselected package smbios-utils.
Unpacking smbios-utils (from .../smbios-utils_2.2.28-1~exp1_i386.deb) ...
Setting up libsmbios2 (2.2.28-1~exp1) ...
Setting up python-libsmbios (2.2.28-1~exp1) ...
Setting up smbios-utils (2.2.28-1~exp1) ...
Processing triggers for libc-bin ...
ldconfig deferred processing now taking place

$ getSystemId
Traceback (most recent call last):
  File "/usr/sbin/getSystemId", line 32, in <module>
    import cli
ImportError: No module named cli

ProblemType: Bug
DistroRelease: Ubuntu 13.04
Package: smbios-utils 2.2.28-1~exp1
ProcVersionSignature: Ubuntu 3.8.0-19.30-generic 3.8.8
Uname: Linux 3.8.0-19-generic i686
ApportVersion: 2.9.2-0ubuntu8
Architecture: i386
Date: Thu May 30 05:37:00 2013
InstallationDate: Installed on 2013-05-29 (0 days ago)
InstallationMedia: Ubuntu-Server 13.04 "Raring Ringtail" - Release i386 (20130423.1)
MarkForUpload: True
ProcEnviron:
 TERM=xterm
 PATH=(custom, no user)
 LANG=en_US.UTF-8
 SHELL=/bin/bash
SourcePackage: libsmbios
UpgradeStatus: No upgrade log present (probably fresh install)

Related branches

Revision history for this message
Robert Kulagowski (rkulagow-gmail) wrote :
Revision history for this message
Tony Mancill (tmancill) wrote : Re: [Bug 1185871] [NEW] Missing dependency

On 05/30/2013 08:28 AM, Robert Kulagowski wrote:

> $ getSystemId
> Traceback (most recent call last):
> File "/usr/sbin/getSystemId", line 32, in <module>
> import cli
> ImportError: No module named cli

Thank you for the bug report.

Confirmed in Debian sid as well.

Thank you,
tony

Revision history for this message
Klavs Klavsen (kl-vsen) wrote :

anyone have an idea where I could that cli.py from? I tried with other packages cli.py - but it didn't seem to help - just led to odd errors :(

Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in libsmbios (Ubuntu):
status: New → Confirmed
Revision history for this message
Klavs Klavsen (kl-vsen) wrote :

dellBiosUpdate program fails with the exact same error :(

and I really needed to update my bios (it's A01) - so I can use all my 5GB of memory - instead of just 3GB :(

Revision history for this message
Klavs Klavsen (kl-vsen) wrote :

I found the cause:
http://changelogs.ubuntu.com/changelogs/pool/universe/libs/libsmbios/libsmbios_2.2.28-1~exp1/changelog

  * Move cli.py from smbios-utils to python-smbios/examples

To fix:
zcat /usr/share/doc/python-libsmbios/examples/cli.py.gz >/tmp/cli.py; sudo mv /tmp/cli.py /usr/lib/python2.7/

(it's probably suppose to be somewhere else- but the above works :)

Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package libsmbios - 2.2.28-2

---------------
libsmbios (2.2.28-2) unstable; urgency=low

  * cli.py should in fact be part of python-smbios
    (Closes: LP: #1185871)
  * Fix FTBFS problems on sid:
    - Add patch to disable dist-lzma for automake.
    - Add --install argument to autoreconf during build.
    - Add autopoint to build-depends.
  * Bump Standards-Version to 3.9.4.
  * Remove extraneous LICENSE file from libsmbios-doc.

 -- tony mancill <email address hidden> Thu, 30 May 2013 22:16:44 -0700

Changed in libsmbios (Ubuntu):
status: Confirmed → 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.