Installation gets stuck when it tries to download zeromq-4.2.5.tar.gz

60 views
Skip to first unread message

Parth Dubal

unread,
Jun 18, 2019, 11:47:31 AM6/18/19
to sage-devel
Hi,

I tried three times to install sage as described in github on my virtual machine (Ubuntu 19) but the installation gets stuck for hours at the point of downloading zeromq-4.2.5.tar.gz. I am running ubuntu on Hyper-V. My parent OS is Windows 10 Pro and guest OS is Ubuntu 19. I have 16 Gigs of memory from which I dedicated 4 Gigs memory to guest OS, 203 Gigs hard drive out of which 100 Gigs for /dev/sda1. I am attaching the screenshots which describes the error and also when it got stuck. I waited for 2 hours to let it complete but then I was tired and I hit Ctrl+C to stop the installation. Please let me know where am I getting wrong. I did all the steps given in github. I tried to move on with other commands as this was stuck but no luck.
Screenshot (14).png
Screenshot (15).png

John H Palmieri

unread,
Jun 18, 2019, 12:29:29 PM6/18/19
to sage-devel


On Tuesday, June 18, 2019 at 8:47:31 AM UTC-7, Parth Dubal wrote:
Hi,

I tried three times to install sage as described in github on my virtual machine (Ubuntu 19) but the installation gets stuck for hours at the point of downloading zeromq-4.2.5.tar.gz. I am running ubuntu on Hyper-V. My parent OS is Windows 10 Pro and guest OS is Ubuntu 19. I have 16 Gigs of memory from which I dedicated 4 Gigs memory to guest OS, 203 Gigs hard drive out of which 100 Gigs for /dev/sda1. I am attaching the screenshots which describes the error and also when it got stuck. I waited for 2 hours to let it complete but then I was tired and I hit Ctrl+C to stop the installation. Please let me know where am I getting wrong. I did all the steps given in github. I tried to move on with other commands as this was stuck but no luck.

I don't know why downloading the file didn't work, but you can download the file manually from


and then put it in the "upstream" directory ("/home/parthadubal/sage/upstream").

--
John

Parth Dubal

unread,
Jun 18, 2019, 12:41:47 PM6/18/19
to sage-devel
But will this cause installation to not to download by itself if I did manually? Will installation detect that it is already downloaded? I changed the OS now, I went to Ubuntu 18 and trying one more time. It's already in progress.

Volker Braun

unread,
Jun 18, 2019, 12:51:41 PM6/18/19
to sage-devel
The url in the screenshot http://mirrors.mit.edu/sage/spkg/upstream/zeromq/zeromq-4.2.5.tar.gz works for me, you can try downloading it from within your VM to exclude any networking issues.


Parth Dubal

unread,
Jun 18, 2019, 12:54:35 PM6/18/19
to sage-devel
Once I download manually, will the installation skip it automatically?

Dima Pasechnik

unread,
Jun 18, 2019, 12:58:02 PM6/18/19
to sage-devel
On Tue, Jun 18, 2019 at 5:54 PM Parth Dubal <dubal...@gmail.com> wrote:
>
> Once I download manually, will the installation skip it automatically?

yes. it will check that the checksums match, and use your manual
download if it is the case.

>
> On Tuesday, June 18, 2019 at 12:51:41 PM UTC-4, Volker Braun wrote:
>>
>> The url in the screenshot http://mirrors.mit.edu/sage/spkg/upstream/zeromq/zeromq-4.2.5.tar.gz works for me, you can try downloading it from within your VM to exclude any networking issues.
>>
>>
> --
> You received this message because you are subscribed to the Google Groups "sage-devel" group.
> To unsubscribe from this group and stop receiving emails from it, send an email to sage-devel+...@googlegroups.com.
> To post to this group, send email to sage-...@googlegroups.com.
> Visit this group at https://groups.google.com/group/sage-devel.
> To view this discussion on the web visit https://groups.google.com/d/msgid/sage-devel/82b0a707-302e-4d23-b375-fffb4d8e0863%40googlegroups.com.
> For more options, visit https://groups.google.com/d/optout.

