Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
upgrading the agent to 7.45 - sed error
#1
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
 Reply
#2
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
 Reply
#3
Hello

Sorry for the delay, try to install the agent through the .tar.gz file, it should work fine.

https://sourceforge.net/projects/pandora...5/Tarball/

Greetings
Diego
 Reply
#4
(06-01-2020, 02:39 PM)Diego.M Wrote: Hello

Sorry for the delay, try to install the agent through the .tar.gz file, it should work fine.

https://sourceforge.net/projects/pandora...5/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.
 Reply
#5
thanks Diego, I'll give that a shot. Will this be fixed in the repositories for .46?
 Reply
#6
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
 Reply
#7
(06-09-2020, 11:34 AM)Hi Diego,Just to keep you updated, this problem is re-occurring in version 749.  Any idea why this keeps coming up?  Since we\re running this in a package managed environment with yum, this causes issues with other upgrades being applied in an automated fashion.  Would be great if we could get this resolved permanently.Thanks!-RichDiego.M Wrote: 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
 Reply
#8
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.
 Reply
#9
(09-16-2020, 01:10 PM)Hi Ismael,Sorry, I didn\t see your message until now.  I'll see if I can find a server to try the tarball on, but we're trying to maintain these packages with automated deployments with yum.  Having to update with tarballs isn't a practical solution for us.  This issue came up in .45, was fixed in .47 and re-occurred in .49.  Take care,-Richismael.moreno Wrote: 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.
 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