retorquere / zotero-deb

Packaged versions of Zotero and Juris-M for Debian-based systems
https://zotero.retorque.re/file/apt-package-archive
MIT License
841 stars 31 forks source link

What is the zotero-deb release cycle? #93

Closed ReinPeacock closed 6 months ago

ReinPeacock commented 9 months ago

I've noticed zotero-deb is on 6.0.27 from 5 Sept 2023, while the most recent release of Zotero is 6.0.30 from 2 Nov 2023. No major changes between that one and the latest, and I don't use Word. Looks like 6.0.27 was the last release with any significant changes? Is zotero-deb only updated where the changelog has changes in bold for that release? It's fine either way. Thanks.

retorquere commented 9 months ago

zotero-deb updates automatically within 2 hours of Zotero putting out a release. Where did you see zotero-deb is at 6.0.27? I just installed from zotero-deb and it installs 6.0.30 for me.

ReinPeacock commented 9 months ago

curl -sL https://raw.githubusercontent.com/retorquere/zotero-deb/master/install.sh | sudo bash doesn't update it from 6.0.27.

I get:

% Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100  1150  100  1150    0     0   2842      0 --:--:-- --:--:-- --:--:--  2839
deb [signed-by=/usr/share/keyrings/zotero-archive-keyring.gpg by-hash=force] https://zotero.retorque.re/file/apt-package-archive ./

Then nothing appears to have happened.

retorquere commented 9 months ago

That's the one-time install of the pointer to the repository. To get updates (now and later) you still need to run apt update and apt upgrade.

retorquere commented 9 months ago

(or use the GUI tools of your distro. The only thing that needs the command line is the install you already did)

ReinPeacock commented 9 months ago

Not working. I get as it's updating the package list Get:6 https://zotero.retorque.re/file/apt-package-archive ./ InRelease [2,153 B] , but it says all packages are up to date.

retorquere commented 9 months ago

Please run both commands and show the full output.

retorquere commented 9 months ago

Not working. I get as it's updating the package list Get:6 https://zotero.retorque.re/file/apt-package-archive ./ InRelease [2,153 B], but it says all packages are up to date.

This must be the result of apt update, which only updates your registry. The actual software update happens by apt upgrade. The update process for Debian-based systems consists of:

  1. A one-time install to tell apt about a new software repository, and then regularly
  2. apt update, which tells apt to get the latest information from all your installed repos, which will give it information whether any upgrades exist, followed by
  3. apt upgrade, which checks which software is out of date given the information apt update retrieved in step 2 and performs installs as necessary.

If you only do step 2, no upgrades happen, because that's not what update does. If you only do step 3, no upgrades happen because apt doesn't know any are available.

The GUI package manager of your distro will guide you through step 2 and 3. It doesn't need to be done from the command line.

ReinPeacock commented 9 months ago

I've done both multiple times, forgot to mention that. Thanks:

Hit:1 http://security.ubuntu.com/ubuntu mantic-security InRelease
Hit:2 https://dl.winehq.org/wine-builds/ubuntu lunar InRelease                 
Hit:3 http://us.archive.ubuntu.com/ubuntu mantic InRelease                     
Hit:4 http://us.archive.ubuntu.com/ubuntu mantic-updates InRelease             
Hit:5 http://us.archive.ubuntu.com/ubuntu mantic-backports InRelease           
Hit:6 https://repo.protonvpn.com/debian unstable InRelease                 
Get:7 https://zotero.retorque.re/file/apt-package-archive ./ InRelease [2,153 B]
Fetched 2,153 B in 1s (3,131 B/s)    
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
All packages are up to date.
:~$ sudo apt upgrade
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
Calculating upgrade... Done
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
retorquere commented 9 months ago

What is the output of

apt-cache madison zotero

and

dpkg -l zotero
ReinPeacock commented 9 months ago
apt-cache madison zotero
    zotero |     6.0.30 | https://zotero.retorque.re/file/apt-package-archive ./ Packages
    zotero |     6.0.27 | https://zotero.retorque.re/file/apt-package-archive ./ Packages
    zotero |     6.0.26 | https://zotero.retorque.re/file/apt-package-archive ./ Packages
    zotero |     6.0.25 | https://zotero.retorque.re/file/apt-package-archive ./ Packages
    zotero |     6.0.24 | https://zotero.retorque.re/file/apt-package-archive ./
dpkg -l zotero
dpkg-query: no packages found matching zotero
retorquere commented 9 months ago

There's a final Packages missing in the apt-cache madison zotero, but that could just be a copy-paste problem. But the output from dpkg -l zotero means that however you installed zotero previously, it wasn't through the apt package manager, and ipso facto not from my repo.

If I'd have to guess you might have installed zotero using the tarball from https://www.zotero.org/download. What does which zotero say?

ReinPeacock commented 9 months ago

which zotero has no output. It's possible I installed via tarball and then forgot about it.

Yes, didn't copy-paste the whole line.

retorquere commented 9 months ago

As long as /usr/bin/zoteroand /usr/lib/zotero/ do not exist it should be safe to just install it using apt install zotero.

ReinPeacock commented 9 months ago

Ok, that worked. Thanks. Just need to figure out how to merge data in old Zotero into new one, and remove old Zotero.

retorquere commented 9 months ago

There should be nothing to merge -- if you kept to the default setup for the tarball, the packaged zotero will find and use your existing data

ReinPeacock commented 9 months ago

It seems that I previously installed Zotero as a snap. Uncertain how to remove snap without deleting its library info.

retorquere commented 9 months ago

If the snap held to the zotero recommendations, your data should be isolated in ~/Zotero and should be untouched by uninstall/reinstall, but I don't know whether the snap does.