I'm trying to upgrade to pandorafms_agent_unix-7.0NG.745-200504.x86_64 on oracle linux 6.x and centos 7.x (latest builds). When I run the update or try to do a fresh install I get an error: Resolving Dependencies --> Running transaction check ---> Package pandorafms_agent_unix.x86_64 0:7.0NG.745-200504 will be installed --> Processing Dependency: /usr/bin/grep for package: pandorafms_agent_unix-7.0NG.745-200504.x86_64 --> Processing Dependency: /usr/bin/sed for package: pandorafms_agent_unix-7.0NG.745-200504.x86_64 --> Processing Dependency: /usr/bin/grep for package: pandorafms_agent_unix-7.0NG.745-200504.x86_64 --> Processing Dependency: /usr/bin/sed for package: pandorafms_agent_unix-7.0NG.745-200504.x86_64 --> Finished Dependency Resolution Error: Package: pandorafms_agent_unix-7.0NG.745-200504.x86_64 Requires: /usr/bin/sed Error: Package: pandorafms_agent_unix-7.0NG.745-200504.x86_64 Requires: /usr/bin/grep I checked the spec for the rpm and as indicated in the dependencies above, it's looking for grep and sed in /usr/bin. These files are installed in /bin. I've tried copying those binaries into /usr/bin as well as soft linking but neither seems to satisfy the requirement. Is there a reason the build references /usr/bin instead of /bin? Thanks, -Rich
upgrading the agent to 7.45 - sed error
[email protected] · 19 may 2020, 21:30 · 20 mensajes · 85 visitas
- Inicio del debate
I get a similar error: ..... ---> Package pandorafms_agent_unix.x86_64 0:7.0NG.745-200504 will be an update --> Processing Dependency: /usr/bin/sed for package: pandorafms_agent_unix-7.0NG.745-200504.x86_64 ---> Package python-tdb.x86_64 0:1.3.18-1.el7 will be installed --> Processing Dependency: /usr/bin/sed for package: pandorafms_agent_unix-7.0NG.745-200504.x86_64 --> Finished Dependency Resolution --> Running transaction check ---> Package kernel.x86_64 0:3.10.0-957.5.1.el7 will be erased ---> Package pandorafms_agent_unix.x86_64 0:7.0NG.745-200504 will be an update --> Processing Dependency: /usr/bin/sed for package: pandorafms_agent_unix-7.0NG.745-200504.x86_64 --> Processing Dependency: /usr/bin/sed for package: pandorafms_agent_unix-7.0NG.745-200504.x86_64 --> Processing Dependency: /usr/bin/sed for package: pandorafms_agent_unix-7.0NG.745-200504.x86_64 --> Finished Dependency Resolution Error: Package: pandorafms_agent_unix-7.0NG.745-200504.x86_64 (Artica) Requires: /usr/bin/sed Removing: sed-4.2.2-5.el7.x86_64 (@anaconda) Not found Updated By: sed-4.2.2-6.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
Hello Sorry for the delay, try to install the agent through the .tar.gz file, it should work fine. https://sourceforge.net/projects/pandora/files/Pandora%20FMS%207.0NG/745/Tarball/ Greetings Diego
Hello Sorry for the delay, try to install the agent through the .tar.gz file, it should work fine. https://sourceforge.net/projects/pandora/files/Pandora%20FMS%207.0NG/745/Tarball/ Greetings Diego
Thanks for the reply, Diego. What worked for me was to update sed first ("yum update sed"). I then ran "yum update" and there were no more sed errors.
thanks Diego, I'll give that a shot. Will this be fixed in the repositories for .46?
Hello, Investigating the problem we have detected that we had some agents in the repository that were not in the correct format, we have it noted in our list of priorities and I hope that for the 747 version it is solved, since the 746 has already been released. Greetings Diego
Hello, Investigating the problem we have detected that we had some agents in the repository that were not in the correct format, we have it noted in our list of priorities and I hope that for the 747 version it is solved, since the 746 has already been released. Greetings Diego
Hi, Please install the agents using tarball packages in version 749 to check if this issue is still happening and update us on news. Kind regards.
Hi, Please install the agents using tarball packages in version 749 to check if this issue is still happening and update us on news. Kind regards.
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
Thanks so much Diego, it's very much appreciated!!! -Rich
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
same here
--> 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.
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
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 [root@mysqlc01 w002rth]# ls -l /usr/bin/sed -rwxr-xr-x. 1 root root 76072 Apr 1 2020 /usr/bin/sed [root@mysqlc01 w002rth]# /usr/bin/sed --version /usr/bin/sed (GNU sed) 4.2.2 Copyright (C) 2012 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later . 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: . General help using GNU software: . E-mail bug reports to: . Be sure to include the word ``sed'' somewhere in the ``Subject:'' field. [root@mysqlc01 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
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:
--> 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,
FYI Same issue presenting itself for 7.51
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
I confirm that the bug has been finaly resolved. Big thanks for the support and maintaning this great piece of software !!
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
Este tema está cerrado.
