Please help to install Rabbit MQ Server on ubuntu xenial 16.04 LTS. When i tried to install unmet dependancies are failed error.
can’t install erlang-nox
Please help.
Please help to install Rabbit MQ Server on ubuntu xenial 16.04 LTS. When i tried to install unmet dependancies are failed error.
can’t install erlang-nox
Please help.
Hi, and welcome to the forum.
It may help others help you if you can post the full terminal output.
sorry, i cant upload the output image.
for new users it’s not allowing.
Feel free to post the terminal output. Its the better way anyway, as it is easily approachable on mobiles as well and does not eat up the users data plan.
Also please make sure to use mardown fenced code blocks to copy and paste your terminal output, eg:
```plain
E: The repository ‘http://packages.erlang-solutions.com/ubuntu 16.04.6 Release’ does not have a Release file.
```
And the repository line looks wrong.
It should say xenial
instead of 16.04.6
IIRC.
Whats the output of find /etc/apt/ -type f -path '*sources*' -exec grep -n erlang {} +
?
i can’t post the terminal output because the output contains more than 5 URL’s and new users can’t post.
Please share any alternate way to post or share your email id.
pgupta@blue:/etc/apt/sources.list.d$ find /etc/apt/ -type f -path ‘sources’ -exec grep -n erlang {} +
/etc/apt/sources.list:57:deb http://packages.erlang-solutions.com/ubuntu 16.04.6 LTS contrib
pgupta@blue:/etc/apt/sources.list.d$
AFAIK the limitation of URLs does not count for properly marked code blocks, also, there shouldn’t be more than a couple of lines…
Alternatively you can paste your code at gist.github.com or pastebin.com and link here. Moderators should be able to embed the code into your post then (if you want to).
/etc/apt/sources.list:57:deb http://packages.erlang-solutions.com/ubuntu 16.04.6 LTS contrib
This seems to be the fault.
Please edit your /etc/apt/sources.list
at line 57 to be like this:
deb http://packages.erlang-solutions.com/ubuntu xenial contrib
Where i need to change it?
can you please share the installation guide.
all the way down contains the instructions about how to add the erlang-solutions repository to your system.
But I’m not sure what you mean by “where do I need to change it?”. I’ve told exactly what to change and where:
Please edit your
/etc/apt/sources.list
at line 57 to be like this:deb http://packages.erlang-solutions.com/ubuntu xenial contrib
Thanks.
When i run install erlang command it gives an error dependencies failed:
pgupta@blue:/$ sudo apt install erlang
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.
erlang : Depends: erlang-diameter but it is not going to be installed
Depends: erlang-eldap but it is not going to be installed
Depends: erlang-ftp but it is not going to be installed
Depends: erlang-tftp but it is not going to be installed
Recommends: erlang-ic-java but it is not going to be installed
Recommends: erlang-src but it is not going to be installed
Recommends: erlang-examples but it is not going to be installed
E: Unable to correct problems, you have held broken packages.
Please us fenced codeblocks, that makes it much easier to read what you paste.
As far as I remember my ubuntu times, this is often (but not always) solvable by sudo apt install --force
, after that has run successfully you should be able to install erlang again.
pgupta@blue:/$ sudo apt install --force
E: Command line option --force is not understood in combination with the other options
Then I’m not sure how to fix it. Maybe someone else knows enough about apt
to help you fixing the issue.
Maybe not what you’re looking for but have you considered using docker? Its pretty straight forward and well documented.
What’s the output of apt show erlang
?
pgupta@blue:~/juice/bin$ apt show erlang
Package: erlang
Version: 1:21.3.6-1
Priority: optional
Section: interpreters
Maintainer: Debian Erlang Packagers <pkg-erlang-devel@lists.alioth.debian.org>
Installed-Size: 58.4 kB
Depends: erlang-base | erlang-base-hipe, erlang-dev, erlang-appmon, erlang-asn1, erlang-common-test, erlang-crypto, erlang-debugger, erlang-dialyzer, erlang-diameter, erlang-edoc, erlang-eldap, erlang-erl-docgen, erlang-et, erlang-eunit, erlang-ftp, erlang-gs, erlang-ic, erlang-inets, erlang-inviso, erlang-megaco, erlang-mnesia, erlang-observer, erlang-odbc, erlang-os-mon, erlang-parsetools, erlang-percept, erlang-pman, erlang-public-key, erlang-reltool, erlang-runtime-tools, erlang-snmp, erlang-ssh, erlang-ssl, erlang-syntax-tools, erlang-test-server, erlang-tftp, erlang-toolbar, erlang-tools, erlang-tv, erlang-typer, erlang-wx, erlang-xmerl
Recommends: erlang-jinterface, erlang-ic-java, erlang-mode, erlang-src, erlang-examples
Suggests: erlang-manpages, erlang-doc
Homepage: http://www.erlang.org/
Download-Size: 37.2 kB
APT-Sources: http://packages.erlang-solutions.com/ubuntu xenial/contrib amd64 Packages
Description: Concurrent, real-time, distributed functional language
Open Source Erlang is a functional programming language designed at the
Ericsson Computer Science Laboratory.
.
Some of Erlang main features are:
* Clear declarative syntax and is largely free from side-effects;
* Built-in support for real-time, concurrent and distributed programming;
* Designed for development of robust and continuously operated programs;
* Dynamic code replacement at runtime.
.
The Erlang distribution also includes OTP (Open Telecom Platform) which
provides a rich set of libraries and applications.
.
This package is a dummy package which will install Erlang/OTP runtime,
applications, sources, code examples and the Erlang editing mode for
Emacs.
N: There are 35 additional records. Please use the '-a' switch to see them.
pgupta@blue:~/juice/bin$
Thanks All.
It Worked but can't access as guest user and created new user as 'admin' and able to access.