Please look at https://bugzilla.redhat.com/show_bug.cgi?id=1786860
Works OK.
Please see https://bugzilla.redhat.com/show_bug.cgi?id=1786712 and the new problem:
Failed to load Ocsinventory::Agent, syntax error at /usr/share/perl5/vendor_perl/Ocsinventory/Agent/Common.pm line 999, near "-ne" Compilation failed in require at /usr/share/perl5/vendor_perl/Ocsinventory/Agent.pm line 41. BEGIN failed--compilation aborted at /usr/share/perl5/vendor_perl/Ocsinventory/Agent.pm line 41.
Package contains file /usr/share/perl5/vendor_perl/Ocsinventory/Agent/Network.pm.orig, which should probably be removed.
Yes, it fixes, but a small thing - package contains file /usr/share/perl5/vendor_perl/Ocsinventory/Agent/Network.pm.orig, which should probably be removed.
You use the similar patch, but you have extra ; at the end of the line $self->{config}->{password};
. If I remove ; then it works.
--- Ocsinventory-Unix-Agent-2.6.0.orig/lib/Ocsinventory/Agent/Network.pm 2018-07-28 18:27:52.000000000 +0300
+++ Ocsinventory-Unix-Agent-2.6.0/lib/Ocsinventory/Agent/Network.pm 2019-07-02 09:31:55.271132600 +0300
@@ -49,13 +49,11 @@
my $version = 'OCS-NG_unified_unix_agent_v';
$version .= exists ($self->{config}->{VERSION})?$self->{config}->{VERSION}:'';
$self->{ua}->agent($version);
- $self->{config}->{user}.",".
- my $password = $self->{config}->{password}."";
$self->{ua}->credentials(
$uaserver, # server:port, port is needed
$self->{config}->{realm},
$self->{config}->{user},
- $password,
+ $self->{config}->{password},
);
#Setting SSL configuration depending on LWP version
I use the following patch for this error: --- Ocsinventory-Unix-Agent-2.6.0.orig/lib/Ocsinventory/Agent/Network.pm 2018-07-28 18:27:52.000000000 +0300 +++ Ocsinventory-Unix-Agent-2.6.0/lib/Ocsinventory/Agent/Network.pm 2019-07-02 09:31:55.271132600 +0300 @@ -49,13 +49,11 @@ my $version = 'OCS-NG_unified_unix_agent_v'; $version .= exists ($self->{config}->{VERSION})?$self->{config}->{VERSION}:''; $self->{ua}->agent($version); - $self->{config}->{user}.",". - my $password = $self->{config}->{password}.""; $self->{ua}->credentials( $uaserver, # server:port, port is needed $self->{config}->{realm}, $self->{config}->{user}, - $password, + $self->{config}->{password}, );
#Setting SSL configuration depending on LWP version
After systemctl enable --now ocsinventory-agent in /var/log/ocsinventory-agent/ocsinventory-agent.log:
[Wed 27 Nov 2019 12:43:21 AM EET] Running ocsinventory-agent --wait 100 --lazy --nolocal --server=... Failed to load Ocsinventory::Agent, syntax error at /usr/share/perl5/vendor_perl/Ocsinventory/Agent/Network.pm line 56, near "};" Compilation failed in require at /usr/share/perl5/vendor_perl/Ocsinventory/Agent.pm line 33. BEGIN failed--compilation aborted at /usr/share/perl5/vendor_perl/Ocsinventory/Agent.pm line 33. Compilation failed in require at (eval 1) line 1. BEGIN failed--compilation aborted at (eval 1) line 1.
Problem 1: package python3-ansible-lint-4.1.0-2.fc31.noarch requires ansible-python3, but none of the providers can be installed - cannot install both ansible-2.8.6-1.fc31.noarch and ansible-2.8.5-1.fc31.noarch - cannot install both ansible-2.8.5-1.fc31.noarch and ansible-2.8.6-1.fc31.noarch - cannot install the best update candidate for package python3-ansible-lint-4.1.0-2.fc31.noarch - cannot install the best update candidate for package ansible-2.8.5-1.fc31.noarch
The same crash as reported.
package clementine-1.3.1-36.20181130gitd260c8b.fc30.x86_64 requires libprojectM.so.2()(64bit), but none of the providers can be installed
Works OK.