opkg in beaglebone white A6 not updating - beagleboneblack

I am using beaglebone A6. I have istalled TI sdk prebuilt binaries and using Ti Arago Project filesystem.
I want to install ntp and gpsd packages for my application.
I am using opkg install ntp but it is showing error:
unknown package ntp.
opkg install cmd: Cannot install package ntp.
I also tried opkg update, but there was not any update.
I have tried pinging Google IP address and it was showing the ping address is available.
Please suggest for opkg and ntp issue.

Make sure /etc/opkg/base-feeds.conf (or /etc/opkg/arago-armv7a-feed.conf) points at the correct server (Updating Existing Images). And also make sure ntp package exist on the server. For example, there is no ntp package for 2009.11 release.
If you have package (ntp.v123.ipk) downloaded at beaglebone, you can install it with command:
opkg install ntp.v123.ipk
BTW. It is not so hard to rebuild Arago image from scratch. In that case you can build what ever package you want (Setting Up Build Environment).

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.

clickhouse-server install failed on CentOS6 with libbfd package error

I'm testing clickhouse. Finally I installed ClickHouse on my virtual machine. But I've got some problem to make it.
--> Finished Dependency Resolution
Error: Package: clickhouse-server-1.1.54236-4.el6.x86_64 (clickhouse)
Requires: libbfd-2.20.51.0.2-5.44.el6.so()(64bit)
But, I already have this "binutils-2.20.51.0.2-5.47". (More recent version)
[root#node01 ~]# rpm -qa | grep "binutils"
binutils-2.20.51.0.2-5.47.el6_9.1.x86_64
So, I removed binutils-2.20.51.0.2-5.47 and install binutils-2.20.51.0.2-5.44, it works well.
Is this common issue?
Thanks.
Chan.
The BFD libraries are only intended for internal use by binutils and related tools. There is no ABI stability even within the same release of CentOS (or Red Hat Enterprise Linux). This is why the library name can change from minor release to minor release, breaking RPM dependencies in this way.
You need to talk to whoever builds clickhouse. They need to bundle their own version of BFD if they truly need it, or use supported libraries such as libelf from elfutils if they need only a tiny subset.

How to install appium in elemantary os

I am new to appium. How can I install appium in elemantory os. I downloaded the appium from official site. A dmg file is downloaded. But dont know how to move further.
.dmg file is OS X package. You don`t need it.
According to this page on Appium`s official web site: http://appium.io/downloads.html
Appium Desktop app is available only on Windows and OS platforms.
On Linux you need to install it as Node package.
Appium won't run if node/npm are install as a privileged (sudo) user. So you`ll have to use another way to install them. You can use Linux version of Homebrew( https://github.com/Linuxbrew/linuxbrew ) or download node binaries ( https://nodejs.org/en/download/ ) and place them in your home folder.
You may add an environmental variable for appium. To do it open ~/.bashrc file and add this string to the end:
export PATH=$PATH:/bin
And then reread that file:
source ~/.bashrc
Install Appium:
npm install -g appium
Run appium:
appium&
Elementary OS is very similar to Ubuntu. You may found a lot of information how to install Appium on Ubuntu. For example check this link:
How to setup Appium in Ubuntu for android

Cannot install tokumx on osx: cannot execute binary file

I download from tokumx website newest version. When I start mongod I have an error,
bash: ./mongod: cannot execute binary file
Any solution.
The only version available directly from the website is for linux, you'll need to contact them to get an OSX build.
The TokuMX Community Edition downloads featured on the Tokutek site are currently 64-bit Linux only. The system requirements also note that only 64-bit Linux is officially supported.
However, for OS X users there is a Homebrew TAP package available if you want to install binaries for development purposes.
Assuming you have have Homebrew installed, you should be able to install the tokumx-bin package by running the following from your shell prompt:
brew tap tokutek/tokumx
brew install tokumx-bin
Notes:
the package install will fail unless you enter some text when prompted for an email address (though any text including the default "email address" seems to work)
the tokumx-bin package conflicts with the mongodb package as both use the same names for binaries
TokuMX binaries and data files are not interchangeable with MongoDB

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.

Resources