The instructions for installing on any version of the desktop client on Ubuntu are wrong and potentially damaging to client’s computer systems.
The offending line is —
sudo sh -c "echo ‘deb http://download.opensuse.org/repositories/isv:/ownCloud:/desktop/Ubuntu_19.10/ /’ > /etc/apt/sources.list.
The opening double quote in front of the word echo is not matched by a closing double quote
Writing to a file called sources.list. will not work, the file you want is sources.list (no trailing dot)
Redirecting output from an echo command with only a single > overwrites the sources.list file, getting rid of all the existing content - which means the apt command cannot be used to do any further updates of the OS after running this incorrect command. If you want to add an additional source to the list you must use two arrows, >> to append to the file - not overwrite it.
So the correct line is ----
sudo echo ‘deb http://download.opensuse.org/repositories/isv:/ownCloud:/desktop/Ubuntu_19.10/ /’ >> /etc/apt/sources.list
Can this be fixed please?
if i’m opening the following URL which i have found on https://owncloud.org/download/#owncloud-desktop-client-linux:
i can find the following correct instructions for Ubuntu 19.10:
sudo sh -c "echo 'deb http://download.opensuse.org/repositories/isv:/ownCloud:/desktop/Ubuntu_19.10/ /' > /etc/apt/sources.list.d/isv:ownCloud:desktop.list"
Could it be possible that you have missed to copy the full command?
My mistake, I did not notice the scroll bar on my screen. The command line was not formatted on multiple lines and the text I could see was cut off at list. with the rest of the line not visible.
I was cutting and pasting one line at a time from the visible screen. So if one failed I could see the error message before pasting in the next one.
Would it be worth splitting up the command into shorter lines and including \s at the end of each physical line?
Thank you for your prompt response.
i’m not sure if some one who is in charge of this page is reading this forums. But i think splitting such longer lines could make sense, maybe you could open an issue at https://github.com/owncloud/client/issues to see if some one is noticing this there.