Parth Dubal

unread,
Jun 18, 2019, 1:04:59 PM6/18/19
to sage-devel
Alright. Thanks. I will try that.


On Tuesday, June 18, 2019 at 12:58:02 PM UTC-4, Dima Pasechnik wrote:
On Tue, Jun 18, 2019 at 5:54 PM Parth Dubal <dubal...@gmail.com> wrote:
>
> Once I download manually, will the installation skip it automatically?

yes. it will check that the checksums match, and use your manual
download if it is the case.

>
> On Tuesday, June 18, 2019 at 12:51:41 PM UTC-4, Volker Braun wrote:
>>
>> The url in the screenshot http://mirrors.mit.edu/sage/spkg/upstream/zeromq/zeromq-4.2.5.tar.gz works for me, you can try downloading it from within your VM to exclude any networking issues.
>>
>>
> --
> You received this message because you are subscribed to the Google Groups "sage-devel" group.
> To unsubscribe from this group and stop receiving emails from it, send an email to sage-...@googlegroups.com.

Parth Dubal

unread,
Jun 18, 2019, 1:12:06 PM6/18/19
to sage-devel
I tried to download manually and put it into upstream directory but it is already present and the installation didn't even reach to that step. I don't understand, if it was already downloaded earlier then why the installation does freeze when it is attempting to download? I am sorry I know its weird.

John H Palmieri

unread,
Jun 18, 2019, 1:16:25 PM6/18/19
to sage-devel


On Tuesday, June 18, 2019 at 10:12:06 AM UTC-7, Parth Dubal wrote:
I tried to download manually and put it into upstream directory but it is already present and the installation didn't even reach to that step. I don't understand, if it was already downloaded earlier then why the installation does freeze when it is attempting to download? I am sorry I know its weird.

Is the newly downloaded one identical to the old one? The old one might be corrupted, so the checksums don't match, and so Sage tries to download a new copy. Replacing the old one with the new one might resolve that problem.

Parth Dubal

unread,
Jun 18, 2019, 1:18:13 PM6/18/19
to sage-devel
It has the same name but I don't know if checksum matches. By seeing the names they are identical.

Parth Dubal

unread,
Jun 18, 2019, 1:19:28 PM6/18/19
to sage-devel
I replaced it. Lets see how it goes. Installation is still on but didn't reach to that step yet.


On Tuesday, June 18, 2019 at 1:16:25 PM UTC-4, John H Palmieri wrote:

Parth Dubal

unread,
Jun 18, 2019, 3:56:35 PM6/18/19
to sage-devel
Hi. Thank you everyone. It worked out in Ubuntu 18. I changed the OS also downloaded zermomq package and replaced in upstream directory. How can I make SageCell to work in backend of my website? I want to develop a math learning website where I would give questions by my own and when student answers the question, it should go to sage to check whether the answer is correct or wrong and then return it back to my website with a response.

Jonathan Kliem

unread,
Jun 19, 2019, 12:39:45 AM6/19/19
to sage-devel
Just to make sure: Did you try pressing enter once you got stuck?

It happens to me as well that I stop at this exact point (installing some optional package), but pressing enter will make it resume.

Parth Dubal

unread,
Jun 19, 2019, 9:44:59 AM6/19/19
to sage-devel
No. I didn't press anything. Tbh I didn't even know when did the installation went through that part because I was busy in other work. Once I changed the OS and replaced the file it worked out pretty well. I am still not sure whether it worked because I changed the OS or replaced the file. On which package did you encounter this problem? Did you solve it by pressing enter?

Jonathan Kliem

unread,
Jun 19, 2019, 10:05:28 AM6/19/19
to sage-devel
The installation stopped, just like in your case. Once I pressed enter it resumed. This has always solved it for me and thus I never gave it much thought.

I think it happened during the install of polymake, but might have been normaliz (or pynormaliz) as well. Not sure but I have encountered it a few times already.

