client icon indicating copy to clipboard operation
client copied to clipboard

Linux repos use deprecated commands

Open jnweiger opened this issue 4 years ago • 4 comments

Seen in Ubuntu 21.04

The usual command to install the gpg key as advertised in our linux download repo setup is

wget -nv http://195.201.128.253/client/btr-2.9.2-rc1.5681-linux/Ubuntu_21.04/Release.key -O - | sudo apt-key add -

This still works in Ubuntu 21.04, but triggers deprecated warning.

Suggest to rewrite the command as

wget -nv http://client-linux-install.jw-qa.owncloud.works/client/btr-2.9.2-rc1.5681-linux/Ubuntu_21.04/Release.key -O - | gpg --dearmor | sudo dd of=/etc/apt/trusted.gpg.d/btr-client-292.gpg

(similar ugliness to what opensuse OBS does, maybe a bit less ugly)

jnweiger avatar Oct 28 '21 10:10 jnweiger

github/owncloud/administration-internal/obs_integration/download-page/repo-admin.py gitea/client/download-page/

jnweiger avatar Oct 28 '21 10:10 jnweiger

I'd suggest to finish the install script.

TheOneRing avatar Oct 28 '21 10:10 TheOneRing

Example: https://github.com/CollaboraOnline/online/issues/1934

Not sure which Ubuntu/Debian versions support the new syntax.

jnweiger avatar Nov 18 '21 10:11 jnweiger

This issue was marked stale because it has been open for 30 days with no activity. Remove the stale label or comment or this will be closed in 7 days.

github-actions[bot] avatar Dec 19 '21 00:12 github-actions[bot]

Fixed for 3.0+. See https://download.owncloud.com/desktop/ownCloud/daily/3.0/linux/download/.

fmoc avatar Nov 04 '22 09:11 fmoc

tested on Ubuntu 22.04 and command work without deprecated warnings

individual-it avatar Nov 08 '22 10:11 individual-it