The error still remains: My ubuntu is 14.04 python version: Python 2.7.6
>>> Failed to download Zotero >>> Aborting installation, sorry! dpkg: error processing package zotero-standalone (--configure): subprocess installed post-installation script returned error exit status 1 Errors were encountered while processing: zotero-standalone E: Sub-process /usr/bin/dpkg returned an error code (1)
I run zotero fine in my laptop with the same ubuntu 14.04 Does that have anything to do with dpkg which I remember to install separately by sudo apt-get install ?
tried to install Zotero 5. by your script to kubuntu 16.04.2 LTS opened a terminal and got this: sudo apt-add-repository ppa:smathot/cogscinl Cannot add PPA: 'ppa:~smathot/ubuntu/cogscinl'. ERROR: '~smathot' user or team does not exist.
Hi, the installation of the current (Aug 19,'17) version of zotero from the ppa is failing in my Mint 18.2 box because it can't download the file from the server. Would it be possible to re-upload Zotero-5.0.11_linux-x86_64.tar.bz2, at least on a limited basis, so that the apt configuration can get over this error? Thanks
No, sorry — versions 5.0.9 through 5.0.14 contained a data-directory-migration bug that made them dangerous to use, so we've pulled them. (No data loss, but you could end up with Zotero pointing at an empty data directory when upgrading from Zotero for Firefox.) Until the package is updated, you should use the tarball for 5.0.16 from zotero.org.
ok, today I achieved to add the repository ppa:smathot/cogscinl but sudo apt-get update ended with: "E: Fehlschlag beim Holen von http://de.archive.ubuntu.com/ubuntu/dists/xenial-backports/main/dep11/icons-64x64.tar Datei /var/lib/apt/lists/partial/de.archive.ubuntu.com_ubuntu_dists_xenial-backports_main_dep11_icons-64x64.tar.gz konnte nicht geöffnet werden. - open (13: Keine Berechtigung) [IP: 141.30.13.10 80] E: Einige Indexdateien konnten nicht heruntergeladen werden. Sie wurden ignoriert oder alte an ihrer Stelle benutzt." I try it in English: Failure in fetching http://de.archive.ubuntu.com/ubuntu/dists/xenial-backports/main/dep11/icons-64x64.tar file /var/lib/apt/lists/partial/de.archive.ubuntu.com_ubuntu_dists_xenial-backports_main_dep11_icons-64x64.tar.gz couldn't be opened. - open (13: no permission) [IP: 141.30.13.10 80] E: Some Indexfiles couldn't be downloaded. The were ignored or old once used instead.
And finally sudo apt-get install zotero-standalone --fix-missing ended with: >>> URL: https://download.zotero.org/client/release/5.0.11/Zotero-5.0.11_linux-x86_64.tar.bz2 --2017-08-20 17:02:25-- https://download.zotero.org/client/release/5.0.11/Zotero-5.0.11_linux-x86_64.tar.bz2 Auflösen des Hostnamen »download.zotero.org (download.zotero.org)«... 52.222.171.17, 52.222.171.215, 52.222.171.24, ... Verbindungsaufbau zu ("connecting to") download.zotero.org (download.zotero.org)|52.222.171.17|:443... verbunden. ("connected") HTTP-Anforderung gesendet, warte auf Antwort ("http-demanded, wait for answer")... 403 Forbidden 2017-08-20 17:02:25 FEHLER ("mistake") 403: Forbidden.
>>> Failed to download Zotero >>> Aborting installation, sorry! dpkg: Fehler beim Bearbeiten des Paketes ("Error by working with package") zotero-standalone (--configure): Unterprozess installiertes post-installation-Skript gab den Fehlerwert 1 zurück ("Sub-process of installed post-installtion script gives error code 1") Fehler traten auf beim Bearbeiten von ("Error by working with"): zotero-standalone E: Sub-process /usr/bin/dpkg returned an error code (1)
The first error has nothing to do with Zotero or the PPA. For the 2nd error see above: the 5.0.11 version that the PPA currently attempts to retrieve (it doesn't actually host a copy of Zotero, just a customized download and install script) is no longer available from Zotero. You'll have to wait until the PPA is updated
After FF57 update forced me to leave zoteros FF-integration and switch to the new standalone version Z5 on my Linux run notebook (ubuntu 16.04lts derivate elementaryOS) I am stuck between two options:
1. I installed Z5 using Sebastiaans helpful ppa. In result I have an outdated 5.0.23 while 5.0.25 is actual version. Looking at the git-hubs back-lock I have the feeling that Sebastiaan only updates versions from time to time - for which I can not blame him, after all it is his decision what to do with his free time. Updating from within zotero does not work for missing privileges and I think it is no good idea to give zotero permanent superuser privileges for security reasons and also for not having two update mechanisms (ppa and zotero itself) interfering each other. fair enough installing the zotfile extension into Z5 works fine without privileges issues.
2. I uninstalled the ppa and tried the manual way, downloading the file from zotero homepage and following the instructions on the help page (https://www.zotero.org/support/installation) into /opt path. Although I run the "set_launcher_icon" script with sudo and do not get an error message the script seems not to work well for me. Resulting in an up-to-date version of Z5 that I only can start by opening a terminal window, move into the right path and run zotero from there. Which is not very convenient for me when I research in FF and just want to quickly store an article or webpage to zotero (it is annoying enough having to start an extra program instead of just clicking the "Z" button from within FF).
To my understanding the main problem with the ppa udpate is the ever changing path for every new Zotero version. So my question goes to the zotero folks if it would be possible to help Sebastiaan and every other package-maintainer of OS distributions to have some more stable download link like .../zotero/latestversion at least on the level of 5.0.xx versions?
On the other hand I would like to know if there is a simple possibility to fork Sebastiaans ppa, change the version-link in the script and just give it a try?
Thanks for any other suggestion how to get an up-to-date version of Zotero running on Linux without spending hours in fiddling with the system internals. Olaf
Although I run the "set_launcher_icon" script with sudo and do not get an error message the script seems not to work well for me.
1) You don't need to and shouldn't run it with sudo (and that's not in the instructions). Make sure the desktop file is owned by your user.
2) That script also doesn't really matter — it's just changing the icon path in the desktop file so that the bundled icon displays properly, which you could also do manually. (Desktop files just don't support relative icon paths, so it has to be updated with the location where you put the folder.)
3) I'm not sure what you mean by "seems not to work well for me". The desktop file should still work without running that script at all.
What happens when you double-click the desktop file (i.e., "Zotero", capitalized, or possibly "zotero.desktop" if you haven't yet clicked it)?
So my question goes to the zotero folks if it would be possible to help Sebastiaan and every other package-maintainer of OS distributions to have some more stable download link like .../zotero/latestversion at least on the level of 5.0.xx versions?
That already exists — you can just remove the 'version' parameter from the download URL.
Thanks for your advice. Maybe I am too reluctant to make files/folders in the /opt path owned by a simple user. On the other hand it feels awkward to install a program into a folder in my /home path where I usually put my document files - especially since on my dual-boot system I linked this path to an ntfs partition shared between windows an linux. For the time beeing I switched back to the out-of-date ppa version, so I can not test your suggestions right now. Hopefully your note on the simplified download URL helps @sebastiaan.mathout to maintain the ppa more up-to-date.
What I mean by "not working for me": Once installed manually I expected Zotero to appear in the list of installed programms when I open the menu of programs (in German "Anwendungen") that elementaryOS offers in what they call wingpanel (the upper line of the monitor) and that I can stick it to the dock (lower line of the monitor) as an icon. With other programs that I had to install manually I could do that but it does not work with Zotero. The Zotero icon appears, when it is open, but an right click does only offer to close the program, not to stick it to the dock.
Oh, I missed that this was Elementary. I don't think there's any reason to think an Ubuntu desktop file works on Elementary (and it doesn't for me testing it just now on an Elementary live CD). It works on stock Ubuntu. I've changed the instructions to say "on Ubuntu" rather than "on Ubuntu-based distros" — sorry for the confusion.
But cannot update if installed this way ? It say I don't have the rights to instal the new update. In order to do this, modify the rights on the folder where the Zotero application in installed. How to update in my case ?
If you do a local install it just uses the rights of the current user, so it should just update. The global install also doesn't touch any permissions but that probably means you have to install as root and root will have to run it to use the built-in updater. You can run the Python script again and it will install the newest binary.
1. sudo apt-add-repository ppa:smathot/cogscinl
2. sudo apt-get update
3. sudo apt-get install zotero-standalone --fix-missing
The error still remains:
My ubuntu is 14.04
python version: Python 2.7.6
>>> Failed to download Zotero
>>> Aborting installation, sorry!
dpkg: error processing package zotero-standalone (--configure):
subprocess installed post-installation script returned error exit status 1
Errors were encountered while processing:
zotero-standalone
E: Sub-process /usr/bin/dpkg returned an error code (1)
I run zotero fine in my laptop with the same ubuntu 14.04
Does that have anything to do with dpkg which I remember to install separately by sudo apt-get install ?
- Sankar
Cheers!
Sebastiaan
Cannot add PPA: 'ppa:~smathot/ubuntu/cogscinl'.
ERROR: '~smathot' user or team does not exist.
any idea?
Thanks
"E: Fehlschlag beim Holen von http://de.archive.ubuntu.com/ubuntu/dists/xenial-backports/main/dep11/icons-64x64.tar Datei /var/lib/apt/lists/partial/de.archive.ubuntu.com_ubuntu_dists_xenial-backports_main_dep11_icons-64x64.tar.gz konnte nicht geöffnet werden. - open (13: Keine Berechtigung) [IP: 141.30.13.10 80]
E: Einige Indexdateien konnten nicht heruntergeladen werden. Sie wurden ignoriert oder alte an ihrer Stelle benutzt."
I try it in English: Failure in fetching http://de.archive.ubuntu.com/ubuntu/dists/xenial-backports/main/dep11/icons-64x64.tar
file /var/lib/apt/lists/partial/de.archive.ubuntu.com_ubuntu_dists_xenial-backports_main_dep11_icons-64x64.tar.gz couldn't be opened. - open (13: no permission) [IP: 141.30.13.10 80] E: Some Indexfiles couldn't be downloaded. The were ignored or old once used instead.
And finally sudo apt-get install zotero-standalone --fix-missing ended with:
>>> URL: https://download.zotero.org/client/release/5.0.11/Zotero-5.0.11_linux-x86_64.tar.bz2
--2017-08-20 17:02:25-- https://download.zotero.org/client/release/5.0.11/Zotero-5.0.11_linux-x86_64.tar.bz2
Auflösen des Hostnamen »download.zotero.org (download.zotero.org)«... 52.222.171.17, 52.222.171.215, 52.222.171.24, ...
Verbindungsaufbau zu ("connecting to") download.zotero.org (download.zotero.org)|52.222.171.17|:443... verbunden. ("connected")
HTTP-Anforderung gesendet, warte auf Antwort ("http-demanded, wait for answer")... 403 Forbidden
2017-08-20 17:02:25 FEHLER ("mistake") 403: Forbidden.
>>> Failed to download Zotero
>>> Aborting installation, sorry!
dpkg: Fehler beim Bearbeiten des Paketes ("Error by working with package") zotero-standalone (--configure):
Unterprozess installiertes post-installation-Skript gab den Fehlerwert 1 zurück ("Sub-process of installed post-installtion script gives error code 1")
Fehler traten auf beim Bearbeiten von ("Error by working with"):
zotero-standalone
E: Sub-process /usr/bin/dpkg returned an error code (1)
Any help?
1. I installed Z5 using Sebastiaans helpful ppa. In result I have an outdated 5.0.23 while 5.0.25 is actual version. Looking at the git-hubs back-lock I have the feeling that Sebastiaan only updates versions from time to time - for which I can not blame him, after all it is his decision what to do with his free time. Updating from within zotero does not work for missing privileges and I think it is no good idea to give zotero permanent superuser privileges for security reasons and also for not having two update mechanisms (ppa and zotero itself) interfering each other. fair enough installing the zotfile extension into Z5 works fine without privileges issues.
2. I uninstalled the ppa and tried the manual way, downloading the file from zotero homepage and following the instructions on the help page (https://www.zotero.org/support/installation) into /opt path. Although I run the "set_launcher_icon" script with sudo and do not get an error message the script seems not to work well for me. Resulting in an up-to-date version of Z5 that I only can start by opening a terminal window, move into the right path and run zotero from there. Which is not very convenient for me when I research in FF and just want to quickly store an article or webpage to zotero (it is annoying enough having to start an extra program instead of just clicking the "Z" button from within FF).
To my understanding the main problem with the ppa udpate is the ever changing path for every new Zotero version. So my question goes to the zotero folks if it would be possible to help Sebastiaan and every other package-maintainer of OS distributions to have some more stable download link like .../zotero/latestversion at least on the level of 5.0.xx versions?
On the other hand I would like to know if there is a simple possibility to fork Sebastiaans ppa, change the version-link in the script and just give it a try?
Thanks for any other suggestion how to get an up-to-date version of Zotero running on Linux without spending hours in fiddling with the system internals.
Olaf
2) That script also doesn't really matter — it's just changing the icon path in the desktop file so that the bundled icon displays properly, which you could also do manually. (Desktop files just don't support relative icon paths, so it has to be updated with the location where you put the folder.)
3) I'm not sure what you mean by "seems not to work well for me". The desktop file should still work without running that script at all.
What happens when you double-click the desktop file (i.e., "Zotero", capitalized, or possibly "zotero.desktop" if you haven't yet clicked it)? That already exists — you can just remove the 'version' parameter from the download URL.
For the time beeing I switched back to the out-of-date ppa version, so I can not test your suggestions right now. Hopefully your note on the simplified download URL helps @sebastiaan.mathout to maintain the ppa more up-to-date.
What I mean by "not working for me":
Once installed manually I expected Zotero to appear in the list of installed programms when I open the menu of programs (in German "Anwendungen") that elementaryOS offers in what they call wingpanel (the upper line of the monitor) and that I can stick it to the dock (lower line of the monitor) as an icon. With other programs that I had to install manually I could do that but it does not work with Zotero. The Zotero icon appears, when it is open, but an right click does only offer to close the program, not to stick it to the dock.
>> sudo add-apt-repository ppa:smathot/cogscinl
>> sudo apt-get update
>> sudo apt-get install zotero-standalone
It say I don't have the rights to instal the new update. In order to do this, modify the rights on the folder where the Zotero application in installed.
How to update in my case ?