Automatic upgrade does not work on Ubuntu
Hi all!
I am running Ubuntu 18.04 on DELL XPS 13, and I installed Zotero for some times ago. Zotero works fine, and it is a great tool to manage bibliographic data.
The problem is that the automatic upgrading does not work.
There is a message telling that I don't have any privileges to write in Zotero folder.
This is strange, because I created the folder and installed Zotero by myself.
So, what shoul I do, to make the automatic upgrading to work?
I am running Ubuntu 18.04 on DELL XPS 13, and I installed Zotero for some times ago. Zotero works fine, and it is a great tool to manage bibliographic data.
The problem is that the automatic upgrading does not work.
There is a message telling that I don't have any privileges to write in Zotero folder.
This is strange, because I created the folder and installed Zotero by myself.
So, what shoul I do, to make the automatic upgrading to work?
sudo
, you may have done it yourself, but the files will likely be root-owned. How did you install Zotero?"For Ubuntu, the tarball includes a .desktop file that can be used to add Zotero to the launcher. Move the extracted directory to a location of your choice (e.g., /opt/zotero), run the set_launcher_icon script to update the .desktop file for that location, and symlink zotero.desktop into ~/.local/share/applications/ (e.g., ln -s /opt/zotero/zotero.desktop ~/.local/share/applications/zotero.desktop). Zotero should then appear in your launcher. "
My Zotero folders are in two locations: /opt/Zotero and /home/Zotero. There are more files in home folder (2,5 G), so probably it is the working folder.
The easiest option for a single-user linux computer is to run Zotero somewhere from home (e.g. ~/home/.local/opt/zotero , but it really doesn't matter), in which case updating will work.
If you do want to keep it in /opt, I'd very much use a package like https://github.com/retorquere/zotero-deb so aptitude handles the update (and you run those as su anyway).
edit: sorry, I missed that emiliano says basically the same thing above. Doesn't make it less true.
To be clear, the files under /opt are program files, and the files under /home/ are data files. The update needs to overwrite files in the former location, it doesn't touch the latter. If you once change the ownership of the program files to your user account (in my case that would be with
sudo chown -r <username>:<groupname> /opt/Jurism_linux-x86_64
), updates should work fine in future.