Dependency on dmidecode needs to be tightened

Bug #91447 reported by Jan Van Buggenhout
4
Affects Status Importance Assigned to Milestone
laptop-detect (Ubuntu)
Fix Released
Undecided
Unassigned

Bug Description

Binary package hint: laptop-detect

When upgrading laptop-detect from dapper to feisty, I get the following:

root@Vertex:~# laptop-detect
Invalid string keyword: chassis-type
Valid string keywords are:
  bios-vendor
  bios-version
  bios-release-date
  system-manufacturer
  system-product-name
  system-version
  system-serial-number
  baseboard-manufacturer
  baseboard-product-name
  baseboard-version
  baseboard-serial-number
  baseboard-asset-tag
  chassis-manufacturer
  chassis-version
  chassis-serial-number
  chassis-asset-tag
  processor-manufacturer
  processor-version

root@Vertex:~# apt-cache policy laptop-detect dmidecode
laptop-detect:
  Installed: 0.12.1-ubuntu4
  Candidate: 0.12.1-ubuntu4
  Version table:
 *** 0.12.1-ubuntu4 0
        500 http://archive.ubuntu.com feisty/main Packages
        100 /var/lib/dpkg/status
dmidecode:
  Installed: 2.7-3
  Candidate: 2.8-2
  Version table:
     2.8-2 0
        500 http://archive.ubuntu.com feisty/main Packages
 *** 2.7-3 0
        100 /var/lib/dpkg/status

This goes away after upgrading dmidecode to the feisty version

Revision history for this message
Tormod Volden (tormodvolden) wrote :

Why would you like to upgrade laptop-detect to Feisty, but not dmidecode?

Changed in laptop-detect:
assignee: nobody → tormodvolden
status: New → Incomplete
Revision history for this message
Jan Van Buggenhout (chipzz) wrote :

I don't; that's what this bug is about, upgrading laptop-detect should pull in the correct version of dmidecode.

But if you're asking why I would issue a command like 'apt-get install laptop-detect', there are a couple of possible reasons:
1) In this particular case, IIRC, I wanted to keep the mythtv version of dapper (performance issues on that hardware with the latest version of mythtv), but upgrade the rest of my system. So I did a piece-wise upgrade (and laptop-detect was among a bunch of packages after 'apt-get install').
2) Free disk space constraints. Sometimes you do not have enough disk space to do an apt-get (dist-)upgrade, and have to do it in pieces (running apt-get clean in between).

Revision history for this message
Tormod Volden (tormodvolden) wrote :

Makes sense. I added a versioned dependency to the patch in bug #40503.

Changed in laptop-detect:
assignee: tormodvolden → nobody
status: Incomplete → Confirmed
Revision history for this message
Tormod Volden (tormodvolden) wrote :

 laptop-detect (0.13.2) unstable; urgency=low
 .
   [ Otavio Salvador ]
   * Drop the hack used during the package building and use dependencies
     architeture specific handling for it.
   * Add versioned dependency to dmidecode 2.8-2 since we use chassis-type.
   * Add XS-VCS-{Git,Browser} fields.
 .
   [ Tormod Volden ]
   * laptop-detect.in: Load battery module before probing for acpi
     batteries. Closes: #432407

Changed in laptop-detect:
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.