Doesn't know about acpica-tools (acpidump, acpixtract)
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
acpica-unix (Ubuntu) |
New
|
Undecided
|
Unassigned |
Bug Description
When acpica-tools is not installed, running acpidump or acpixtract produces no suggestions (in either Bionic or Cosmic):
$ acpixtract
acpixtract: command not found
$ apt-cache policy acpitools-ca
N: Unable to locate package acpitools-ca
$ apt-cache policy acpica-tools
acpica-tools:
Installed: (none)
Candidate: 20180629-1
Version table:
20180629-1 500
500 http://
$ sudo apt install acpica-tools
[sudo] password for jani:
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages were automatically installed and are no longer required:
linux-headers-
linux-modules-
Use 'sudo apt autoremove' to remove them.
The following NEW packages will be installed:
acpica-tools
0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
Need to get 851 kB of archives.
After this operation, 2782 kB of additional disk space will be used.
Get:1 http://
Fetched 851 kB in 1s (1622 kB/s)
Selecting previously unselected package acpica-tools.
(Reading database ... 207563 files and directories currently installed.)
Preparing to unpack .../acpica-
Unpacking acpica-tools (20180629-1) ...
Setting up acpica-tools (20180629-1) ...
update-
update-
update-
update-
Processing triggers for man-db (2.8.4-2) ...
$ acpidump
Could not open table file: /sys/firmware/
Could not get ACPI tables, AE_ACCESS
$ acpixtract
Intel ACPI Component Architecture
ACPI Binary Table Extraction Utility version 20180629
Copyright (c) 2000 - 2018 Intel Corporation
Usage: acpixtract [option] <InputFile>
Options:
-a Extract all tables, not just DSDT/SSDT
-f Force extraction, even if there are errors
-l List table summaries, do not extract
-m Extract multiple DSDT/SSDTs to a single file
-s <signature> Extract all tables with <signature>
-v Display version information
-vd Display build date and time
Extract binary ACPI tables from text acpidump output
Default invocation extracts the DSDT and all SSDTs
ProblemType: Bug
DistroRelease: Ubuntu 18.10
Package: command-not-found 18.10.0~pre1
ProcVersionSign
Uname: Linux 4.18.0-11-generic x86_64
ApportVersion: 2.20.10-0ubuntu13
Architecture: amd64
CurrentDesktop: ubuntu:GNOME
Date: Sun Oct 28 09:31:57 2018
InstallationDate: Installed on 2018-09-30 (27 days ago)
InstallationMedia: Ubuntu 18.10 "Cosmic Cuttlefish" - Beta amd64 (20180930)
PackageArchitec
ProcEnviron:
TERM=xterm-
PATH=(custom, no user)
XDG_RUNTIME_
LANG=fi_FI.UTF-8
SHELL=/bin/bash
SourcePackage: command-not-found
UpgradeStatus: No upgrade log present (probably fresh install)
I believe this is because the package acpica-tools uses alternatives and the commands provided by the package actually have different names.
update- alternatives: using /usr/bin/ acpixtract- acpica to provide /usr/bin/acpixtract (acpixtract) in auto mode alternatives: using /usr/bin/ acpidump- acpica to provide /usr/bin/acpidump (acpidump) in auto mode root@impulse: /home/bdmurray/ source- trees/cpc_ build_tools/ human_scripts# dpkg -L acpica-tools acpidump- acpica acpixtract- acpica
update-
(eoan-amd64)
/.
/usr
/usr/bin
/usr/bin/acpibin
/usr/bin/
/usr/bin/acpiexec
/usr/bin/acpihelp
/usr/bin/acpinames
/usr/bin/acpisrc
/usr/bin/
...
$ acpidump-acpica
Command 'acpidump-acpica' not found, but can be installed with:
sudo apt install acpica-tools