sagemath-upstream-binary 7.2: install fails because of size mismatch after download

69 views
Skip to first unread message

Giuseppe Scollo

unread,
May 27, 2016, 5:11:57 AM5/27/16
to sage-support
The command, issued after sudo apt-get update, and the subsequent events are copied below.
It seems to me that a 629 MB download is expected, whereas an actual 216 MB takes place, is this the cause of the problem? If so, how to fix it?
My system is an Ubuntu 14.04, I removed the previous sage installation (v. 7.1), so this was a fresh installation attempt. Thanks a lot, in advance.

$ sudo -E apt-get install --fix-missing sagemath-upstream-binary
Reading package lists... Done
Building dependency tree      
Reading state information... Done
The following extra packages will be installed:
  texlive
The following NEW packages will be installed:
  sagemath-upstream-binary texlive
0 upgraded, 2 newly installed, 0 to remove and 49 not upgraded.
Need to get 629 MB of archives.
After this operation, 3.794 MB of additional disk space will be used.
Do you want to continue? [Y/n] Y
Get:1 http://archive.ubuntu.com/ubuntu/ trusty/main texlive all 2013.20140215-1 [14,2 kB]
Get:2 http://ppa.launchpad.net/aims/sagemath/ubuntu/ trusty/main sagemath-upstream-binary amd64 7.2~aimsppa1 [629 MB]
Fetched 216 MB in 4min 30s (798 kB/s)                                         
Selecting previously unselected package texlive.
(Reading database ... 1373076 files and directories currently installed.)
Preparing to unpack .../texlive_2013.20140215-1_all.deb ...
Unpacking texlive (2013.20140215-1) ...
E: Failed to fetch http://ppa.launchpad.net/aims/sagemath/ubuntu/pool/main/s/sagemath-upstream-binary/sagemath-upstream-binary_7.2~aimsppa1_amd64.deb  Size mismatch


Jan Groenewald

unread,
May 27, 2016, 5:42:37 AM5/27/16
to sage-support
Hi

Thanks for reporting. I am also getting this from the stable PPA, and will investigate. I first thought it was our local cache hosting a corrupted copy. It is already getting a 600M copy:


root@ppacache01:/var/www/html# find aims-sagemath* -name *deb -exec ls -sh '{}' \;                   
207M aims-sagemath/pool/main/s/sagemath-upstream-binary/sagemath-upstream-binary_7.2~aimsppa1_amd64.deb
559M aims-sagemath/pool/main/s/sagemath-upstream-binary/sagemath-upstream-binary_7.2~aimsppa1_i386.deb
182M aims-sagemath/pool/main/s/sagemath-upstream-binary/sagemath-upstream-binary-full_7.2~aimsppa1_amd64.deb
179M aims-sagemath/pool/main/s/sagemath-upstream-binary/sagemath-upstream-binary-full_7.2~aimsppa1_i386.deb
601M aims-sagemath-dev/pool/main/s/sagemath-upstream-binary/sagemath-upstream-binary_7.2~aimsppa1_amd64.deb
559M aims-sagemath-dev/pool/main/s/sagemath-upstream-binary/sagemath-upstream-binary_7.2~aimsppa1_i386.deb
182M aims-sagemath-dev/pool/main/s/sagemath-upstream-binary/sagemath-upstream-binary-full_7.2~aimsppa1_amd64.deb
179M aims-sagemath-dev/pool/main/s/sagemath-upstream-binary/sagemath-upstream-binary-full_7.2~aimsppa1_i386.deb
root@ppacache01:/var/www/html# bash debmirror.sh
...
Files to download: 600 MiB
[  0%] Getting: pool/main/s/sagemath-upstream-binary/sagemath-upstream-binary_7.2~aimsppa1_amd64.deb...          #** GET http://haetae.canonical.com/aims/sagemath/ubuntu/pool/main/s/sagemath-upstream-binary/sagemath-upstream-binary_7.2~aimsppa1_amd64.deb ==>   23%


