N: Skipping acquire of configured file 'main/binary-i386/Packages' as repository Phusion Passenger - passenger

please help me, i don't know how to solve this message :
N: Skipping acquire of configured file 'main/binary-i386/Packages' as repository 'https://oss-binaries.phusionpassenger.com/apt/passenger jammy InRelease' doesn't support architecture 'i386'
I am installing Phusion Passenger standalone not combine with Nginx, i read the doc in Phusion
I am using OS
Ubuntu 22.04 Jammy LTS
Nginx
i need help how to make my Phusion Passenger is not show error skipping like that..

ok i was forgot to change the list in passenger.list
i am added some words.
before:
deb https://oss-binaries.phusionpassenger.com/apt/passenger jammy main
after:
deb [arch=amd64] https://oss-binaries.phusionpassenger.com/apt/passenger jammy main
just add [arch=amd64] and it works

Related

How to install Plesk on Ubuntu 16.04

I am getting this error on my Ubuntu 16.04 LTS system :
The following packages have unmet dependencies:
plesk-php56-snmp : Depends: libsnmp30 (>= 5.7.3+dfsg-1ubuntu4.1~dfsg) but 5.7.3+dfsg-1ubuntu4 is to be installed
plesk-php70-snmp : Depends: libsnmp30 (>= 5.7.3+dfsg-1ubuntu4.1~dfsg) but 5.7.3+dfsg-1ubuntu4 is to be installed
plesk-php71-snmp : Depends: libsnmp30 (>= 5.7.3+dfsg-1ubuntu4.1~dfsg) but 5.7.3+dfsg-1ubuntu4 is to be installed
plesk-php72-snmp : Depends: libsnmp30 (>= 5.7.3+dfsg-1ubuntu4.1~dfsg) but 5.7.3+dfsg-1ubuntu4 is to be installed
output of lsb_release -a :
Distributor ID: Ubuntu
Description: Ubuntu 16.04.3 LTS
Release: 16.04
Codename: xenial
I tried a lot of things , installed a lot of packages, stopped some services but can't resolve.
I have 3 domains and will add some more too , so I want to use plesk for easy configurations, but can't install.
How can I install plesk on my system?
It seems that you encountered system repositories misconfiguration.
Plesk requires that the system repositories were enabled.
For experiment sake I installed OS from official ubuntu-16.04.3-server-amd64.iso with default settings (just enter-enter-enter):
# cat /etc/*release | grep VERSION
VERSION="16.04.3 LTS (Xenial Xerus)"
VERSION_ID="16.04"
VERSION_CODENAME=xenial
Then Plesk Onyx 17.8 (which is currently default) using one-click installer.
Installation went successfully.
I can see, that mentioned packages depends on libsnmp30, but not the specific version:
# apt-cache depends plesk-php56-snmp
plesk-php56-snmp
Depends: libc6
Depends: libsnmp30
Depends: plesk-php56
However, the version which you were missing was already installed:
# dpkg -l | grep libsnmp30
ii libsnmp30:amd64 5.7.3+dfsg-1ubuntu4.1 amd64 SNMP (Simple Network Management Protocol) library
It comes from xenial-updates main repository, which is enabled by default:
# apt-cache showpkg libsnmp30 | grep 4.1 | grep binary-amd64
5.7.3+dfsg-1ubuntu4.1 (/var/lib/apt/lists/us.archive.ubuntu.com_ubuntu_dists_xenial-updates_main_binary-amd64_Packages) (/var/lib/dpkg/status)
Just in case, here is my sources.list:
# cat /etc/apt/sources.list | grep -v "^#"
deb http://us.archive.ubuntu.com/ubuntu/ xenial main restricted
deb http://us.archive.ubuntu.com/ubuntu/ xenial-updates main restricted
deb http://us.archive.ubuntu.com/ubuntu/ xenial universe
deb http://us.archive.ubuntu.com/ubuntu/ xenial-updates universe
deb http://us.archive.ubuntu.com/ubuntu/ xenial multiverse
deb http://us.archive.ubuntu.com/ubuntu/ xenial-updates multiverse
deb http://us.archive.ubuntu.com/ubuntu/ xenial-backports main restricted universe multiverse
deb http://security.ubuntu.com/ubuntu xenial-security main restricted
deb http://security.ubuntu.com/ubuntu xenial-security universe
deb http://security.ubuntu.com/ubuntu xenial-security multiverse
i am not sure why this happens but its definitely sure you need to install libsnmp30 dependency try this one
sudo apt-get install snmpd libsnmp30 libsnmp-base
or this one If that still gives you errors and prevents installation (though, it doesn't look like it should that appears to be a different problem) try this:
sudo apt-get install snmpd libsnmp30 libsnmp-base linux-image-generic linux-image-3.13.0-40-generic linux-image-extra-3.13.0-40-generic
I got the problem at the end, it's all about my version : it was 16.04.3 , not 16.04
So , i had to reinstall operating system, changed operating system to 16.04 LTS (not 16.04.3 ) , and now I able to install Plesk.
It means , Plesk Supports only 16.04 solely , don't waste your time if you use another version of 16.04 , look for another control panel or change your operating system, there is no other way i think.
I wish it helps someone who will waste time cause of this simple information..
EDIT :
#Elvis Plesky answered the question, I think so Plesk supports minor versions. Maybe my configurations were incorrect , I don't know, because already reinstalled OS.
Maybe it is about 'systemd' thing that I found on Plesk documentation :
Plesk only supports Debian 8 and Ubuntu 16.04 servers running the
‘systemd’ init system. Compatibility with ‘sysvinit’ has not been
tested and is not guaranteed.
I am not an experienced user so don't understand what is it about..

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

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.

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.

phusion passenger on ubuntu 10.04: why apache2-prefork-dev when we want apache2-mpm-worker?

i want to install phusion passenger together with ruby enterprise edition on x86_64 SMP ubuntu 10.04. the recommended option seems to be
apache2-mpm-worker
but when i run passenger-install-apache2-module
the installation routine of phusion passenger complains
To install Apache 2 development
headers: Please run apt-get install
apache2-prefork-dev as root.
why do we need prefork-dev here, if we clearly want to run passenger with mpm-worker apache2?
any suggestions? is there a worker-dev package?
The worker dev package on Debian & Ubuntu is "apache2-threaded-dev".
Apt-file shows that this installs /usr/bin/apxs2 among other things, so I think this is what you're looking for. By the way, I found this package by using "apt-cache search apache mpm dev".
http://groups.google.com/group/phusion-passenger/msg/b7b2dd8a6561ae36

Resources