PDA

View Full Version : Could not install SML using apt-get



nanaban
February 22nd, 2005, 06:18 AM
apt-get install smlnj

The following packages have unmet dependencies:
smlnj: Depends: smlnj-runtime (>= 110.42-3) but it is not installable
E: Broken packages

apt-get install sml-nj

The following packages have unmet dependencies:
sml-nj: Depends: smlnj but it is not going to be installed
E: Broken packages

kassetra
February 22nd, 2005, 07:26 AM
apt-get install smlnj

The following packages have unmet dependencies:
smlnj: Depends: smlnj-runtime (>= 110.42-3) but it is not installable
E: Broken packages

apt-get install sml-nj

The following packages have unmet dependencies:
sml-nj: Depends: smlnj but it is not going to be installed
E: Broken packages

You probably need to add some repositories to your sources.list file in order to meet those dependencies.

See here (http://ubuntuguide.org/).

Vesperan
February 22nd, 2005, 09:14 AM
Nanaban,
I made a big post saying how I had your exact same problem (save different files), and that I had already updated my sources.list file as according to the Ubuntu Guide.

Then I checked my own sources.list file, and found I hadn't uncommented two of the repositories - now everything works fine. So, moral is: double check sources.list!

nanaban
February 22nd, 2005, 07:49 PM
I update everyday and I think I have all the repositories added (12 in total?).

Would be helpful if someone can confirm this by actually trying it.

Or, is there a particular reason why smlnj-runtime is not in the repository?

wrwills
May 16th, 2005, 05:07 AM
Hello,

I've had the same problem. I have the following two lines in my sources.list
deb http://uk.archive.ubuntu.com/ubuntu hoary universe

which should mean that I would get
http://uk.archive.ubuntu.com/ubuntu/pool/universe/s/smlnj-runtime/

but smlnj-runtime doesn't show up in Synaptic.

The problem seems to be that smlnj-runtime doesn't show up in
http://uk.archive.ubuntu.com/ubuntu/dists/hoary/universe/binary-i386/Packages.bz2

-Rob