Goal: To follow this answer.
I've tried with no difference made:
sudo apt update
sudo apt-get update
(base) me@ubuntu-pcs:~$ sudo apt install pm-utils hibernate
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
Package hibernate is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source
E: Package 'hibernate' has no installation candidate
(base) daniel@ubuntu-pcs:~$ lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 22.04 LTS
Release: 22.04
Codename: jammy
(base) me@ubuntu-pcs:~$ hibernate | 2.0+15+g88d54a8-1 | focal/universe | source, all
bash: focal/universe: No such file or directory
hibernate: command not found
source,: command not found
2.0+15+g88d54a8-1: command not found
hibernate
is available for 20.04/focal but not 22.04 (hibernate | 2.0+15+g88d54a8-1 | focal/universe | source, all
) – guiverc May 30 '22 at 08:54