Failed to fetch cleishm/neo4j/ubuntu/dists/trusty/main/binary-amd64/Packages - windows

I am using Win10 Linux substyem which is
Description: Ubuntu 14.04.5 LTS
Release: 14.04
Codename: trusty
Then I tried to follow the libneo4j-client-dev installation guide for ubuntu
$ sudo add-apt-repository ppa:cleishm/neo4j
$ sudo apt-get update
$ sudo apt-get install neo4j-client libneo4j-client-dev
when executing the 'apt-get update', I found:
....
Err http://ppa.launchpad.net trusty/main amd64 Packages
404 Not Found
....
W: Failed to fetch http://ppa.launchpad.net/cleishm/neo4j/ubuntu/dists/trusty/main/binary-amd64/Packages 404 Not Found
E: Some index files failed to download. They have been ignored, or old ones used instead.
I once guessed it might be my system's fault, but after removing this ppa repository, this missing packages come back to appear again.
Has anyone seen the same problem and solved?
Thanks for your attention in advance.
EDIT: More information
The ppa information related is
/etc/apt/sources.list.d/cleishm-neo4j-trusty.list:deb http://ppa.launchpad.net/cleishm/neo4j/ubuntu trusty main
For comparison, the related ppa information on my ubuntu-virtualBox which libneo4j-client-dev is successfully installed is
/etc/apt/sources.list.d/cleishm-ubuntu-neo4j-xenial.list:deb http://ppa.launchpad.net/cleishm/neo4j/ubuntu xenial main

Launchpad was only publishing artifacts for the Xenial distribution. I've copied the packages to the Trusty distribution as well, so it might work now. Otherwise, I suggest upgrading to Xenial.

Related

'E: Unable to locate package chromium-chromedriver' on rpi

I can't install chromium-chromedriver on my raspberry pi 4.
$ sudo apt-get install chromium-chromedriver
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
E: Unable to locate package chromium-chromedriver
$ cat sources.list
deb http://http.kali.org/kali kali-rolling main contrib non-free
# Additional line for source packages
deb http://security.debian.org/debian-security stretch/updates main
$ apt-get search chromedriver
E: Invalid operation search
$ apt search chromedriver
Sorting... Done
Full Text Search... Done
chromedriver/oldoldstable 72.0.3626.122-1~deb9u1 armhf
web browser - WebDriver support transitional package
ruby-chromedriver-helper/kali-rolling 2.1.0-7 all
Easy installation and use of chromedriver
Thank you in advance
Kali rolling is based on the latest stable version of Debian, which is currently Debian 11. The version of chromium-chromedriver that is compatible with Kali rolling is available from the default software repositories of Ubuntu 21.10 which is also based on Debian 11. To install chromium-chromedriver in Kali Linux open the terminal and type:
sudo apt update
wget http://mirrors.kernel.org/ubuntu/pool/universe/c/chromium-browser/chromium-chromedriver_85.0.4183.83-0ubuntu2_amd64.deb
sudo apt install ./chromium-chromedriver_85.0.4183.83-0ubuntu2_amd64.deb

How do I install lubicu66 on Ubuntu 20.04?

I am trying to install Ezra-project on Ubuntu 20.04. When I run the install it fails and says:
dpkg: dependency problems prevent configuration of ezra-project:
ezra-project depends on libicu66; however:
Package libicu66 is not installed.
I tried installing libicu66 with
sudo apt install libicu66
But it says
Package libicu66 is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source
E: Package 'libicu66' has no installation candidate
Is libicu66 available for Ubuntu 20.04? If so, please could someone direct me to where to download it from?
I faced same problem when i tried to install couchdb.
The solution i found was installing it manually.
Go to https://www.ubuntuupdates.org/package/core/focal/main/base/libicu66 and download the proper version for your CPU architecture.
It could be done with wget http://security.ubuntu.com/ubuntu/pool/main/i/icu/libicu66_66.1-2ubuntu2_[YOUR_CPU_ARCHITECTURE].deb
Then in the same folder use sudo apt update && sudo dpkg -i libicu66_66.1-2ubuntu2_[YOUR_CPU_ARCHITECTURE].deb

Unable to install latest ejabberd and Erlang version Ubuntu 14.04 LTS

