ubuntu 9.1 installation trouble

29 views
Skip to first unread message

kitz

unread,
Jan 31, 2010, 12:29:42 PM1/31/10
to sage-support
Hello,

The old ubuntu apt-get packages are broken (I would help if I knew
how...if I can donate time am happy to do so, but would need
instruction as will be evident from my problem.)

The gfortran packages are also broken on Ubuntu repositories.

Downloaded sage-4.3.1-linux-Ubuntu_9.10-x86_64-Linux.tar.lzma from JMU-
VA. Checked md5sum. Unpacked to home folder. Renamed to sage. From
terminal ./sage gives error:

kitz@bart:~/sage$ ./sage
----------------------------------------------------------------------
| Sage Version 4.3.1, Release Date: 2010-01-20 |
| Type notebook() for the GUI, and license() for information. |
----------------------------------------------------------------------
/home/kitz/sage/local/bin/python: 1: Syntax error: word unexpected
(expecting ")")
kitz@bart:~/sage$

So I can not run Sage at all. Thanks for any guidance.

kitz

Message has been deleted

William Stein

unread,
Jan 31, 2010, 3:40:51 PM1/31/10
to sage-s...@googlegroups.com
On 1/31/10, kitz <kmph...@gmail.com> wrote:
> Hello,
>
> The old ubuntu apt-get packages are broken (I would help if I knew
> how...if I can donate time am happy to do so, but would need
> instruction as will be evident from my problem.)
>
> The gfortran packages are also broken on Ubuntu repositories.
>

apt-get install gfortran

Works fine for me on all my (many!) ubuntu 9.10 installs.


> Downloaded sage-4.3.1-linux-Ubuntu_9.10-x86_64-Linux.tar.lzma from JMU-
> VA. Checked md5sum. Unpacked to home folder. Renamed to sage. From
> terminal ./sage gives error:
>
> kitz@bart:~/sage$ ./sage
> ----------------------------------------------------------------------
> | Sage Version 4.3.1, Release Date: 2010-01-20 |
> | Type notebook() for the GUI, and license() for information. |
> ----------------------------------------------------------------------
> /home/kitz/sage/local/bin/python: 1: Syntax error: word unexpected
> (expecting ")")
> kitz@bart:~/sage$
>
> So I can not run Sage at all. Thanks for any guidance.
>
> kitz
>

> --
> To post to this group, send email to sage-s...@googlegroups.com
> To unsubscribe from this group, send email to
> sage-support...@googlegroups.com
> For more options, visit this group at
> http://groups.google.com/group/sage-support
> URL: http://www.sagemath.org
>


--
William Stein
Associate Professor of Mathematics
University of Washington
http://wstein.org

Harald Schilly

unread,
Jan 31, 2010, 5:13:49 PM1/31/10
to sage-support
On Jan 31, 9:40 pm, William Stein <wst...@gmail.com> wrote:
> apt-get install gfortran
>
> Works fine for me on all my (many!) ubuntu 9.10 installs.
>

it would, but he set some packages on hold so that they do not
upgrade. the point is that gfortran wants a newer gcc-base (*-ubuntu8
vs. *-ubuntu9). so, he needs to figure out which older gfortran
package to select that meets the older dependencies. i guess gfortran
would install then ...

h

kitz

unread,
Jan 31, 2010, 5:37:40 PM1/31/10
to sage-support
Thank you William (Dr. Stein?)

I seem to have a particular snag here. Not sure why.

kitz@bart:~$ sudo apt-get install gfortran
[sudo] password for kitz:
Reading package lists... Done
Building dependency tree
Reading state information... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:

The following packages have unmet dependencies:
gfortran: Depends: gfortran-4.4 (>= 4.4.1-1) but it is not going to
be installed
E: Broken packages
kitz@bart:~$

When I try to install gfortran-4.4 I get another Broken packages
result.

The following packages have unmet dependencies:
gfortran-4.4: Depends: gcc-4.4-base (= 4.4.1-4ubuntu8) but
4.4.1-4ubuntu9 is to be installed
Depends: gcc-4.4 (= 4.4.1-4ubuntu8) but 4.4.1-4ubuntu9
is to be installed
Depends: libgfortran3 (>= 4.4.1-4ubuntu8) but it is
not going to be installed
E: Broken packages

So it seems I am in a loop.

Glad to know it works for your systems...I would like to have installs
predictable (easy) for teaching purposes.

--kitz


On Jan 31, 3:40 pm, William Stein <wst...@gmail.com> wrote:

kitz

unread,
Feb 1, 2010, 2:35:05 PM2/1/10
to sage-support
Thanks to all who helped yesterday, M&S in particular.
Using sudo aptitude install build-essential (instead of apt-get or
synaptic manager) downgraded the gcc and libraries to 4.4.1-4ubuntu8
so the dependencies all worked. Then gfortran came in without a hitch
and Sage is running from a pre-compiled binary.

Thank you all again. Sage on.
(Is there a way to mark this thread as solved?)
--kitz

Reply all
Reply to author
Forward
Message has been deleted
0 new messages