Sublime Forum

Stable apt repo misconfigured, hash mismatch for sublime-merge package

#1

Hi, trying to install sublime-merge from the stable branch seems to be broken now with the hashes not correctly matching:

# apt install sublime-merge
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
The following NEW packages will be installed:
  sublime-merge
0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
Need to get 4548 kB of archives.
After this operation, 19.6 MB of additional disk space will be used.
Get:1 https://download.sublimetext.com apt/stable/ sublime-merge 2049 [4548 kB]
Err:1 https://download.sublimetext.com apt/stable/ sublime-merge 2049
  File has unexpected size (4542548 != 4548032). Mirror sync in progress? [IP: 104.236.0.104 443]
  Hashes of expected file:
   - SHA512:f65ce3ca80ff0877da48826a0151036cd8e0bdf28b03d225a03f202262ca1278accdac8e7eb46a22904203750ccf06e3abe496a44f7a4b0c3363076501f72369
   - SHA256:e71fcf37e9d934a60b5112a7b79c819f03f55d331371ec0e9b02378c6234478c
   - SHA1:7fe54a9f7ea5383dbdfc0aae39310e2902c6d7f5 [weak]
   - MD5Sum:fd78a3b986bd7da8b2ebd1f659f5938c [weak]
   - Filesize:4548032 [weak]
E: Failed to fetch https://download.sublimetext.com/files/sublime-merge_build-2049_amd64.deb  File has unexpected size (4542548 != 4548032). Mirror sync in progress? [IP: 104.236.0.104 443]
   Hashes of expected file:
    - SHA512:f65ce3ca80ff0877da48826a0151036cd8e0bdf28b03d225a03f202262ca1278accdac8e7eb46a22904203750ccf06e3abe496a44f7a4b0c3363076501f72369
    - SHA256:e71fcf37e9d934a60b5112a7b79c819f03f55d331371ec0e9b02378c6234478c
    - SHA1:7fe54a9f7ea5383dbdfc0aae39310e2902c6d7f5 [weak]
    - MD5Sum:fd78a3b986bd7da8b2ebd1f659f5938c [weak]
    - Filesize:4548032 [weak]
E: Unable to fetch some archives, maybe run apt-get update or try with --fix-missing?

Manually checking the files confirms this seems to be the problem:

$ curl https://download.sublimetext.com/apt/stable/Packages
...
Package: sublime-merge
Priority: optional
Section: devel
Installed-Size: 19148
Maintainer: Sublime HQ Pty Ltd <support@sublimetext.com>
Architecture: amd64
Version: 2049
Depends: libgtk-3-0
Filename: files/sublime-merge_build-2049_amd64.deb
Size: 4548032
MD5sum: fd78a3b986bd7da8b2ebd1f659f5938c
SHA1: 7fe54a9f7ea5383dbdfc0aae39310e2902c6d7f5
SHA256: e71fcf37e9d934a60b5112a7b79c819f03f55d331371ec0e9b02378c6234478c
SHA512: f65ce3ca80ff0877da48826a0151036cd8e0bdf28b03d225a03f202262ca1278accdac8e7eb46a22904203750ccf06e3abe496a44f7a4b0c3363076501f72369
Description: Sublime Merge is a Git Client, from the makers of Sublime Text
Build-Depends: libgtk-3-0
$ curl https://download.sublimetext.com/files/sublime-merge_build-2049_amd64.deb | sha256sum`Preformatted text`
d1b27ca7fc008a18b835a72681379e6b3732c393ce8920d92377c18ac51c22b5  -

I also noticed it seems that the version in stable was downgraded from 2050 to 2049, so maybe something accidentally happened with the repo administration in relation to that? In either case, thanks for looking at this!

0 Likes

#2

Hi @gerow,

Thanks for reporting this issue!

We’ve just released Sublime Merge Build 2054 which resolves this issue (and comes packed with a bunch of new features).

Thanks,
- Dylan

0 Likes