pharo-project / pharo

Pharo is a dynamic reflective pure object-oriented language supporting live programming inspired by Smalltalk.
http://pharo.org
Other
1.21k stars 355 forks source link

EOCD error installing Pharo 12 on Ubuntu 22.04.4 LTS #16283

Closed hernanmd closed 4 months ago

hernanmd commented 7 months ago

Bug description While trying to install Pharo 12 on Ubuntu 22.04.4 LTS the following error appears:

To Reproduce

$ wget -O- get.pharo.org/64/120+vm | bash
--2024-03-05 18:32:49--  http://get.pharo.org/64/120+vm
Resolving get.pharo.org (get.pharo.org)... 164.132.235.17, 2001:41d0:301::23
Connecting to get.pharo.org (get.pharo.org)|164.132.235.17|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 3064 (3.0K)
Saving to: \u2018STDOUT\u2019

-                                100%[==========================================================>]   2.99K  --.-KB/s    in 0s      

2024-03-05 18:32:49 (259 MB/s) - written to stdout [3064/3064]

Downloading the latest 120 Image:
    http://files.pharo.org/get-files/120/pharoImage-aarch64.zip
Pharo.image
Downloading the latest pharoVM:
    http://files.pharo.org/get-files/120/pharo-vm-Linux-aarch64-stable.zip
[pharo-vm/vm.zip]
  End-of-central-directory signature not found.  Either this file is not
  a zipfile, or it constitutes one disk of a multi-part archive.  In the
  latter case the central directory and zipfile comment will be found on
  the last disk(s) of this archive.
unzip:  cannot find zipfile directory in one of pharo-vm/vm.zip or
        pharo-vm/vm.zip.zip, and cannot find pharo-vm/vm.zip.ZIP, period.

Version information

== uname =====================================================
Linux mvs 5.15.0-97-generic #107-Ubuntu SMP Wed Feb 7 13:27:10 UTC 2024 aarch64 aarch64 aarch64 GNU/Linux

== shell =====================================================
GNU bash, version 5.1.16(1)-release (aarch64-unknown-linux-gnu)

== zip =====================================================
Copyright (c) 1990-2008 Info-ZIP - Type 'zip "-L"' for software license.
This is Zip 3.0 (July 5th 2008), by Info-ZIP.

== unzip =====================================================
caution:  both -n and -o specified; ignoring -o
UnZip 6.00 of 20 April 2009, by Debian. Original by Info-ZIP.

== git =====================================================
git version 2.34.1

== wget =====================================================
GNU Wget 1.21.2 built on linux-gnu.

-cares +digest -gpgme +https +ipv6 +iri +large-file -metalink +nls 
+ntlm +opie +psl +ssl/openssl 

== curl =====================================================
curl 7.81.0 (aarch64-unknown-linux-gnu) libcurl/7.81.0 OpenSSL/3.0.2 zlib/1.2.11 brotli/1.0.9 zstd/1.4.8 libidn2/2.3.2 libpsl/0.21.0
 (+libidn2/2.3.2) libssh/0.9.6/openssl/zlib nghttp2/1.43.0 librtmp/2.3 OpenLDAP/2.5.16
Release-Date: 2022-01-05

== tar =====================================================
tar (GNU tar) 1.34

== grep =====================================================
grep (GNU grep) 3.7
demarey commented 7 months ago

It works for me on Mac os. I do not think the issue is related to Pharo. As the message says, you got a corrupted zip file. It probably means something went wrong while downloading the image. Did you try another time?

hernanmd commented 7 months ago

@demarey this error happens in Ubuntu, it has nothing to do with macOS. Just tried today and the problem still remains, so being Ubuntu one of the most used Linux distributions it does seem like a High priority issue:

Screenshot 2024-03-29 at 11 37 36
demarey commented 7 months ago

Hi @hernanmd As I said, the problem is a download pb. You got a corrupted zip file. Trying again should solve the issue.

hernanmd commented 7 months ago

Hi @hernanmd As I said, the problem is a download pb. You got a corrupted zip file. Trying again should solve the issue.

I tried two times in different times (actually 3 weeks of difference), different machines and configurations, and even from different locations. How this is a download problem?

hernanmd commented 7 months ago

Do you have an Ubuntu machine to try to reproduce the issue?

matburnx commented 4 months ago

I'm on Pop_OS 22.04 (which is based on Ubuntu 22.04 LTS) and the issue seems fixed for me.

hernanmd commented 4 months ago

I'm on Pop_OS 22.04 (which is based on Ubuntu 22.04 LTS) and the issue seems fixed for me.

Thanks for the feedback. Since I don't have an Ubuntu machine now, I will close the issue, and anyone can re-open it if it appears again.