Page MenuHomePhabricator

parsoid apt repo rolled back breaks updates
Open, Needs TriagePublic


It appears the parsoid apt repo was updated without incrementing the Version: in the file.

Anyone who updated their apt cache prior to the new parsoid 0.11.0 release will not be able to see the parsoid 0.11.0 release.

$ sudo apt update
Hit:3 jessie-mediawiki InRelease
$ apt-cache madison parsoid
   parsoid |  0.10.0all | jessie-mediawiki/main amd64 Packages
   parsoid |  0.10.0all | jessie-mediawiki/main i386 Packages


$ sudo rm /var/lib/apt/lists/releases.wikimedia.org_debian_dists_jessie-mediawiki_InRelease
$ sudo apt-get update
Get:42 jessie-mediawiki/main i386 Packages [504 B]
Get:43 jessie-mediawiki/main amd64 Packages [504 B]
$ apt-cache madison parsoid
   parsoid |  0.11.0all | jessie-mediawiki/main amd64 Packages
   parsoid |  0.11.0all | jessie-mediawiki/main i386 Packages

Fix: Please update the apt repo with a new build and/or increment of the apt repo version.

Event Timeline

Firefishy created this task.Oct 4 2020, 9:16 PM
Restricted Application added a subscriber: Aklapper. · View Herald TranscriptOct 4 2020, 9:16 PM
Firefishy updated the task description. (Show Details)Oct 4 2020, 9:17 PM
Firefishy updated the task description. (Show Details)
Reedy updated the task description. (Show Details)
Firefishy updated the task description. (Show Details)Oct 4 2020, 9:18 PM
Firefishy updated the task description. (Show Details)
$ ls -l /var/lib/apt/lists/releases.wikimedia.org_debian_dists_jessie-mediawiki*
-rw-r--r-- 1 root root 2840 Jan 14  2020 /var/lib/apt/lists/releases.wikimedia.org_debian_dists_jessie-mediawiki_InRelease
-rw-r--r-- 1 root root  761 Dec  5  2018 /var/lib/apt/lists/releases.wikimedia.org_debian_dists_jessie-mediawiki_main_binary-amd64_Packages
-rw-r--r-- 1 root root  761 Dec  5  2018 /var/lib/apt/lists/releases.wikimedia.org_debian_dists_jessie-mediawiki_main_binary-i386_Packages
$ cat /var/lib/apt/lists/releases.wikimedia.org_debian_dists_jessie-mediawiki_InRelease
Hash: SHA256

Origin: MediaWiki
Label: MediaWiki
Suite: jessie-mediawiki
Codename: jessie-mediawiki
Version: 8
Date: Thu, 13 Jun 2019 09:40:21 UTC
Architectures: amd64 i386
Components: main
Description: MediaWiki packages for Debian jessie
 d693feee4be2cc685986f859db94f876 761 main/binary-amd64/Packages
 1aa6cabe5cdec32e660c33c51bd275cd 505 main/binary-amd64/Packages.gz
 7f41e737e8eca028362cfc203c647eef 158 main/binary-amd64/Release
 d693feee4be2cc685986f859db94f876 761 main/binary-i386/Packages
 1aa6cabe5cdec32e660c33c51bd275cd 505 main/binary-i386/Packages.gz
 3a704a553e8e034511381a6d28098824 157 main/binary-i386/Release
 d41d8cd98f00b204e9800998ecf8427e 0 main/source/Sources
 7029066c27ac6f5ef18d660d5741979a 20 main/source/Sources.gz
 ac20071412497ff4a902dd57c140948d 159 main/source/Release
 9e0c62cd0620f848a80365fcf835c94b042c52ab 761 main/binary-amd64/Packages
 44b8d04fa3f2ba36949fe2316e9cb0858bc49c51 505 main/binary-amd64/Packages.gz
 0e66fe5eaf1accbb34b5ea2a781991a10b8193aa 158 main/binary-amd64/Release
 9e0c62cd0620f848a80365fcf835c94b042c52ab 761 main/binary-i386/Packages
 44b8d04fa3f2ba36949fe2316e9cb0858bc49c51 505 main/binary-i386/Packages.gz
 1b5c5e035c5caf8d0d85447cf2959fff7493d11b 157 main/binary-i386/Release
 da39a3ee5e6b4b0d3255bfef95601890afd80709 0 main/source/Sources
 46c6643f07aa7f6bfe7118de926b86defc5087c4 20 main/source/Sources.gz
 870c3192da918fb7ba53fcc59fb707d3465479ed 159 main/source/Release
 b63c2c23236ea83ecb28d7f130f30305b7f26a598a419568193386a7444bfe36 761 main/binary-amd64/Packages
 236515ba7d18d16861d3c2f377e501883177b129574c0c75fbfe295e1e30f647 505 main/binary-amd64/Packages.gz
 a906df286b32df511477277aeface12781f57e84f69a687113cf4fdfe4151f61 158 main/binary-amd64/Release
 b63c2c23236ea83ecb28d7f130f30305b7f26a598a419568193386a7444bfe36 761 main/binary-i386/Packages
 236515ba7d18d16861d3c2f377e501883177b129574c0c75fbfe295e1e30f647 505 main/binary-i386/Packages.gz
 28fce2d1d4c913723849b1b2bd573728c0dd382538e237a92e5eab100c2be286 157 main/binary-i386/Release
 e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855 0 main/source/Sources
 59869db34853933b239f1e2219cf7d431da006aa919635478511fabbfc8849d2 20 main/source/Sources.gz
 b3bd5fab3cfe3f23f22132ca188d4dc9e35a35f9101d07ed5c7908f27d6a819b 159 main/source/Release

$ cat /var/lib/apt/lists/releases.wikimedia.org_debian_dists_jessie-mediawiki_main_binary-amd64_Packages
Package: parsoid
Version: 0.10.0all
Architecture: all
Maintainer: Parsing Team, Wikimedia Foundation <>
Installed-Size: 164791
Depends: nodejs (>= 4.0.0), logrotate, adduser
Enhances: mediawiki
Priority: optional
Section: web
Filename: pool/main/p/parsoid/parsoid_0.10.0all_all.deb
Size: 46716380
SHA256: 6c6890b4d4e0ffb4ae07871d3e5d4a85061efed06b324ffdf85ab2c73bcb3dec
SHA1: 6a4082601df3d3bcf62da7c9f9a7e4d344b0dac1
MD5sum: 2c122245b1051cd625a9924a6329cdfe
Description: Web service converting HTML+RDFa to MediaWiki wikitext and back
 Bidirectional conversion between HTML+RDFa and the MediaWiki flavor of wikitext in a node.js web service. See
Firefishy updated the task description. (Show Details)Oct 4 2020, 9:42 PM
Firefishy updated the task description. (Show Details)

Is this really worth fixing? jessie is totally end-of-life by Debian, not even Debian LTS covers it, so let's rather retire the repo for jessie for good.

This jessie repo is used for all debian distros (including Ubuntu 20.04). Install notes are here:

@Dzahn @MoritzMuehlenhoff something you can fix?

We don't have control over the apt caches of the people who've downloaded the interim version, so the only fix that works here is to bump the version to latest version to something like 0.11.1.

Parsoid/JS support ends with 1.31 LTS (which I believe is June 2021). So, we need something for 9 months.

Are you saying we should release a new deb with 0.11.1? Or are you saying you can bump the version in the index to 0.11.1?

Are you saying we should release a new deb with 0.11.1? Or are you saying you can bump the version in the index to 0.11.1?

Yeah, the version in the package index simply reflects the version in the deb, so the only fix I see here is to bump the version of the deb.