Currently I have Erlang version 5.10.4 and OTP "R16B03".
Now I have to update Erlang from version 6.1 and OTP greater than 17.1 in Ubuntu 14.04 LTS (64 bit) in order to install the latest version of ejabberd (16.02).
For this I have tried instructions at this URL: http://erlang.org/doc/installation_guide/INSTALL.html
but when I am hitting the make command an error is coming:-
Makefile:247: /home/Hemant/otp_src_18.2/make/i686-pc-linux-gnu/otp_ded.mk: No such file or directory
make: *** No rule to make target `/home/Hemant/otp_src_18.2/make/i686-pc-linux-gnu/otp_ded.mk'. Stop.
I tried another way:
$ sudo apt-get install erlang
But I am getting the same version (Erlang 5.10) while I have updated the apt-get.
Now how can I get the latest version of Erlang?
When installing erlang do the following from this link:
wget http://packages.erlang-solutions.com/erlang-solutions_1.0_all.deb
sudo dpkg -i erlang-solutions_1.0_all.deb
Now the repository is added simply install esl-erlang with:
sudo apt-get update
sudo apt-get install esl-erlang
Installing ejabberd follow Mickaël's blog post:
git clone git#github.com:processone/ejabberd.git
cd ejabberd
chmod +x autogen.sh
./autogen.sh
./configure
sudo make && make install
Now I do remember getting quite a few compiler errors and all the errors were due to packages not being installed on my system. So when you receive an error from say libexpat then install the package sudo apt-get install libexpat1 and so on for all the following errors.
Good luck!
As your question is more on ejabberd than Erlang itself, you can download ejabberd prepackaged with its own Erlang version from ProcessOne site: https://www.process-one.net/en/ejabberd/downloads
If you want to learn about alternative ways to install ejabberd, you can follow the official documentation: https://docs.ejabberd.im/admin/guide/installation/
You can for example see at bottom of the page instructions to build ejabberd from source if you prefer.
I am trying to check the file in your error but I don't see it in the sources: https://github.com/erlang/otp/tree/OTP-18.2.4/make Can you try to clone it directly from GitHub and then compile? Or...
I recommend you to download Erlang packages specifically precompiled for Ubuntu from Erlang Solutions: https://www.erlang-solutions.com/resources/download.html
I was using them whenever I had to install Erlang on Ubuntu and never had problems. The codename for your Ubuntu would be Trusty Tahr.

maven installations on ubuntu fails

I am running Ubuntu 14.10 on VMPlayer 6.0.4 here on ubuntu when I am trying to install maven i am getting the following errors.
ubuntu#ubuntu:~$ sudo apt-get install maven
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:
maven : Depends: libaether-java but it is not going to be installed
Depends: libplexus-containers1.5-java but it is not going to be installed
Depends: libsisu-ioc-java but it is not going to be installed
Depends: libwagon2-java (>= 2.2-2) but it is not going to be installed
E: Unable to correct problems, you have held broken packages.
ubuntu#ubuntu:~$
As I am new to Linux I am not understanding why its failing and how to solve this.
After googling I tried
i)apt-get update (success)
ii)apt-get upgrade (failed as below)
ubuntu#ubuntu:~$ sudo apt-get upgrade
Reading package lists... Done
Building dependency tree
Reading state information... Done
Calculating upgrade... Done
The following packages have been kept back:
liboxideqt-qmlplugin liboxideqtcore0 linux-generic linux-headers-generic linux-image-generic oxideqt-codecs
0 upgraded, 0 newly installed, 0 to remove and 6 not upgraded.
ubuntu#ubuntu:~$
but still same issue
It would be helpful if someone suggestion me how to fix and install maven
Thanks in advance
May be too late to answer, but I had same issue on Ubuntu 12.04 LTS -- so this may be helpful
Here is a work around...
sudo dpkg -i --force-all /var/cache/apt/archives/libwagon2-java_2.2-3+nmu1_all.deb
The command above will install: libwagon2-java_2.2-3+nmu1_all.deb
After this you will be able to install Maven by: $ sudo apt-get install maven
Update your packages by
sudo apt-get update
then try to install.

Unable to resolve Ruby error (missing psych)

Whenever I run something with Ruby on my server, I get the following error:
/usr/local/rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/yaml.rb:56:in `<top (required)>':
It seems your ruby installation is missing psych (for YAML output).
To eliminate this warning, please install libyaml and reinstall your ruby.
I installed Ruby using RVM onto my VPS.
I’ve tried installing the package libyaml as per instructed in other issues on Stack Overflow, to no avail.
I’m not sure what type of system my VPS is running, but it doesn’t have the apt-get command. It does have yum…
I have to disagree with #JunaidKirkire in that I think you are running CentOS or Redhat 5 which uses a a very old version of Ruby by default and I think using RVM is a much better way to go. I believe you will just need to compile libyaml from source with the following:
rvm pkg install libyaml
This will tell you the directory that it is compiling into, in my case, it is /Users/ehowe/.rvm/usr
You then need to recompile Ruby with the following option:
rvm reinstall 1.9.3 --with-libyaml-dir=$directory_that_rvm_installed_libyaml_to
So in my case, I would do:
rvm install 1.9.3 --with-libyaml-dir=/Users/ehowe/.rvm/usr
If you are running rvm as root, this will get installed into /usr/local/rvm/usr. If you are running it as a user, as is recommended, it would be /home/$user/.rvm/usr
I had this problem and installing libyaml didn't help. It turned out that libyaml-devel was needed by psych. I was on centos6 so I did this:
curl -O http://www6.atomicorp.com/channels/atomic/centos/6/x86_64/RPMS/atomic-release-1.0-14.el6.art.noarch.rpm
sudo rpm -Uvh atomic-release-1.0-14.el6.art.noarch.rpm
sudo yum install libyaml-devel
rvm reinstall 1.9.3-p194
On a RHEL based distro such as CentOS 6.x you need to add another yum repository such as EPEL which contain the libyaml-devel package.
Keys for EPEL or download
RPM for EPEL
More info:
CentOS - Additional Resources
Fedora Project: EPEL Howto
Would also suggest the use of yum-plugin-priorities
Add EPEL Yum Repository
rpm --import http://dl.fedoraproject.org/pub/epel/RPM-GPG-KEY-EPEL-6
rpm -Kih http://dl.fedoraproject.org/pub/epel/6/x86_64/epel-release-6-8.noarch.rpm
Install libyaml-devel via yum
yum -y install libyaml-devel
Packages
Dependencies Resolved
====================================================================================
Package Arch Version Repository Size
====================================================================================
Installing:
libyaml-devel x86_64 0.1.3-1.el6 epel 84 k
Installing for dependencies:
libyaml x86_64 0.1.3-1.el6 epel 52 k
Transaction Summary
====================================================================================
Install 2 Package(s)
The problem could be solved by installing libyaml. Below are the corresponding packages for the most popular distributions:
Fedora libyaml
Ubuntu and other Debian based libyaml-dev
Some other like CentOS libyaml-devel
and also you should install the following to avoid similar problems in future:
ruby-devel libxml2 libxml2-devel libxslt libxslt-devel
In case people still hit this, I fixed it using the new autolibs feature in RVM, which automatically installs dependencies using your homebrew libraries (check out rvm help autolibs for info.)
rvm reinstall 1.9.3 --autolibs=2
You seem to be working on Fedora. Check the official Ruby website for instructions on installing on Fedora.
Try this link too http://sraji.wordpress.com/2011/01/25/how-to-install-ruby-on-fedora-14/
I had this same libyaml issue with CentOS 6.2
Doing...
rvm pkg install libyaml
rvm reinstall 1.9.3 --with-libyaml-dir=/usr/local/rvm/usr
Fixed it for me.
(thanks to #Eugene)
Make sure your Redhat machine has a valid subscription:
# subscription-manager list
+-------------------------------------------+
Installed Product Status
+-------------------------------------------+
Product Name: Red Hat Enterprise Linux Server
Product ID: 69
Version: 7.1
Arch: x86_64
Status: Subscribed
Status Details:
Starts: 06/13/2014
Ends: 06/12/2015
Status must say "Subscribed". If not, then suffer through getting a login and maybe purchasing a subscription at https://access.redhat.com/management/consumers.
When that's done, run
# subscription-manager repos --enable rhel-7-server-optional-rpms
then libyaml-devel will install OK.

Resources