Erlang and epmd installation from binary has circular dependency - erlang

Pardon my English.
I am trying to install Erlang 23 on a SUSE Linux Enterprise Server Version 12 Patch 3 which is not connected to Internet so I cannot use zypper or wget and have to install it manually using binary.
I get the below errors :
erlang-epmd is needed by erlang-23.0.2-1.2.x86_64 when installing erlang.
erlang = 23.0.2 is needed by erlang-epmd-23.0.2-1.2.x86_64 when installing erlang-empd.
How to resolve this circular dependency?

You can install codependent RPMs by putting them together in the same command, e.g.:
rpm -iv erlang-23.0.2-1.2.x86_64.rpm erlang-epmd-23.0.2-1.2.x86_64.rpm

Related

How to setup ROS environment variable on Ubuntu 20.04?

I tried following this guide to install ROS, but even after adding ROS source.list and its key
sudo apt install ros-melodic-desktop-full
gave error.
E: Unable to locate package ros-melodic-desktop-full
Then I ran this command
sudo apt search ros
to see if any such package exists. I couldn't find ros-melodic-desktop-full but I found another similar package ros-desktop-full.
So I installed it instead. The installation went smooth without giving any errors.
Next step in the guide is to set-up ROS environment variable, but I have no such directory
/opt/ros
So how do I setup the environment variable?
P.S.
I also installed some tools and dependencies with this command
sudo apt install python3-rosdep python3-rosinstall python3-rosinstall-generator python3-wstool build-essential
and initialized rosdep
sudo rosdep init
rosdep update
The ros-desktop-full package you installed is part of the official Ubuntu release.
ROS Melodic (and in the future, Noetic) is published by the OSRF in a separate repository (packages.ros.org). These packages install to /opt/ros/. However, some ROS packages have also been ported to Debian, which is how they found their way to Ubuntu (which derives from Debian).
The Debian packages are fully functional, but they do not install to /opt/ros. Instead, everything is integrated in the operating system itself. This means that you need to set up your personal workspace slightly differently.
Given that most tutorials assume that you use the OSRF packages, I suggest you either wait for the Noetic release (scheduled for the end of May 2020), then install ros-noetic-desktop-full, or downgrade to Ubuntu 18.04 LTS to use ROS Melodic.
From the documentation here, melodic is only supported on Ubuntu 18.04. The ROS version targeting Focal (20.04) is Noetic, but that one has not been released yet (see Distributions). I'm not sure what ROS version Ubuntu packages (the ros-desktop-full one you installed), but I was not successful in using it.
If you really do want to use Ubuntu 20.04, then I think your best option currently is to compile from source. Last time I checked the precompiled debs for Noetic are not yet available at http://packages.ros.org/ros/ubuntu (you can track release progress at github issue 21513). No idea if compiling Noetic from source is easy or hard, but I was able to compile ROS2 foxy from source without too much trouble though.

DataStax Enterprise 4.5 on RHEL / CentOS 7 won't fully install cqlsh

When trying to install DataStax Enterprise from the yum repository, cqlsh won't actually install because it depends on python 2.6 while RHEL/CentOS now ships with python 2.7 and removed 2.6.
It seems it should also be able to accept python 2.7, as far as I know, it is compatible. I just used the CentOS 7 system python 2.7 to install pip and then pip install cqlsh and it all seems to be good.
Hm... yes, that's tricky. The target path for site files is in the package, so one would need different packages for different versions of python (I believe). I filed a ticket, we will look into this.

Grails on Ubuntu 12.10

I am installing Grails on Ubuntu 12.10, using the instructions here, but an getting an error on the 3rd step, as outlines below.
sudo add-apt-repository ppa:groovy-dev/grails
sudo apt-get update
sudo apt-get install grails-ppa
The error I get is shown below. I have the Sun JDK installed, and JAVA_HOME is set, and JAVA_HOME/bin is on the path.
Can someone suggest things to try to resolve this?
/home/edgecase> $ sudo apt-get install grails-ppa
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:
default-jre-headless:i386 : Depends: openjdk-7-jre-headless:i386 (>= 7~u3-2.1) but it is not going to be installed
openjdk-7-jre:i386 : Depends: openjdk-7-jre-headless:i386 (= 7u7-2.3.2a-1ubuntu1) but it is not going to be installed
E: Error, pkgProblemResolver::Resolve generated breaks, this may be caused by held packages.
/home/edgecase> $ java -version
java version "1.6.0_39"
Java(TM) SE Runtime Environment (build 1.6.0_39-b04)
Java HotSpot(TM) 64-Bit Server VM (build 20.14-b01, mixed mode)
We need to remove those instructions from the site since the PPA isn't being maintained. Use http://gvmtool.net/ instead.
YES please remove the PPA instructions with GVM, I wasted a lot of time before I found this

Install "Yum install httpd-devel" in a offline system

I'm trying to install "Yum install httpd-devel" in my system (RedHat/Fedora) but the system have no internet conection. I can download files from the internet and copy to the system, but I cant use internet on the system. I'm trying to install rails and i need " httpd-devel", " apr-devel" and "apr-util-devel".
For exemple, when i needed to use "gem install rails" I downloaded rails.gem and I used this file to install, there is a similar solution to my new problem? Thanks in advance
You can just download the package and then install it using rpm.
$ rpm -i [package-file]
Keep in mind that any package may require some extra dependencies, and you would need to download them all and install them by hand. It may get boring for packages with many dependencies.
To find the packages rpmfind is your friend: find the adequate package for your operating system (Fedora, Red Hat or whatever), download and check the dependencies. For example, package for Fedora 18 x86_64: you will need apr-devel and a few others. rpm will let you know if you are missing dependencies. Short of installing your own yum repository, you will have to download all dependencies by hand.

Passenger/nginx installation on AIX 5.3

Encounter a peculiar issue while trying to install nginx module through phusion passenger's auto installer. Command is:
passenger-install-nginx-module
Well, this installer tries to run Tar with 'z' flag, which is not supported by AIX 5.3. Is there a lib/package that can upgrade AIX capability to do so? I'm sure there is no way to update the installer to run two separate commands on AIX to unzip the package..
Thanks
Install GNU tar on AIX from http://www-03.ibm.com/systems/power/software/aix/linux/toolbox/alpha.html - but you'll need to somehow point to the /opt/freeware/bin/tar version.

Resources