dpkg-architecture: command not found (happens on ssh login on byzantium)
Librem 5 Birch running byzatium, installed using ./scripts/librem5-flash-image --board librem5r2 --dist byzantium
Each time I login using ssh there is an error message like this:
-bash: dpkg-architecture: command not found
Here is what the whole login looks like:
$ ssh purism@$LOCAL_IP
[... password prompt ...]
Linux pureos 5.11.0-1-librem5 #1 SMP PREEMPT Mon Mar 22 14:21:27 PDT 2021 aarch64
The programs included with the PureOS system are free software;
the exact distribution terms for each program are described in the
individual files in /usr/share/doc/*/copyright.
PureOS comes with ABSOLUTELY NO WARRANTY, to the extent
permitted by applicable law.
Last login: Tue Mar 30 10:59:35 2021 from [...]
-bash: dpkg-architecture: command not found
purism@pureos:~$
Then the ssh session seem to work fine anyway as far as I can tell, but I'm not sure if that command being missing could lead to some other problems.
I figured out that the dpkg-architecture
command is part of the dpkg-dev
package, and after doing sudo apt install dpkg-dev
the error message no longer comes.
What happens at an ssh login that makes it try to use the dpkg-architecture
command?
Should the dpkg-dev
package be installed already by default to avoid the problem?