and firefox thinks that is 600M in size, and the download has surpassed 207M.

The deb package was copied (using a launchpad feature) from the development PPA at ppa:aims/sagemath-dev, so a workaround might be to briefly use the dev PPA if your need is urgent. Note that the files are listed as the same size:
https://launchpad.net/~aims/+archive/ubuntu/sagemath-dev/+packages
https://launchpad.net/~aims/+archive/ubuntu/sagemath/+packages

However, I will retry a copy, if launchpad allows, else I will have to delete first.

Regards,
Jan


--
  .~.
  /V\     Jan Groenewald
 /( )\    www.aims.ac.za
 ^^-^^ 

Jan Groenewald

unread,
May 27, 2016, 8:02:57 AM5/27/16
to sage-support
Hi

This is a strange one. debmirror repeatedly cached a bad 200M copy. Firefox downloaded the correct 600M copy and I could scp it into the cache and now the campus laptops can update again.

I am going to delete the package on launchpad, wait 1 hour, confirm it is gone, and copy it in again. Would be great if you could test in 2 hours and let me know.

Regards,
Jan

Jan Groenewald

unread,
May 27, 2016, 8:14:46 AM5/27/16
to sage-support
Hi

Launchpad administrator tells me there was an issue last week like this which affected rare files (only 3 they know of). But that I would have to delete, wait at least 6 hours, and then copy back. I am deleting all 7.2 now.

Regards,
Jan

Jan Groenewald

unread,
May 28, 2016, 4:49:19 AM5/28/16
to sage-support
Hi

On 27 May 2016 at 14:14, Jan Groenewald <j...@aims.ac.za> wrote:
Launchpad administrator tells me there was an issue last week like this which affected rare files (only 3 they know of). But that I would have to delete, wait at least 6 hours, and then copy back. I am deleting all 7.2 now.

I have copied back 7.2 to Trusty, Wily, Vivid, and Xenial in the PPA. Please test and let me know.

Regards,
Jan
 

Henri Girard

unread,
May 28, 2016, 5:11:28 AM5/28/16
to sage-s...@googlegroups.com
When will you add yakety ?
I use it but I can put xenial repos
Regards
Henri
--
You received this message because you are subscribed to the Google Groups "sage-support" group.
To unsubscribe from this group and stop receiving emails from it, send an email to sage-support...@googlegroups.com.
To post to this group, send email to sage-s...@googlegroups.com.
Visit this group at https://groups.google.com/group/sage-support.
For more options, visit https://groups.google.com/d/optout.

Jan Groenewald

unread,
May 28, 2016, 5:29:32 AM5/28/16
to sage-support
Hi

On 28 May 2016 at 11:11, Henri Girard <henri....@gmail.com> wrote:
When will you add yakety ?
I use it but I can put xenial repos
Regards

I have just requested a copy on launchpad. Should be ready in an hour.

Note the difference though: http://files.sagemath.org/linux/64bit/index.html has binaries from the sage buildfarm built on 14.04, 14.04, 14.10, 16.04 with the toolchain from that release. Yakkety is not yet included.

Only 14.04 is rebuilt into a PPA, and on launchpad the 14.04 binary/deb is copied forward to 15.04, 15.10, 16.04 (and now 16.10). So far no problems, but if you run into problems you may want to download and unpack the 16.04 binary which is much closer to the toolchain version of 16.10 than the 14.04 binary.

Henri Girard

unread,
May 28, 2016, 8:27:44 AM5/28/16
to sage-s...@googlegroups.com
thanks...
Which is better for me : sagemanifolds works fine after compilation.
I am on version Xenial but as soon as I can get the 16.10 version I will try it.
Anyway I can downgrade to 16.04
Best regards

Henri

Le 28/05/2016 11:29, Jan Groenewald a écrit :
Reply all
Reply to author
Forward
0 new messages