------- Comment From [email protected] 2017-02-24 07:55 EDT-------
(In reply to comment #3)
> default desc

The 'cpupower' script in the linux-tools-common package uses command
lsb_release. But the linux-tools-common package doesn't Depend on
package lsb-release which provides the lsb_release command.

So on a system with linux-tools-common installed but not lsb-release:

sudo cpupower -c all frequency-set -g performance
/usr/bin/cpupower: line 32: lsb_release: command not found
WARNING: cpupower not found for kernel 4.4.0-21

linux-tools-common should probably Depends or at least Recommends lsb-
release.

$ grep lsb `which cpupower`
codename=`lsb_release -cs`

$ dpkg -S `which lsb_release`
lsb-release: /usr/bin/lsb_release

$ dpkg -S `which cpupower`
linux-tools-common: /usr/bin/cpupower

$ apt-cache depends linux-tools-common
linux-tools-common

Machine Type = Firestone

---Steps to Reproduce---
See description.

---uname output---
Linux dlfire5 4.4.0-62-generic #83-Ubuntu SMP Wed Jan 18 14:09:19 UTC 2017 
ppc64le ppc64le ppc64le GNU/Linux

---Debugger---
A debugger is not configured
default desc

-- 
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to linux in Ubuntu.
https://bugs.launchpad.net/bugs/1667571

Title:
  linux-tools-common should Depends: lsb-release

Status in linux package in Ubuntu:
  New

Bug description:
  default desc

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1667571/+subscriptions

-- 
Mailing list: https://launchpad.net/~kernel-packages
Post to     : [email protected]
Unsubscribe : https://launchpad.net/~kernel-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to