hawkeye116477 / waterfox-deb-rpm-arch-AppImage

Unofficial repository with Waterfox Web Browser packages for Ubuntu, Debian (deb), Arch Linux (pkg.tar.xz), Fedora, CentOS 7, Alma, Rocky and openSUSE (rpm) and AppImage packages for all distros following with CentOS 7.
https://build.opensuse.org/project/show/home:hawkeye116477:waterfox
90 stars 6 forks source link

SuSE mirrors broken? 2580 bytes missing from waterfox-classic-kpe_2020.10-0_amd64.deb #37

Closed mk-pmb closed 4 years ago

mk-pmb commented 4 years ago

Thanks for packaging waterfox!

(Original misguided report at https://github.com/MrAlex94/Waterfox/issues/1842 )

In xUbuntu_20.04/Packages, "Package: waterfox-classic-kpe" is expected to have "Size: 40618660" bytes, but the mirrors seem to be missing 2580 bytes:

  1. Lookup suitable mirrors for downloading the file: curl --head https://download.opensuse.org/repositories/home:/hawkeye116477:/waterfox/xUbuntu_20.04/amd64/waterfox-classic-kpe_2020.10-0_amd64.deb
  2. Ask your preferred mirror about file meta data, e.g. curl --head http://widehat.opensuse.org/repositories/home:/hawkeye116477:/waterfox/xUbuntu_20.04/amd64/waterfox-classic-kpe_2020.10-0_amd64.deb
  3. It reports "Content-Length: 40616080"
hawkeye116477 commented 4 years ago

Simply, after some time it's automatically rebuilded (when depends are updated on repo) and that new bigger version isn't available on mirrors yet. Sometimes it take bit longer to appear on mirrors. There is also problem that release number (that is after - sign) isn't automatically bumped, so it may be little confusing, but this bug is already reported on https://github.com/openSUSE/open-build-service/issues/834.

mk-pmb commented 4 years ago

Does it mean the only solution at the moment is to remove the waterfox repo from apt sources, wait, hope and retry sometimes?

hawkeye116477 commented 4 years ago

If current version works fine for you, then you don't need to do any step. Otherwise you can try to uninstall package, purge cached package and try again in the future.

mk-pmb commented 4 years ago

Yes on machines that have waterfox installed, I removed the repo from apt sources so apt can at least install and upgrade other packages. On machines that don't have waterfox yet, I don't have a good solution yet. If I had saved the old deb, I could manually install it with dpkg, but I wouldn't know how to verify the signature on that.

apt currently cannot install or re-install any version of waterfox-classic-kpe, because it would only accept the one described in the Packages file, and I can't find a download link that matches the expected file size and SHA-256.

hawkeye116477 commented 4 years ago

I forgot about another solution. You can try to replace download.opensuse.org with downloadcontent.opensuse.org and that way you can always download directly newest version without mirrors.

mk-pmb commented 4 years ago

From that other host, I was able to obtain the correct file. Thanks a lot!