-
Notifications
You must be signed in to change notification settings - Fork 6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Netdata Installation failed in Manjaro(Arch)Latest #2812
Comments
By useing command: |
Could you please post all the output of |
sure: We detected these: The following command will be run:
sudo pacman --needed -S autoconf autoconf-archive autogen automake curl gcc git libmnl lm_sensors make mysql-python netcat nodejs pkgconfig python python2-psycopg2 python2-yaml util-linux zlib Press ENTER to run it > Packages (4) gcc-libs-7.2.0-3 gcc-libs-multilib-7.2.0-1 [removal] gcc-multilib-7.2.0-1 [removal] gcc-7.2.0-3 Total Download Size: 46.72 MiB :: Proceed with installation? [Y/n] n We are very sorry! Installation of required packages failed. What to do now:
|
And the default Python version is 3.6.2,not“2”... |
ok, this is what netdata runs:
As you can see there is nothing in this about multilib. Unfortunately I don't know how to fix this problem. I suggest to seek help at the manjaro or arch forums. I personally use manjaro, and I don't have this problem. So, this is something triggered by the packages you have already installed. If you have a working gcc in place, I think you can just If you don't have a working gcc, netdata can also be compiled with
To detect the python version, the script runs |
i am on manjaro too and have the same problem (never installed netdata via kickstart.sh before)
Works! |
I think it's about the "gcc" ,manjaro has installed the gcc-libs-multilib by default... |
fixed the python detection problem. Any ideas how to fix the gcc issue? |
Add some gcc,gcc-multilib,clang detection? |
Well, this is what it does: https://github.com/firehol/netdata-demo-site/blob/55a18028775684b2ac6b418e715e34210fb14774/install-required-packages.sh#L968 It attempts to install gcc, only if it is not already there. You say the binary is called |
|
Could you please try it now? |
|
Could you please post the |
|
strange... it is like it cannot find any command... Could you please post your version of this: # ./install-required-packages.sh netdata
Loading /etc/os-release ...
/etc/os-release information:
NAME : Fedora
VERSION : 26 (Workstation Edition)
ID : fedora
ID_LIKE :
VERSION_ID : 26
We detected these:
Distribution : fedora
Version : 26
Codename : 26 (Workstation Edition)
Package Manager : install_dnf
Packages Tree : rhel
Detection Method: /etc/os-release
Default Python v: 2
> Checking if package 'autoconf-archive' is installed...
> Checking if package 'zlib-devel' is installed...
> Checking if package 'libuuid-devel' is installed...
> Checking if package 'libmnl-devel' is installed...
> Checking if package 'PyYAML' is installed...
All required packages are already installed. Now proceed to the next step. |
|
ok, this is really strange... This is my manjaro: $ bash <(curl -Ss https://my-netdata.io/kickstart.sh)
System : Linux
Operating System : GNU/Linux
Machine : x86_64
BASH major version: 4
--- Downloading script to detect required packages... ---
$ /usr/bin/curl https://raw.githubusercontent.com/firehol/netdata-demo-site/master/install-required-packages.sh
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 40648 100 40648 0 0 40648 0 0:00:01 --:--:-- 0:00:01 62631
OK
--- Running downloaded script to detect required packages... ---
$ sudo /usr/bin/bash /tmp/netdata-kickstart-5QWBts netdata
Loading /etc/os-release ...
Unknown distribution ID: manjaro
Cannot find valid distribution in: manjaro
Loading /etc/lsb-release ...
We detected these:
Distribution : ManjaroLinux
Version : 17.0.5
Codename : Gellivara
Package Manager : install_pacman
Packages Tree : arch
Detection Method: /etc/lsb-release
Default Python v: 3
> Checking if package 'autoconf-archive' is installed...
> Checking if package 'zlib' is installed...
> Checking if package 'util-linux' is installed...
> Checking if package 'libmnl' is installed...
> Checking if package 'python2-yaml' is installed...
> Checking if package 'python-yaml' is installed...
All required packages are already installed. Now proceed to the next step.
OK Could you please check if option |
no problems without -i
And all python2 packages should be excluded if version is 3 |
but did it run with |
With the fully fresh installed Manjaro , it's also gives me the conflict about gcc-libs and gcc-libs-multilib... |
It runs.
|
@l2isbad in my version (check above for the log), it runs without
Are you sure on your manjaro, the kickstart script adds |
@ktsaou I am useing the Gnome as my desktop environment,are you the same ...? |
This is not related. It seems your Manjaro have multilib installed, while mine does not. If you can post an entire session of |
i copied the command from #2812 (comment) when i checked.
|
I need to reproduce this. I can't figure out how the script makes the wrong decision. I will install a manjaro on a VM. How can I enable multilib? |
I just installed manjaro 17.05 on a VM. I updated it and then run this:
It does not try to install gcc, since it is already installed. I checked if multilib is installed:
It is. Cannot reproduce the problem you face. Any ideas what to check? |
Seems like “gcc” is gone... |
I think this issue has been fixed. |
When I tried to install Netdata in Manjaro 17.05,It shows me an err:
"error: failed to prepare transaction (conflicting dependencies) :: gcc-libs and gcc-libs-multilib are in conflict".
But I've been installed gcc-multilib instead before,and I can't just remove gcc-libs-multilib.
How could I fix this err?
The text was updated successfully, but these errors were encountered: