retorquere/zotero-deb

None of the installations work

rongcuid opened this issue ยท 15 comments

As title.

Also, the APT server doesn't seem to work either.:

W: Failed to fetch https://apt.retorque.re/file/zotero-apt/./InRelease  The HTTP server sent an invalid Content-Range header Bad header data [IP: 172.67.136.194 443]

Same

Working on it

The installations work again, but see the README. The new situation will be stable.

Hm, for me it still doesn't work (Ubuntu 20.04.4 LTS 64-bit):

$ curl -sL https://zotero.retorque.re/file/apt-package-archive/install.sh | sudo bash
[sudo] password for xyz: 
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100  1150  100  1150    0     0   3125      0 --:--:-- --:--:-- --:--:--  3125
deb [signed-by=/usr/share/keyrings/zotero-archive-keyring.gpg by-hash=force] https://zotero.retorque.re/file/apt-package-archive ./

$ sudo apt update
Hit:1 http://fi.archive.ubuntu.com/ubuntu focal InRelease
[..]                           
Get:15 https://zotero.retorque.re/file/apt-package-archive ./ InRelease [2.153 B]           
Ign:17 https://zotero.retorque.re/file/apt-package-archive ./ Packages              
Get:17 https://zotero.retorque.re/file/apt-package-archive ./ Packages [4.684 B]
Err:17 https://zotero.retorque.re/file/apt-package-archive ./ Packages
  File has unexpected size (4670 != 4684). Mirror sync in progress? [IP: 104.21.54.76 443]
  Hashes of expected file:
   - Filesize:4684 [weak]
   - SHA512:e0ff36da625fd375817509aa048f1406434df335e1f3d6236eb26c7fff7110223cc27a3f5c37e509b1674aded14ebf32b7baf625c3c368be4b4e17a11e137fd5
   - SHA256:ebb0f375eb673fb3b9c0d15f4375c7f6f90edbc72de749fb14f4ba37150e1abe
   - SHA1:6fdaedc51b226984eb9319452d5e4e3dca9efb2a [weak]
   - MD5Sum:53aa96ed7bbfb403eec99d0168dd64eb [weak]
  Release file created at: Mon, 21 Mar 2022 08:26:46 +0000
Hit:16 https://packagecloud.io/slacktechnologies/slack/debian jessie InRelease
Fetched 2.153 B in 2s (921 B/s)
Reading package lists... Done
E: Failed to fetch https://zotero.retorque.re/file/apt-package-archive/./Packages.bz2  File has unexpected size (4670 != 4684). Mirror sync in progress? [IP: 104.21.54.76 443]
   Hashes of expected file:
    - Filesize:4684 [weak]
    - SHA512:e0ff36da625fd375817509aa048f1406434df335e1f3d6236eb26c7fff7110223cc27a3f5c37e509b1674aded14ebf32b7baf625c3c368be4b4e17a11e137fd5
    - SHA256:ebb0f375eb673fb3b9c0d15f4375c7f6f90edbc72de749fb14f4ba37150e1abe
    - SHA1:6fdaedc51b226984eb9319452d5e4e3dca9efb2a [weak]
    - MD5Sum:53aa96ed7bbfb403eec99d0168dd64eb [weak]
   Release file created at: Mon, 21 Mar 2022 08:26:46 +0000
E: Some index files failed to download. They have been ignored, or old ones used instead.

same issue as you.

Fixed, the github source work for me.

curl -sL https://github.com/retorquere/zotero-deb/releases/download/apt-get/install.sh | sudo bash

On it, again. Cloudflare CDN seems to be the culprit. I'm working with two volunteers who have donated hosting, which means I can take cloudflare out of the mix if need be. The urls and install.sh stuff will remain the same though. That part at least is stable.

Never in a million years I would have thought the hosting part of this was going to be a painpoint. Yet here we are.

I will keep the GH hosting updated, but my aim is to bring everyone to a single hosted place. This musical chairs between hosts is not a great user experience, and I don't want these problems to give anyone pause about my general competence.

Thanks a lot for your effort! ๐Ÿ˜Š

But for me the github link also doesn't work; it complains that it's not signed. ๐Ÿ˜ฌ

$ curl -sL https://github.com/retorquere/zotero-deb/releases/download/apt-get/install.sh | sudo bash
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100  1150  100  1150    0     0  10360      0 --:--:-- --:--:-- --:--:-- 10454
deb [signed-by=/usr/share/keyrings/zotero-archive-keyring.gpg by-hash=force] https://github.com/retorquere/zotero-deb/releases/download/apt-get ./

$ sudo apt update
Err:11 https://github.com/retorquere/zotero-deb/releases/download/apt-get ./ InRelease
  401  Unauthorized [IP: 185.199.111.133 443]
Reading package lists... Done
E: Failed to fetch https://github.com/retorquere/zotero-deb/releases/download/apt-get/./InRelease  401  Unauthorized [IP: 185.199.111.133 443]
E: The repository 'https://github.com/retorquere/zotero-deb/releases/download/apt-get ./ InRelease' is not signed.
N: Updating from such a repository can't be done securely, and is therefore disabled by default.
N: See apt-secure(8) manpage for repository creation and user configuration details.

But for me the github link also doesn't work; it complains that it's not signed. ๐Ÿ˜ฌ

In my tests it does succeed: https://github.com/retorquere/zotero-deb/runs/5624606105?check_suite_focus=true

Maybe you found the repo mid-refresh (I'm doing a ton of them during the tests I'm doing right now). Can you retry? Or try the primary mirror?

The github mirror still gives the same error (not signed). But the primary mirror is working for me now! ๐Ÿฅณ

I intend to keep sourceforge and github updated, but I mean to move the supported option to https://zotero.retorque.re/apt-package-archive, wherever it ends up being hosted. Moving hosts, should it be necessary at some point, will be seamless for people using that repo.

Here, everything seems working.

Everything working on my end now with Ubuntu 20.04.4 ๐Ÿ™‚

It's been a ride.