Possible missing firmware /lib/firmware/nvidia/gv100/acr/ucode_load.bin for module nouveau

After applying the latest updates on a Debian Buster machine, this message pops up:


/etc/kernel/postinst.d/initramfs-tools:
update-initramfs: Generating /boot/initrd.img-4.19.0-6-amd64
cryptsetup: WARNING: The initramfs image may not contain cryptsetup binaries
nor crypto modules. If that's on purpose, you may want to uninstall the
'cryptsetup-initramfs' package in order to disable the cryptsetup initramfs
integration and avoid this warning.
W: Possible missing firmware /lib/firmware/nvidia/gv100/acr/ucode_load.bin for module nouveau

This file /lib/firmware/nvidia/gv100/acr/ucode_load.bin is only provided by a newer version of firmware-misc-nonfree provided in the buster-backports:

Firmware-misc-nonfree package details from buster-backports

To install it:


apt-get -t buster-backports install firmware-misc-nonfree

Powering on virtual machine from esxcli

If it gets difficult to power on a virtual machine from the vSphere client, vim-cmd offers the possibility to perform this task after connecting on the ESXi host using ssh.

Here are a couple of useful vim-cmd commands:

List all the VMs on the ESXi host:
vim-cmd vmsvc/getallvms

Get VM status using its id:
vim-cmd vmsvc/power.getstate vm_id

Power on a VM using its id:
vim-cmd vmsvc/power.on vm_id

Sources:

https://kb.vmware.com/s/article/1038043

http://nigelhickey.com/power-vm-via-ssh

Could not launch application ‘blueman.desktop’: Unable to start application: Failed to execute child process “blueman-applet” (No such file or directory)

After an upgrade from Debian 9.9 to Debian 10, some errors were found in my .xsessions-errors file.

The apt-file utility provided by the Debian distribution provides an easy way to provide the matching Debian package for a given file.

To install it :

apt install apt-file

To provide it with the latest details from Debian repos :

apt-file update

To look for the corresponding Debian package that blueman.desktop file belongs to :

apt-file search blueman.desktop
blueman: /etc/xdg/autostart/blueman.desktop
blueman: /usr/share/Thunar/sendto/thunar-sendto-blueman.desktop

To install it :

apt install blueman

More details :

Details of apt-file Debian package

Details of blueman Debian package

Could not launch application ‘hplip-systray.desktop’: Unable to start application: Failed to execute child process “hp-systray” (No such fil e or directory)

After an upgrade from Debian 9.9 to Debian 10, some errors were found in my .xsessions-errors file.

The apt-file utility provided by the Debian distribution provides an easy way to provide the matching Debian package for a given file.

To install it :

apt install apt-file

To provide it with the latest details from Debian repos :

apt-file update

To look for the corresponding Debian package that hplip-systray.desktop file belongs to :

apt-file search hplip-systray.desktop
hplip-gui: /etc/xdg/autostart/hplip-systray.desktop

To install it :

apt install hplip-gui

More details :

Details of apt-file Debian package

Details of hplip-gui Debian package

run-parts : failed to exec /etc/cron.daily/ntp exec format error

Despite being located in the /etc/cron.daily, any cron jobs located in this folder do not follow the crontab syntax.
Otherwise you will get this error :

run-parts : failed to exec /etc/cron.daily/ntp exec format error

Instead, make sure to set the programming language interpreter path used by your scripts using the shebang : #!

If it is a bash shell script, the first line of your job script must start with :

#!/bin/bash

or

#!/usr/bin/env bash

Running anacron as a user

By default, anacron execute jobs as root.
Anacron jobs can be run as normal user as well.


mkdir -p .anacron/{etc,spool}

cp /etc/anacrontab .anacron/etc

The variables $HOME and $LOGIN are set to root by default in /etc/anacrontab. Adjust their values accordingly.

To make sure that your anacron jobs will be run, add the following line in your $HOME/.profile :


/usr/sbin/anacron -s -t $HOME/.anacron/etc/anacrontab -S $HOME/.anacron/spool

According to anacron’s manpage :

-s : serialize execution of jobs. Anacron will not start a new job before the previous one is finished.
-t : specify the anacrontab instead of using the default one.
-S : specify the spooldir to store timestamps in.

Sources :

Debian’s manpage for anacron

Debian’s manpage for anacrontab

Askubuntu answer

Anacron for specific user

Creating a systemd timer as a user on Debian 9.9

To set up a simple systemd timer as a user on Debian 9.9, here are the following steps to make it work.

Systemd version :

systemctl --version
systemd 232

As a user, both the .service unit and .timer unit must be located in $HOME/.config/systemd/user.
If this folder does not exist, create it :

mkdir -p $HOME/.config/systemd/user

If both the .service and .timer files are named as test, it must be enabled and started :


systemctl --user enable test

systemctl --user start test

The expected output should be found using journalctl :

journalctl -f

References :

https://wiki.archlinux.org/index.php/Systemd/Timers

systemd.time(7) manpage

Using systemd as a user