Parth Dubal

unread,
Jun 19, 2019, 10:09:10 AM6/19/19
to sage-devel
I tried hitting enter many times but it didn't work so I had to take a long step. Anyways, now this thing is solved I want to know how should I make sage to work as back-end in my website to do all computations and later check the answer. I am trying to build a website where students can learn math. We will be handing out assignments. We want to develop in such a way that system will create own sets of problems and will be published to students. Once they answer, we want to cross check with sage and return whether it was right or wrong. Any ideas on this?

Dima Pasechnik

unread,
Jun 19, 2019, 10:23:24 AM6/19/19
to sage-devel
installation of experimental packages does require the user to press Enter to confirm that they know the dangers.

otherwise it should not be necessary.


On Wed, 19 Jun 2019 15:05 'Jonathan Kliem' via sage-devel, <sage-...@googlegroups.com> wrote:
The installation stopped, just like in your case. Once I pressed enter it resumed. This has always solved it for me and thus I never gave it much thought.

I think it happened during the install of polymake, but might have been normaliz (or pynormaliz) as well. Not sure but I have encountered it a few times already.

--
You received this message because you are subscribed to the Google Groups "sage-devel" group.
To unsubscribe from this group and stop receiving emails from it, send an email to sage-devel+...@googlegroups.com.

To post to this group, send email to sage-...@googlegroups.com.
Visit this group at https://groups.google.com/group/sage-devel.

Jonathan Kliem

unread,
Jun 19, 2019, 11:05:45 AM6/19/19
to sage-devel
The installation stopped after download in my case and pressing enter solved the problem. This was not the confirmation for experimental packages (where the terminal tells you to do something). It looked pretty much like the above screen shots.

I figured it's a bug, but as I said, never gave it any thought, as it didn't bother me.

Dima Pasechnik

unread,
Jun 19, 2019, 11:17:27 AM6/19/19
to sage-devel
 in a scenario where an experimental package is upgraded during a rebuild, it is not always the case that you see the corresponding prompt, as you typically build in parallel, and messages from a number of threads are being printed in a semirandom order.

On Wed, 19 Jun 2019 16:05 'Jonathan Kliem' via sage-devel, <sage-...@googlegroups.com> wrote:
The installation stopped after download in my case and pressing enter solved the problem. This was not the confirmation for experimental packages (where the terminal tells you to do something). It looked pretty much like the above screen shots.

I figured it's a bug, but as I said, never gave it any thought, as it didn't bother me.

--
You received this message because you are subscribed to the Google Groups "sage-devel" group.
To unsubscribe from this group and stop receiving emails from it, send an email to sage-devel+...@googlegroups.com.
To post to this group, send email to sage-...@googlegroups.com.
Visit this group at https://groups.google.com/group/sage-devel.

Jonathan Kliem

unread,
Jun 19, 2019, 1:52:43 PM6/19/19
to sage-devel
You're right. I just ran `./sage -i polymake` and indeed the warning message is somewhere way up before installing requirements (bliss, ninja, lrslib-062+autotools-2017-03-03.p0).

I don't like it, but this explains the behavior.

Am Mittwoch, 19. Juni 2019 17:17:27 UTC+2 schrieb Dima Pasechnik:
 in a scenario where an experimental package is upgraded during a rebuild, it is not always the case that you see the corresponding prompt, as you typically build in parallel, and messages from a number of threads are being printed in a semirandom order.

On Wed, 19 Jun 2019 16:05 'Jonathan Kliem' via sage-devel, <sage-...@googlegroups.com> wrote:
The installation stopped after download in my case and pressing enter solved the problem. This was not the confirmation for experimental packages (where the terminal tells you to do something). It looked pretty much like the above screen shots.

I figured it's a bug, but as I said, never gave it any thought, as it didn't bother me.

--
You received this message because you are subscribed to the Google Groups "sage-devel" group.
To unsubscribe from this group and stop receiving emails from it, send an email to sage-...@googlegroups.com.
Reply all
Reply to author
Forward
0 new messages