cron报错

pam_env(cron:session): Unable to open env file: /etc/default/locale: No such file or directory

检查locales
执行

apt policy locales

返回

locales:
  Installed: (none)
  Candidate: 2.28-10
  Version table:
     2.28-10 500
        500 tor+http://deb.debian.org/debian stable/main armhf Packages

可以看到locales没有安装
安装locales

sudo apt install locales
Last modification:March 13th, 2021 at 12:38 pm
If you think my article is useful to you, please feel free to appreciate