[Bug 1800330] Re: Doesn't know about acpica-tools (acpidump, acpixtract)

Brian Murray brian at ubuntu.com
Thu Sep 19 09:01:00 UTC 2019


The acpica-tools package can make a change which will allow command-not-
found to recognize acpidump and acpixtract as a command. From command-
not-found-extractor's README.md:

### Cnf-Extra-Commands

A list of comma separated commands to be added. This is useful when
update-alternatives is used but the expression is too complicated
for the extractor to parse it. The extra commands will be just
added to the "commands:" tag in the Commands file.


** Package changed: command-not-found (Ubuntu) => acpica-unix (Ubuntu)

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to command-not-found in Ubuntu.
https://bugs.launchpad.net/bugs/1800330

Title:
  Doesn't know about acpica-tools (acpidump, acpixtract)

Status in acpica-unix package in Ubuntu:
  New

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://archive.ubuntu.com/ubuntu cosmic/universe amd64 Packages
  $ 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-4.18.0-8 linux-headers-4.18.0-8-generic linux-image-4.18.0-8-generic linux-modules-4.18.0-8-generic
  linux-modules-extra-4.18.0-8-generic
  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://archive.ubuntu.com/ubuntu cosmic/universe amd64 acpica-tools amd64 20180629-1 [851 kB]
  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-tools_20180629-1_amd64.deb ...
  Unpacking acpica-tools (20180629-1) ...
  Setting up acpica-tools (20180629-1) ...
  update-alternatives: using /usr/bin/acpixtract-acpica to provide /usr/bin/acpixtract (acpixtract) in auto mode
  update-alternatives: warning: skip creation of /usr/share/man/man1/acpixtract.1.gz because associated file /usr/share/man/man1/acpixtract-acpica.1 (of link group acpixtract) doesn't exist
  update-alternatives: using /usr/bin/acpidump-acpica to provide /usr/bin/acpidump (acpidump) in auto mode
  update-alternatives: warning: skip creation of /usr/share/man/man1/acpidump.1.gz because associated file /usr/share/man/man1/acpidump-acpica.1 (of link group acpidump) doesn't exist
  Processing triggers for man-db (2.8.4-2) ...
  $ acpidump
  Could not open table file: /sys/firmware/acpi/tables/SSDT
  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
  ProcVersionSignature: Ubuntu 4.18.0-11.12-generic 4.18.12
  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)
  PackageArchitecture: all
  ProcEnviron:
   TERM=xterm-256color
   PATH=(custom, no user)
   XDG_RUNTIME_DIR=<set>
   LANG=fi_FI.UTF-8
   SHELL=/bin/bash
  SourcePackage: command-not-found
  UpgradeStatus: No upgrade log present (probably fresh install)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/acpica-unix/+bug/1800330/+subscriptions



More information about the foundations-bugs mailing list