From Ubuntu 22.04 on apt-key deprecated
From Ubuntu 22.04 on apt-key deprecated
When updating to the latest service pack for SoftMaker Office 2021 for Linux using the recommended installation method, I got an error message telling me “Warning: apt-key is deprecated. Manage keyring files in trusted.gpg.d instead (see apt-key(8))“ It is the same for Debian 11, and for all Ubuntu derivatives (Pop!_OS, etc) based on 22.04. I dealt with it by downloading the .deb file and installing that. THis is mostly for your information, so that you can update your instructions to deal with this matter.
Re: From Ubuntu 22.04 on apt-key deprecated
Thanks for reporting this problem. I have forwarded the details to our developer team.
Re: From Ubuntu 22.04 on apt-key deprecated
Same problem obviously on Linux Mint and I also get this error if I follow the instructions from the website
You may want to update them# wget -qO - https://shop.softmaker.com/repo/linux-repo-public.key | apt-key add echo "deb https://shop.softmaker.com/repo/apt stable non-free" > /etc/apt/sources.list.d/softmaker.list
Warning: apt-key is deprecated. Manage keyring files in trusted.gpg.d instead (see apt-key(8)).
gpg: can't open 'echo': No such file or directory
gpg: can't open 'deb https://shop.softmaker.com/repo/apt stable non-free': No such file or directory
Re: From Ubuntu 22.04 on apt-key deprecated
A lot of packages are affected by this, this is not softmaker's doing.
To solve the issue until it is somehow handled by apt or the user, the following will solve the problem:
Basically, just move the trusted.gpg file into the trusted.gpg.d directory where apt expects to find the keys.
You will have to repeat this every time you get a new key, but you can safely just copy /etc/apt/trusted.gpg on top of the other as per the shell command above.
To solve the issue until it is somehow handled by apt or the user, the following will solve the problem:
Code: Select all
$ sudo cp /etc/apt/trusted.gpg /etc/apt/trusted.gpg.d/
You will have to repeat this every time you get a new key, but you can safely just copy /etc/apt/trusted.gpg on top of the other as per the shell command above.