The Sage 5.4 installation on Ubuntu 12.04 LTS using Update Manager fails with the following messages:
installArchives() failed: (Reading database ... (Reading database ... 5%% (Reading database ... 10%% (Reading database ... 15%% (Reading database ... 20%% (Reading database ... 25%% (Reading database ... 30%% (Reading database ... 35%% (Reading database ... 40%% (Reading database ... 45%% (Reading database ... 50%% (Reading database ... 55%% (Reading database ... 60%% (Reading database ... 65%% (Reading database ... 70%% (Reading database ... 75%% (Reading database ... 80%% (Reading database ... 85%% (Reading database ... 90%% (Reading database ... 95%% (Reading database ... 100%% (Reading database ... 717630 files and directories currently installed.) Preparing to replace libav-tools 4:0.8.3-0ubuntu0.12.04.1 (using .../libav-tools_4%%3a0.8.4-0ubuntu0.12.04.1_i386.deb) ... Unpacking replacement libav-tools ... Preparing to replace libpostproc52 4:0.8.3-0ubuntu0.12.04.1 (using .../libpostproc52_4%%3a0.8.4-0ubuntu0.12.04.1_i386.deb) ... Unpacking replacement libpostproc52 ... Preparing to replace libavfilter2 4:0.8.3-0ubuntu0.12.04.1 (using .../libavfilter2_4%%3a0.8.4-0ubuntu0.12.04.1_i386.deb) ... Unpacking replacement libavfilter2 ... Preparing to replace libswscale2 4:0.8.3-0ubuntu0.12.04.1 (using .../libswscale2_4%%3a0.8.4-0ubuntu0.12.04.1_i386.deb) ... Unpacking replacement libswscale2 ... Preparing to replace libavdevice53 4:0.8.3-0ubuntu0.12.04.1 (using .../libavdevice53_4%%3a0.8.4-0ubuntu0.12.04.1_i386.deb) ... Unpacking replacement libavdevice53 ... Preparing to replace libavformat53 4:0.8.3-0ubuntu0.12.04.1 (using .../libavformat53_4%%3a0.8.4-0ubuntu0.12.04.1_i386.deb) ... Unpacking replacement libavformat53 ... Preparing to replace libavcodec53 4:0.8.3-0ubuntu0.12.04.1 (using .../libavcodec53_4%%3a0.8.4-0ubuntu0.12.04.1_i386.deb) ... Unpacking replacement libavcodec53 ... Preparing to replace libavutil51 4:0.8.3-0ubuntu0.12.04.1 (using .../libavutil51_4%%3a0.8.4-0ubuntu0.12.04.1_i386.deb) ... Unpacking replacement libavutil51 ... Preparing to replace libproxy1-plugin-networkmanager 0.4.7-0ubuntu4 (using .../libproxy1-plugin-networkmanager_0.4.7-0ubuntu4.1_i386.deb) ... Unpacking replacement libproxy1-plugin-networkmanager ... Preparing to replace libproxy1-plugin-gsettings 0.4.7-0ubuntu4 (using .../libproxy1-plugin-gsettings_0.4.7-0ubuntu4.1_i386.deb) ... Unpacking replacement libproxy1-plugin-gsettings ... Preparing to replace libproxy1 0.4.7-0ubuntu4 (using .../libproxy1_0.4.7-0ubuntu4.1_i386.deb) ... Unpacking replacement libproxy1 ... Preparing to replace ffmpeg 4:0.8.3-0ubuntu0.12.04.1 (using .../ffmpeg_4%%3a0.8.4-0ubuntu0.12.04.1_all.deb) ... Unpacking replacement ffmpeg ... Preparing to replace sagemath-upstream-binary 5.1 (using .../sagemath-upstream-binary_5.4_i386.deb) ... Unpacking replacement sagemath-upstream-binary ... Preparing to replace python-libproxy 0.4.7-0ubuntu4 (using .../python-libproxy_0.4.7-0ubuntu4.1_all.deb) ... Unpacking replacement python-libproxy ... Processing triggers for man-db ... Processing triggers for bamfdaemon ... Rebuilding /usr/share/applications/bamf.index... Processing triggers for desktop-file-utils ... Processing triggers for gnome-menus ... Setting up libavutil51 (4:0.8.4-0ubuntu0.12.04.1) ... Setting up libavcodec53 (4:0.8.4-0ubuntu0.12.04.1) ... Setting up libavformat53 (4:0.8.4-0ubuntu0.12.04.1) ... Setting up libavdevice53 (4:0.8.4-0ubuntu0.12.04.1) ... Setting up libswscale2 (4:0.8.4-0ubuntu0.12.04.1) ... Setting up libavfilter2 (4:0.8.4-0ubuntu0.12.04.1) ... Setting up libpostproc52 (4:0.8.4-0ubuntu0.12.04.1) ... Setting up libav-tools (4:0.8.4-0ubuntu0.12.04.1) ... Setting up libproxy1 (0.4.7-0ubuntu4.1) ... Setting up libproxy1-plugin-networkmanager (0.4.7-0ubuntu4.1) ... Setting up libproxy1-plugin-gsettings (0.4.7-0ubuntu4.1) ... Setting up ffmpeg (4:0.8.4-0ubuntu0.12.04.1) ... Setting up sagemath-upstream-binary (5.4) ... Removing previous path, rm -rf /usr/lib/sage (new path /usr/lib/sagemath) Running Sage once as root to set paths Error: environment variable $HOME is not set. Error setting environment variables by sourcing '/usr/lib/sagemath/spkg/bin/sage-env'; possibly contact sage-devel (see http://groups.google.com/group/sage-devel). dpkg: error processing sagemath-upstream-binary (--configure): subprocess installed post-installation script returned error exit status 1 No apport report written because MaxReports is reached already Setting up python-libproxy (0.4.7-0ubuntu4.1) ... Processing triggers for libc-bin ... ldconfig deferred processing now taking place Errors were encountered while processing: sagemath-upstream-binary Error in function: SystemError: E:Sub-process /usr/bin/dpkg returned an error code (1) Setting up sagemath-upstream-binary (5.4) ... Removing previous path, rm -rf /usr/lib/sage (new path /usr/lib/sagemath) Running Sage once as root to set paths Error: environment variable $HOME is not set. Error setting environment variables by sourcing '/usr/lib/sagemath/spkg/bin/sage-env'; possibly contact sage-devel (see http://groups.google.com/group/sage-devel). dpkg: error processing sagemath-upstream-binary (--configure): subprocess installed post-installation script returned error exit status 1 Is there a work around or fix for this problem? -- You received this message because you are subscribed to the Google Groups "sage-support" group. To post to this group, send email to sage-support@googlegroups.com. To unsubscribe from this group, send email to sage-support+unsubscr...@googlegroups.com. Visit this group at http://groups.google.com/group/sage-support?hl=en.