From Ubuntu 22.04 on apt-key deprecated

Post here those questions, bug reports and suggestions for SoftMaker Office 2021 for Linux that do not fit in any of the application-specific subforums.
Post Reply
Dacramac
Posts: 1
Joined: Thu Oct 06, 2022 11:56 am

From Ubuntu 22.04 on apt-key deprecated

Post by Dacramac »

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.
SuperTech
SoftMaker Team
SoftMaker Team
Posts: 2933
Joined: Wed Mar 11, 2020 5:31 pm

Re: From Ubuntu 22.04 on apt-key deprecated

Post by SuperTech »

Thanks for reporting this problem. I have forwarded the details to our developer team.
Mik_27
Posts: 1
Joined: Fri Nov 04, 2022 2:39 am

Re: From Ubuntu 22.04 on apt-key deprecated

Post by Mik_27 »

Same problem obviously on Linux Mint and I also get this error if I follow the instructions from the website
# 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
You may want to update them
pete
Posts: 6
Joined: Thu Nov 26, 2020 10:14 pm

Re: From Ubuntu 22.04 on apt-key deprecated

Post by pete »

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:

Code: Select all

$ sudo cp /etc/apt/trusted.gpg /etc/apt/trusted.gpg.d/
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.
Post Reply

Return to “SoftMaker Office 2021 for Linux (General)”