Issue
The apt-key command is deprecated with Ubuntu 22.04 (except for deletes).
The /usr/share/keyrings directory is the recommended location for package signing keys now, rather than /etc/apt/keyrings.
The deb_install.sh script used by option 1 would benefit from changing to these newer standards. The manual commands are slightly better as they include the signed-by location, but again, should that location now be /usr/share/keyring?
Issue
The apt-key command is deprecated with Ubuntu 22.04 (except for deletes).
The
/usr/share/keyringsdirectory is the recommended location for package signing keys now, rather than/etc/apt/keyrings.The deb_install.sh script used by option 1 would benefit from changing to these newer standards. The manual commands are slightly better as they include the
signed-bylocation, but again, should that location now be/usr/share/keyring?