And this is the second part. Many thanks.
Part Two
ID: tlp_service_dead
Function: service.dead
Name: tlp
Result: True
Comment: The named service tlp is not available
Started: 11:13:48.968149
Duration: 16.023 ms
Changes:
ID: tlp_package_purged
Function: pkg.purged
Name: tlp
Result: True
Comment: All specified packages are already absent
Started: 11:13:48.984913
Duration: 1.234 ms
Changes:
ID: touchpad-suspend-workaround
Function: file.managed
Name: /lib/systemd/system-sleep/touchpad-suspend-workaround
Result: True
Comment: File /lib/systemd/system-sleep/touchpad-suspend-workaround is in the correct state
Started: 11:13:48.986325
Duration: 4.022 ms
Changes:
ID: grub-cleanup
Function: cmd.run
Name: sed -i "$(for line in $(grep -Pn '^GRUB_CMDLINE_LINUX_DEFAULT=.*$' /etc/default/grub | cut -d':' -f1 | tail -n +2); do echo -n ${line}d '; ' ; done)" /etc/default/grub
Result: True
Comment: unless condition is true
Started: 11:13:48.990571
Duration: 19.419 ms
Changes:
ID: post_resume_power_draw_workaround_grub_config_file
Function: file.managed
Name: /etc/default/grub.d/post-resume-power-draw-workaround.cfg
Result: True
Comment: File /etc/default/grub.d/post-resume-power-draw-workaround.cfg is in the correct state
Started: 11:13:49.010711
Duration: 8.653 ms
Changes:
ID: post_resume_power_draw_workaround_grub_update
Function: cmd.run
Name: update-grub
Result: True
Comment: State was not run because none of the onchanges reqs changed
Started: 11:13:49.022288
Duration: 0.017 ms
Changes:
ID: pulseaudio-bt-hires-codecs-pkgs-installed
Function: pkg.latest
Result: True
Comment: Package gstreamer1.0-plugins-bad is already up-to-date
Started: 11:13:49.022588
Duration: 5679.83 ms
Changes:
Summary for local
Succeeded: 52
Failed: 0
Total states run: 52
Total run time: 11.871 s
[ERROR ] Failed to import module pip, this is due most likely to a syntax error:
Traceback (most recent call last):
File “/usr/lib/python3/dist-packages/salt/loader/lazy.py”, line 766, in _load_module
mod = self.run(spec.loader.load_module)
File “/usr/lib/python3/dist-packages/salt/loader/lazy.py”, line 1201, in run
return self._last_context.run(self._run_as, _func_or_method, *args, **kwargs)
File “/usr/lib/python3/dist-packages/salt/loader/lazy.py”, line 1216, in _run_as
return _func_or_method(*args, **kwargs)
File “”, line 548, in _check_name_wrapper
File “”, line 1063, in load_module
File “”, line 888, in load_module
File “”, line 290, in _load_module_shim
File “”, line 719, in _load
File “”, line 688, in _load_unlocked
File “”, line 883, in exec_module
File “”, line 241, in _call_with_frames_removed
File “/usr/lib/python3/dist-packages/salt/modules/pip.py”, line 87, in
import pkg_resources # pylint: disable=3rd-party-module-not-gated
File “/usr/lib/python3/dist-packages/pkg_resources/init.py”, line 3267, in
def _initialize_master_working_set():
File “/usr/lib/python3/dist-packages/pkg_resources/init.py”, line 3241, in _call_aside
f(*args, **kwargs)
File “/usr/lib/python3/dist-packages/pkg_resources/init.py”, line 3279, in _initialize_master_working_set
working_set = WorkingSet._build_master()
File “/usr/lib/python3/dist-packages/pkg_resources/init.py”, line 573, in _build_master
ws.require(requires)
File “/usr/lib/python3/dist-packages/pkg_resources/init.py”, line 891, in require
needed = self.resolve(parse_requirements(requirements))
File “/usr/lib/python3/dist-packages/pkg_resources/init.py”, line 777, in resolve
raise DistributionNotFound(req, requirers)
pkg_resources.DistributionNotFound: The ‘contextvars’ distribution was not found and is required by salt
[ERROR ] Failed to import states pip_state, this is due most likely to a syntax error:
Traceback (most recent call last):
File “/usr/lib/python3/dist-packages/salt/loader/lazy.py”, line 766, in _load_module
mod = self.run(spec.loader.load_module)
File “/usr/lib/python3/dist-packages/salt/loader/lazy.py”, line 1201, in run
return self._last_context.run(self._run_as, _func_or_method, *args, **kwargs)
File “/usr/lib/python3/dist-packages/salt/loader/lazy.py”, line 1216, in _run_as
return _func_or_method(*args, **kwargs)
File “”, line 548, in _check_name_wrapper
File “”, line 1063, in load_module
File “”, line 888, in load_module
File “”, line 290, in _load_module_shim
File “”, line 719, in _load
File “”, line 688, in _load_unlocked
File “”, line 883, in exec_module
File “”, line 241, in _call_with_frames_removed
File “/usr/lib/python3/dist-packages/salt/states/pip_state.py”, line 32, in
import pkg_resources
File “/usr/lib/python3/dist-packages/pkg_resources/init.py”, line 3267, in
def _initialize_master_working_set():
File “/usr/lib/python3/dist-packages/pkg_resources/init.py”, line 3241, in _call_aside
f(*args, **kwargs)
File “/usr/lib/python3/dist-packages/pkg_resources/init.py”, line 3279, in _initialize_master_working_set
working_set = WorkingSet._build_master()
File “/usr/lib/python3/dist-packages/pkg_resources/init.py”, line 573, in _build_master
ws.require(requires)
File “/usr/lib/python3/dist-packages/pkg_resources/init.py”, line 891, in require
needed = self.resolve(parse_requirements(requirements))
File “/usr/lib/python3/dist-packages/pkg_resources/init.py”, line 777, in resolve
raise DistributionNotFound(req, requirers)
pkg_resources.DistributionNotFound: The ‘contextvars’ distribution was not found and is required by salt
local:
ID: fingerprint-reader-pkgs-prebuilt-purged
Function: pkg.purged
Result: True
Comment: All specified packages (matching specified versions) are already absent
Started: 11:14:13.471309
Duration: 28.127 ms
Changes:
ID: fingerprint-reader-pkgs-installed
Function: pkg.latest
Result: True
Comment: All packages are up-to-date (fprintd, fprintd-doc, gir1.2-fprint-2.0, libfprint-2-2, libfprint-2-doc, libfprint-2-tod1, libpam-fprintd).
Started: 11:14:13.503981
Duration: 2624.839 ms
Changes:
ID: fingerprint-reader-service-enabled
Function: service.enabled
Name: fprintd
Result: True
Comment: Service fprintd is already enabled, and is in the desired state
Started: 11:14:16.129754
Duration: 17.058 ms
Changes:
ID: fingerprint-reader-pam-auth-enabled
Function: cmd.run
Name: pam-auth-update --enable fprintd
Result: True
Comment: unless condition is true
Started: 11:14:16.152069
Duration: 1452.211 ms
Changes:
ID: fingerprint-reader-delete-device-prints-util-installed
Function: file.managed
Name: /usr/local/bin/libfprint_delete_device_prints.py
Result: True
Comment: File /usr/local/bin/libfprint_delete_device_prints.py is in the correct state
Started: 11:14:17.604471
Duration: 15.303 ms
Changes:
ID: fingerprint-reader-pam-config
Function: file.replace
Name: /etc/pam.d/common-auth
Result: True
Comment: No changes needed to be made
Started: 11:14:17.620105
Duration: 1.365 ms
Changes:
ID: framework-sec-trim-enable-udev-rule-installed
Function: file.managed
Name: /etc/udev/rules.d/10-framework-sec-trim.rules
Result: True
Comment: File /etc/udev/rules.d/10-framework-sec-trim.rules is in the correct state
Started: 11:14:17.621540
Duration: 1.312 ms
Changes:
ID: grub_decrease_menu_timeout_config
Function: file.replace
Name: /etc/default/grub
Result: True
Comment: No changes needed to be made
Started: 11:14:17.622913
Duration: 1.377 ms
Changes:
ID: grub_decrease_menu_timeout_grub_update
Function: cmd.run
Name: update-grub
Result: True
Comment: State was not run because none of the onchanges reqs changed
Started: 11:14:17.624549
Duration: 0.002 ms
Changes:
ID: hibernate_create_swap_file
Function: cmd.run
Name: fallocate -l 16G /swapfile
Result: True
Comment: unless condition is true
Started: 11:14:17.624579
Duration: 4.356 ms
Changes:
ID: hibernate_chmod_swap
Function: file.managed
Name: /swapfile
Result: True
Comment: File /swapfile exists with proper permissions. No changes made.
Started: 11:14:17.629221
Duration: 0.664 ms
Changes:
ID: hibernate_make_swap
Function: cmd.run
Name: mkswap /swapfile
Result: True
Comment: State was not run because none of the onchanges reqs changed
Started: 11:14:17.630231
Duration: 0.002 ms
Changes:
ID: hibernate_swap_on
Function: cmd.run
Name: swapon /swapfile
Result: True
Comment: unless condition is true
Started: 11:14:17.630497
Duration: 5.069 ms
Changes:
ID: hibernate_swap_fstab
Function: file.append
Name: /etc/fstab
Result: True
Comment: unless condition is true
Started: 11:14:17.635928
Duration: 4.511 ms
Changes:
ID: hibernate_grub_resume_old_config_line
Function: file.replace
Name: /etc/default/grub
Result: True
Comment: No changes needed to be made
Started: 11:14:17.640515
Duration: 1.03 ms
Changes:
ID: hibernate_grub_resume_old_config
Function: file.replace
Name: /etc/default/grub
Result: True
Comment: No changes needed to be made
Started: 11:14:17.641798
Duration: 0.977 ms
Changes:
ID: hibernate_grub_resume_offset_old_config
Function: file.replace
Name: /etc/default/grub
Result: True
Comment: No changes needed to be made
Started: 11:14:17.642928
Duration: 0.955 ms
Changes:
ID: hibernate_grub_resume
Function: file.managed
Name: /etc/default/grub.d/hibernate.cfg
Result: True
Comment: File /etc/default/grub.d/hibernate.cfg is in the correct state
Started: 11:14:17.644059
Duration: 1.012 ms
Changes:
ID: hibernate_update_grub
Function: cmd.run
Name: update-grub
Result: True
Comment: State was not run because none of the onchanges reqs changed
Started: 11:14:17.645664
Duration: 0.002 ms
Changes:
ID: hibernate_polkit_enabled
Function: file.managed
Name: /etc/polkit-1/localauthority/50-local.d/com.ubuntu.enable-hibernate.pkla
Result: True
Comment: File /etc/polkit-1/localauthority/50-local.d/com.ubuntu.enable-hibernate.pkla is in the correct state
Started: 11:14:17.645695
Duration: 1.108 ms
Changes:
ID: hibernate-hibernate-delay-sec
Function: file.replace
Name: /etc/systemd/sleep.conf
Result: True
Comment: No changes needed to be made
Started: 11:14:17.647097
Duration: 1.241 ms
Changes:
ID: hibernate-suspend-mode
Function: file.replace
Name: /etc/systemd/sleep.conf
Result: True
Comment: No changes needed to be made
Started: 11:14:17.648567
Duration: 1.182 ms
Changes:
ID: hibernate-suspend-state
Function: file.replace
Name: /etc/systemd/sleep.conf
Result: True
Comment: No changes needed to be made
Started: 11:14:17.649970
Duration: 1.223 ms
Changes:
ID: hibernate-handle-suspend-key
Function: file.replace
Name: /etc/systemd/logind.conf
Result: True
Comment: No changes needed to be made
Started: 11:14:17.651440
Duration: 1.368 ms
Changes:
ID: hibernate-handle-lid-switch
Function: file.replace
Name: /etc/systemd/logind.conf
Result: True
Comment: No changes needed to be made
Started: 11:14:17.653035
Duration: 1.274 ms
Changes:
ID: hibernate-handle-lid-switch-external-power
Function: file.replace
Name: /etc/systemd/logind.conf
Result: True
Comment: No changes needed to be made
Started: 11:14:17.654536
Duration: 1.317 ms
Changes:
ID: intel_audio_workaround_modprobe_conf_installed
Function: file.managed
Name: /etc/modprobe.d/intel-audio-workaround.conf
Result: True
Comment: unless condition is true
Started: 11:14:17.655918
Duration: 6.996 ms
Changes:
ID: intel_audio_workaround_initramfs_updated
Function: cmd.run
Name: update-initramfs -u
Result: True
Comment: State was not run because none of the onchanges reqs changed
Started: 11:14:17.663253
Duration: 0.002 ms
Changes:
ID: intel_ax210_workaround_linux_generic_latest
Function: pkg.latest
Name: linux-generic-hwe-20.04
Result: True
Comment: Package linux-generic-hwe-20.04 is already up-to-date
Started: 11:14:17.663289
Duration: 1578.411 ms
Changes:
ID: intel_ax210_workaround_service_dead
Function: service.dead
Name: intel-ax210-workaround
Result: True
Comment: The named service intel-ax210-workaround is not available
Started: 11:14:19.241795
Duration: 3.486 ms
Changes:
ID: intel_ax210_workaround_service_removed
Function: file.absent
Name: /etc/systemd/system/intel-ax210-workaround.service
Result: True
Comment: File /etc/systemd/system/intel-ax210-workaround.service is not present
Started: 11:14:19.245605
Duration: 0.331 ms
Changes:
ID: intel_ax210_workaround_service_removed
Function: module.run
Name: service.systemctl_reload
Result: True
Comment: State was not run because none of the onchanges reqs changed
Started: 11:14:19.246199
Duration: 0.002 ms
Changes:
ID: intel_ax210_workaround_firmware_restored
Function: cmd.run
Name: /bin/sh -c "mv -f /lib/firmware/iwlwifi-ty-a0-gf-a0.pnvm.renamed-by-salt /lib/firmware/iwlwifi-ty-a0-gf-a0.pnvm ; rmmod iwlmvm ; rmmod iwlwifi ; modprobe iwlwifi"
Result: True
Comment: unless condition is true
Started: 11:14:19.246315
Duration: 4.241 ms
Changes:
ID: intel_ax210_workaround_firmware_reinstalled
Function: pkg.installed
Name: linux-firmware
Result: True
Comment: unless condition is true
Started: 11:14:19.250733
Duration: 4.156 ms
Changes:
ID: intel_ax210_workaround_modprobe_conf_removed
Function: file.absent
Name: /etc/modprobe.d/intel-ax210-workaround.conf
Result: True
Comment: File /etc/modprobe.d/intel-ax210-workaround.conf is not present
Started: 11:14:19.254956
Duration: 0.298 ms
Changes:
ID: intel_ax210_workaround_initramfs_updated
Function: cmd.run
Name: update-initramfs -u
Result: True
Comment: State was not run because none of the onchanges reqs changed
Started: 11:14:19.255525
Duration: 0.002 ms
Changes:
ID: intel_xe_tearing_workaround_grub_old_config_line
Function: file.replace
Name: /etc/default/grub
Result: True
Comment: No changes needed to be made
Started: 11:14:19.255556
Duration: 1.158 ms
Changes:
ID: intel_xe_tearing_workaround_grub_old_config
Function: file.replace
Name: /etc/default/grub
Result: True
Comment: No changes needed to be made
Started: 11:14:19.257031
Duration: 1.065 ms
Changes:
ID: intel_xe_tearing_workaround_linux_generic_latest
Function: pkg.latest
Name: linux-generic-hwe-20.04
Result: True
Comment: Package linux-generic-hwe-20.04 is already up-to-date
Started: 11:14:19.258159
Duration: 1548.363 ms
Changes:
ID: intel_xe_tearing_workaround_grub_config
Function: file.absent
Name: /etc/default/grub.d/intel-xe-tearing-workaround.cfg
Result: True
Comment: File /etc/default/grub.d/intel-xe-tearing-workaround.cfg is not present
Started: 11:14:20.806613
Duration: 0.358 ms
Changes:
ID: intel_xe_tearing_workaround_grub_update
Function: cmd.run
Name: update-grub
Result: True
Comment: State was not run because none of the onchanges reqs changed
Started: 11:14:20.807507
Duration: 0.001 ms
Changes:
ID: mem_sleep_default_grub_config_removed
Function: file.replace
Name: /etc/default/grub
Result: True
Comment: No changes needed to be made
Started: 11:14:20.807538
Duration: 1.368 ms
Changes:
ID: mem_sleep_default_grub_config_removed_default
Function: file.replace
Name: /etc/default/grub
Result: True
Comment: No changes needed to be made
Started: 11:14:20.809173
Duration: 1.035 ms
Changes:
ID: mem_sleep_default_grub_config_file
Function: file.managed
Name: /etc/default/grub.d/mem-sleep-default.cfg
Result: True
Comment: File /etc/default/grub.d/mem-sleep-default.cfg is in the correct state
Started: 11:14:20.810272
Duration: 38.614 ms
Changes:
ID: mem_sleep_default_grub_update
Function: cmd.run
Name: update-grub
Result: True
Comment: State was not run because none of the onchanges reqs changed
Started: 11:14:20.850545
Duration: 0.006 ms
Changes:
ID: tlp_service_dead
Function: service.dead
Name: tlp
Result: True
Comment: The named service tlp is not available
Started: 11:14:20.850651
Duration: 7.236 ms
Changes:
ID: tlp_package_purged
Function: pkg.purged
Name: tlp
Result: True
Comment: All specified packages are already absent
Started: 11:14:20.858670
Duration: 1.331 ms
Changes:
ID: touchpad-suspend-workaround
Function: file.managed
Name: /lib/systemd/system-sleep/touchpad-suspend-workaround
Result: True
Comment: File /lib/systemd/system-sleep/touchpad-suspend-workaround is in the correct state
Started: 11:14:20.860206
Duration: 3.846 ms
Changes:
ID: grub-cleanup
Function: cmd.run
Name: sed -i "$(for line in $(grep -Pn '^GRUB_CMDLINE_LINUX_DEFAULT=.*$' /etc/default/grub | cut -d':' -f1 | tail -n +2); do echo -n ${line}d '; ' ; done)" /etc/default/grub
Result: True
Comment: unless condition is true
Started: 11:14:20.864255
Duration: 11.54 ms
Changes:
ID: post_resume_power_draw_workaround_grub_config_file
Function: file.managed
Name: /etc/default/grub.d/post-resume-power-draw-workaround.cfg
Result: True
Comment: File /etc/default/grub.d/post-resume-power-draw-workaround.cfg is in the correct state
Started: 11:14:20.875918
Duration: 1.431 ms
Changes:
ID: post_resume_power_draw_workaround_grub_update
Function: cmd.run
Name: update-grub
Result: True
Comment: State was not run because none of the onchanges reqs changed
Started: 11:14:20.877797
Duration: 0.002 ms
Changes:
ID: pulseaudio-bt-hires-codecs-pkgs-installed
Function: pkg.latest
Result: True
Comment: Package gstreamer1.0-plugins-bad is already up-to-date
Started: 11:14:20.877847
Duration: 1905.199 ms
Changes:
Summary for local
Succeeded: 52
Failed: 0
Total states run: 52
Total run time: 9.289 s