[Touch-packages] [Bug 1931178] Re: apt-key fails when POSIXLY_CORRECT environmental variable is set

2021-06-08 Thread Adam Bell
>From my several brief tests, this does not appear to be a (recent) regression. I do see in the apt-key manpage that apt-key is deprecated as of Focal and will be removed after Debian 11 / Ubuntu J/22.04. In the meantime, the `cp some-repo-key.gpg /etc/apt/trusted.gpg.d` method has been brought to

[Touch-packages] [Bug 1931178] [NEW] apt-key fails when POSIXLY_CORRECT environmental variable is set

2021-06-07 Thread Adam Bell
Public bug reported: apt-key fails when the POSIXLY_CORRECT environmental variable is set. This is due to chmod acting differently with POSIXLY_CORRECT set: chmod tries to use `--` as a parameter with this variable. This prevents some third-party utilities, like pmrun, from using apt- key. ---