Closed adrianteri closed 3 years ago
I am also getting this error when attempting to install on Pop!_OS/Ubuntu
➜ ~ flatpak --user install com.sublimetext.three
Looking for matches…
Found similar ref(s) for ‘com.sublimetext.three’ in remote ‘flathub’ (user).
Use this remote? [Y/n]: y
com.sublimetext.three permissions:
ipc network fallback-x11 wayland x11 dri file access [1] dbus access [2]
[1] host
[2] org.gnome.SettingsDaemon
ID Branch Op Remote Download
1. [✗] com.sublimetext.three stable i flathub 10.3 MB / 10.2 MB
Error: Wrong size for extra data http://packagecontrol.io/Package%20Control.sublime-package
error: Failed to install com.sublimetext.three: Wrong size for extra data http://packagecontrol.io/Package%20Control.sublime-package
It seems that Package Control released a new version 3.4.0 a few days ago, and quietly replaced the existing file in the download location... so this is working as intended, "protecting" your system from a potentially malicious file with unexpected contents! :joy:
I can update the signature, but I wonder if we can instead get away with not pre-installing Package Control at all, now that Sublime Text has an actual in-app install process for Package Control?
I don't have an issue with removing Package Control. Would that update the Flatpak itself once installed and would it persist or would it reset everytime you open the editor?
I'd have to test it, but I expect that Package Control would be gone the next time you opened the app after upgrading it from Flathub, and then once you reinstalled Package Control via the menu item, it would remain installed thereafter.
(Maybe it's not such a good idea after all to make an upgrade that silently uninstalls Package Control, though.)
I have a similar issue to this Minecraft's FlatHub repo.