Skip to main content
added 102 characters in body
Source Link

I had this errorUnknown error executing apt-key after installing a file into /etc/apt/trusted.gpg.d on a system that had UMASK 077 in /etc/login.defs, so the file was created as 700 and apparently apt-key couldapt-key can not read it because it does not execute as the root user. chmod 644 /etc/apt/trusted.gpg.d/file<file>.asc fixed it.

I had this error after installing a file into /etc/apt/trusted.gpg.d on a system that had UMASK 077, so the file was 700 and apparently apt-key could not read it. chmod 644 /etc/apt/trusted.gpg.d/file.asc fixed it.

I had this Unknown error executing apt-key after installing a file into /etc/apt/trusted.gpg.d on a system that had UMASK 077 in /etc/login.defs, so the file was created as 700 and apparently apt-key can not read it because it does not execute as the root user. chmod 644 /etc/apt/trusted.gpg.d/<file>.asc fixed it.

Source Link

I had this error after installing a file into /etc/apt/trusted.gpg.d on a system that had UMASK 077, so the file was 700 and apparently apt-key could not read it. chmod 644 /etc/apt/trusted.gpg.d/file.asc fixed it.