Fusion inventory need powertools

Hi !

I have a problem to install fusion inventory agent on R8. For Centos8 we need to enable powertools with dnf-config manager

dnf config-manager --set-enabled PowerTools

But on R8 it’s not possible, the repository PowerTools doesn’t exist. Fusion inventory need multiple perl packets:

erreur : Dépendances requises:
perl(File::Copy::Recursive) est nécessaire pour perl-FusionInventory-Agent-2.6-1.el8.noarch
perl(HTTP::Cookies) est nécessaire pour perl-FusionInventory-Agent-2.6-1.el8.noarch
perl(HTTP::Daemon) est nécessaire pour perl-FusionInventory-Agent-2.6-1.el8.noarch
perl(HTTP::Headers) est nécessaire pour perl-FusionInventory-Agent-2.6-1.el8.noarch
perl(HTTP::Request) est nécessaire pour perl-FusionInventory-Agent-2.6-1.el8.noarch
perl(HTTP::Status) est nécessaire pour perl-FusionInventory-Agent-2.6-1.el8.noarch
perl(LWP) est nécessaire pour perl-FusionInventory-Agent-2.6-1.el8.noarch
perl(LWP::Protocol::https) est nécessaire pour perl-FusionInventory-Agent-2.6-1.el8.noarch
perl(LWP::UserAgent) est nécessaire pour perl-FusionInventory-Agent-2.6-1.el8.noarch
perl(Net::CUPS) est nécessaire pour perl-FusionInventory-Agent-2.6-1.el8.noarch
perl(Net::HTTPS) est nécessaire pour perl-FusionInventory-Agent-2.6-1.el8.noarch
perl(Net::IP) est nécessaire pour perl-FusionInventory-Agent-2.6-1.el8.noarch
perl(Net::SNMP) est nécessaire pour perl-FusionInventory-Agent-2.6-1.el8.noarch
perl(Parallel::ForkManager) est nécessaire pour perl-FusionInventory-Agent-2.6-1.el8.noarch
perl(Proc::Daemon) est nécessaire pour perl-FusionInventory-Agent-2.6-1.el8.noarch
perl(Socket::GetAddrInfo) est nécessaire pour perl-FusionInventory-Agent-2.6-1.el8.noarch
perl(UNIVERSAL::require) est nécessaire pour perl-FusionInventory-Agent-2.6-1.el8.noarch
perl(XML::TreePP) est nécessaire pour perl-FusionInventory-Agent-2.6-1.el8.noarch
perl(XML::XPath) est nécessaire pour perl-FusionInventory-Agent-2.6-1.el8.noarch
perl(YAML::Tiny) est nécessaire pour perl-FusionInventory-Agent-2.6-1.el8.noarch

Has anyone ever had to install fusion inventory?

Thanks a lot

you can list all available repos with

[root@0018aa66084a /]# dnf repolist --all
Failed to set locale, defaulting to C.UTF-8
repo id                  repo name                                      status
appstream                Rocky Linux 8 - AppStream                      enabled
appstream-source         Rocky Linux 8 - AppStream - Source             disabled
baseos                   Rocky Linux 8 - BaseOS                         enabled
baseos-source            Rocky Linux 8 - BaseOS - Source                disabled
devel                    Rocky Linux 8 - Devel WARNING! FOR BUILDROOT U disabled
extras                   Rocky Linux 8 - Extras                         enabled
extras-source            Rocky Linux 8 - Extras - Source                disabled
ha                       Rocky Linux 8 - HighAvailability               disabled
ha-source                Rocky Linux 8 - High Availability - Source     disabled
media-appstream          Rocky Linux 8 - Media - AppStream              disabled
media-baseos             Rocky Linux 8 - Media - BaseOS                 disabled
plus                     Rocky Linux 8 - Plus                           disabled
plus-source              Rocky Linux 8 - Plus - Source                  disabled
powertools               Rocky Linux 8 - PowerTools                     disabled
powertools-source        Rocky Linux 8 - PowerTools - Source            disabled
resilient-storage        Rocky Linux 8 - ResilientStorage               disabled
resilient-storage-source Rocky Linux 8 - Resilient Storage - Source     disabled
rt                       Rocky Linux 8 - Realtime                       disabled

Note how PowerTools is in Rocky too, but the name is now powertools.

The name is powertools in CentOS Linux 8 too. The case of the name did change in CentOS Linux 8.3.
Your dnf config-manager --set-enabled PowerTools must therefore have been used before 8.3.

Yes … lol it’s just in lowercase… Sorry and thank you it’s ok :smiley:

dnf config-manager --set-enabled powertools

Hi, i follows your tutos, but After enabled powertools i cant install fusioninventory agent. I have also taping this code to search if there is name like fusioninventory agent: dnf search fusioninventory-agent.
But nothing!

I do the same in Alma Linux and all is fine
Whynot in R8
Need yr help please

Do you have epel repository enabled?

[root@rocky8 ~]# dnf list fusioninventory-agent
Last metadata expiration check: 2:52:24 ago on Thu 25 Aug 2022 12:19:59 CEST.
Available Packages
fusioninventory-agent.x86_64                                    2.6-1.el8                                     epel
dnf install epel-release
dnf install fusioninventory-agent

Yes! It was about epel repository
It’s works now, thanks!

1 Like