Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
upgrading the agent to 7.45 - sed error
#11
Thanks so much Diego, it's very much appreciated!!! -Rich
 Reply
#12
Just a quick heads up, this is occurring again on 7.50.  It's the same thing, the rpm requires /usr/bin/sed and there is no /usr/bin/sed, it's installed in /bin/sed on CentOS 7.x.  The pandorafms rpm is not being built with the correct system requirements.  This is really becoming an issue for our upgrade process.  I cannot use the tarball for the automatic upgrades.
-Rich

At this point, the only solution I've found is to backup the config file, completely remove the pandora agent, do the typical upgrade and then reinstall pandora and restore the config file.  Here's an example of what I'm seeing today:

# yum upgrade pandorafms_agent_unix sed
Loaded plugins: aliases, changelog, fastestmirror, langpacks, rhnplugin,
              : tmprepo, verify, versionlock
This system is receiving updates from RHN Classic or Red Hat Satellite.
Loading mirror speeds from cached hostfile
Package: pandorafms_agent_unix-7.0NG.750-201111.noarch - can't co-install with pandorafms_agent_unix-7.0NG.750-201111.x86_64
Resolving Dependencies
--> Running transaction check
---> Package sed.x86_64 0:4.2.2-6.el7 will be updated
---> Package sed.x86_64 0:4.2.2-7.el7 will be an update
--> Processing Dependency: /usr/bin/sed for package: pandorafms_agent_unix-7.0NG.750-201111.x86_64
--> Finished Dependency Resolution
Error: Package: pandorafms_agent_unix-7.0NG.750-201111.x86_64 (@pandorafms-centos7)
          Requires: /usr/bin/sed
          Removing: sed-4.2.2-6.el7.x86_64 (@centos7-x86_64)
              Not found
          Updated By: sed-4.2.2-7.el7.x86_64 (centos7-x86_64)
              Not found
You could try using --skip-broken to work around the problem
^C


-Rich
 Reply
#13
same here
Quote:--> Processing Dependency: /usr/bin/sed for package: pandorafms_agent_unix-7.0NG.750-201111.x86_64
--> Finished Dependency Resolution
Error: Package: pandorafms_agent_unix-7.0NG.750-201111.x86_64 (artica_pandorafms)
          Requires: /usr/bin/sed
          Removing: sed-4.2.2-6.el7.x86_64 (@anaconda)
              Not found
          Updated By: sed-4.2.2-7.el7.x86_64 (base)
              Not found
You could try using --skip-broken to work around the problem
You could try running: rpm -Va --nofiles --nodigest

and it persists already since 3 o 4 minor versions..

The problem arises only on the upgrade of already installed rpm.
 Reply
#14
Hello,

I regret that the problem persists, I think it is possible to solve it by creating a symbolic link since it seems that the sed path does not correspond to the one the agent installer is looking for.

Basically try to create the symbolic link "/usr/bin/sed" that redirects you to "/usr/sed" which is where I suspect you have this dependency.

Greetings
Diego
 Reply
#15
(11-23-2020, 09:23 AM)Diego.M Wrote: Hello,

I regret that the problem persists, I think it is possible to solve it by creating a symbolic link since it seems that the sed path does not correspond to the one the agent installer is looking for.

Basically try to create the symbolic link "/usr/bin/sed" that redirects you to "/usr/sed" which is where I suspect you have this dependency.

Greetings
Diego

I just did this on one of our Centos 7.x boxes.  Here's what I saw:

--> Processing Dependency: /usr/bin/sed for package: pandorafms_agent_unix-7.0NG.750-201111.x86_64
--> Finished Dependency Resolution
Error: Package: pandorafms_agent_unix-7.0NG.750-201111.x86_64 (@pandorafms-centos7)
          Requires: /usr/bin/sed
          Removing: sed-4.2.2-6.el7.x86_64 (@centos7-x86_64)
              Not found
          Updated By: sed-4.2.2-7.el7.x86_64 (centos7-x86_64)
              Not found
You could try using --skip-broken to work around the problem
You could try running: rpm -Va --nofiles --nodigest
[[email protected] w002rth]# ls -l /usr/bin/sed
-rwxr-xr-x. 1 root root 76072 Apr  1  2020 /usr/bin/sed
[[email protected] w002rth]# /usr/bin/sed --version
/usr/bin/sed (GNU sed) 4.2.2
Copyright © 2012 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>.
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.

Written by Jay Fenlason, Tom Lord, Ken Pizzini,
and Paolo Bonzini.
GNU sed home page: <http://www.gnu.org/software/sed/>.
General help using GNU software: <http://www.gnu.org/gethelp/>.
E-mail bug reports to: <[email protected]>.
Be sure to include the word ``sed'' somewhere in the ``Subject:'' field.
[[email protected] w002rth]#


In the past I've tried creating a symbolic link, but unsuccessfully.  In this case on the centos 7.8.2003 box, the file exists.

-Rich
 Reply
#16
(10-21-2020, 01:44 PM)Diego.M Wrote: Greetings,

We are dedicating great efforts to avoid this type of error that "reappears".  Currently, the QA team and members of other departments are reviewing all the functionalities and their possible cases (which includes the installation and update of agents in different operating systems), so that they do not happen in the new version 750 and later versions. We hope that the problem they are suffering from will not happen again. Sorry for the inconvenience.

Greetings
Diego

Hello Diego,
actually we are continue to note this problem even with 750:

Quote:--> Finished Dependency Resolution
Error: Package: pandorafms_agent_unix-7.0NG.750-201111.x86_64 (artica_pandorafms)
Requires: /usr/bin/sed
Removing: sed-4.2.2-6.el7.x86_64 (@cloudlinux-base)
Not found
Updated By: sed-4.2.2-7.el7.x86_64 (cloudlinux-base)
Not found


Please update us from which version of agent for CentOS the problem will be solved.
Thanks in advance,
 Reply
#17
FYI

Same issue presenting itself for 7.51
 Reply
#18
Greetings,

With the 752 update the problem should not happen again as the requirement to have sed installed to run the agent has been removed. We expect the 752 release to be next Monday.

Thanks and sorry for the inconvenience caused by this bug.
Diego
 Reply
#19
I confirm that the bug has been finaly resolved.
Big thanks for the support and maintaning this great piece of software !!
 Reply
#20
Let me try this action given by the Diego , after the completion of the this i will share my view on this thread ~ Ali Sami Farooq
 Reply


Users browsing this thread: 1 Guest(s)


(c) 2006-2018 Artica Soluciones Tecnológicas. Contents of this wiki are under Create Common Attribution v3 licence. | pandorafms.com | pandorafms.org

Theme © MyBB Themes