[SOLVED] Unable to locate package dmidecode

Running ubuntu 22.04, batch 5 kit, 11th gen

My framework periodically refuses to boot from battery. If I plug it in, it boots. I can then unplug it and it runs fine. I had the battery set at max 80%, but when this happens it has overcharged and is usually around 100%. When I power off, then reboot into BIOS, the limit is set back at 100%. I don’t know what triggers this behavior but it is really annoying, besides being hard on the battery.

I think my BIOS is out of date, so went to update it, but
sudo apt install lshw demidecode
says:
“Unable to locate package demidecode”

Where is the demidecode repo and how do I add it?

Please open a support ticket as your CMOS battery is likely dead. They will provide you with a replacement CMOS battery or if you can solder/can get someone to do it, a replacement CMOS module.

Thanks, waiting for the solder-on fix but in the meantime a new battery solved the problem.

However, I still have a problem installing the demidecode package.
What I’ve read claims it’s in the default repos for all major linux distros, but on my ubuntu 22.04.3 “apt install demidecode” says it cannot locate the package. I’ve updated the repos, and "apt list | grep demid shows nothing.

Unfortunately, I can’t assist with that but hopefully someone else more familiar with Linux will be able to help you. I’ll move this thread over to the Linux subcategory for better visibility.

I think you want dmidecode, not demidecode.

1 Like

Yep, Scott figured it out:

$ docker run --rm -i -t ubuntu:22.04 /bin/sh -c 'apt update && apt search dmidecode'
Get:1 http://security.ubuntu.com/ubuntu jammy-security InRelease [129 kB]
Get:2 http://security.ubuntu.com/ubuntu jammy-security/multiverse amd64 Packages [44.7 kB]
Get:3 http://security.ubuntu.com/ubuntu jammy-security/universe amd64 Packages [1154 kB]
Get:4 http://security.ubuntu.com/ubuntu jammy-security/restricted amd64 Packages [3113 kB]
Get:5 http://security.ubuntu.com/ubuntu jammy-security/main amd64 Packages [2317 kB]
Get:6 http://archive.ubuntu.com/ubuntu jammy InRelease [270 kB]
Get:7 http://archive.ubuntu.com/ubuntu jammy-updates InRelease [128 kB]
Get:8 http://archive.ubuntu.com/ubuntu jammy-backports InRelease [127 kB]
Get:9 http://archive.ubuntu.com/ubuntu jammy/multiverse amd64 Packages [266 kB]
Get:10 http://archive.ubuntu.com/ubuntu jammy/main amd64 Packages [1792 kB]
Get:11 http://archive.ubuntu.com/ubuntu jammy/universe amd64 Packages [17.5 MB]
Get:12 http://archive.ubuntu.com/ubuntu jammy/restricted amd64 Packages [164 kB]
Get:13 http://archive.ubuntu.com/ubuntu jammy-updates/multiverse amd64 Packages [51.8 kB]
Get:14 http://archive.ubuntu.com/ubuntu jammy-updates/restricted amd64 Packages [3191 kB]
Get:15 http://archive.ubuntu.com/ubuntu jammy-updates/main amd64 Packages [2593 kB]
Get:16 http://archive.ubuntu.com/ubuntu jammy-updates/universe amd64 Packages [1442 kB]
Get:17 http://archive.ubuntu.com/ubuntu jammy-backports/main amd64 Packages [81.4 kB]
Get:18 http://archive.ubuntu.com/ubuntu jammy-backports/universe amd64 Packages [35.1 kB]
Fetched 34.4 MB in 8s (4136 kB/s)
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
All packages are up to date.
Sorting... Done
Full Text Search... Done
dmidecode/jammy-updates 3.3-3ubuntu0.1 amd64
  SMBIOS/DMI table decoder

libparse-dmidecode-perl/jammy 0.03-2.1 all
  interface to SMBIOS using dmidecode

python-dmidecode-data/jammy 3.12.2-13build1 all
  Python extension module for dmidecode (debug) - Data

python3-dmidecode/jammy 3.12.2-13build1 amd64
  Python extension module for dmidecode - Python 3

Thanks, duh. I thought I checked spelling but obviously didn’t.