<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Forwarder Install via RPM: Failed Dependencies in Getting Data In</title>
    <link>https://community.splunk.com/t5/Getting-Data-In/Forwarder-Install-via-RPM-Failed-Dependencies/m-p/26407#M4352</link>
    <description>&lt;P&gt;FYI &lt;/P&gt;

&lt;P&gt;If you try to install the splunkforwarder repo rpm via dnf in Fedora 30, the installation will fail since the splunkforwarder package is not specifically looking for coreutils (i.e., bin, uname).&lt;/P&gt;

&lt;BLOCKQUOTE&gt;
&lt;P&gt;$ dnf install splunkforwarder-7.2.1 &lt;BR /&gt;
Last metadata expiration check: 0:20:59 ago on Mon 13 May 2019 03:23:11 PM CDT.&lt;BR /&gt;
Error:   Problem: conflicting requests&lt;BR /&gt;
  - nothing provides /bin/mv needed by splunkforwarder-7.2.1-be11b2c46e23.x86_64&lt;BR /&gt;
  - nothing provides &lt;STRONG&gt;/bin/uname&lt;/STRONG&gt; needed by splunkforwarder-7.2.1-be11b2c46e23.x86_64&lt;BR /&gt;
(try to add '--skip-broken' to skip uninstallable packages)&lt;/P&gt;
&lt;/BLOCKQUOTE&gt;

&lt;P&gt;...&lt;/P&gt;

&lt;BLOCKQUOTE&gt;
&lt;P&gt;$ dnf provides '*/uname' &lt;BR /&gt;
Last metadata expiration check: 0:32:15 ago on Mon 13 May 2019 03:23:11 PM CDT.&lt;BR /&gt;
coreutils-8.31-2.fc30.x86_64 : A set of basic GNU tools commonly used in shell scripts &lt;BR /&gt;
Repo        : @System&lt;BR /&gt;
Matched from: &lt;BR /&gt;
Filename    :   /usr/bin/uname&lt;BR /&gt;
...&lt;BR /&gt;
$ uname -a &lt;BR /&gt;
Linux splunkhost 5.0.13-300.fc30.x86_64 #1 SMP Mon May 6 00:39:45 UTC 2019 x86_64 x86_64 x86_64 GNU/Linux&lt;/P&gt;
&lt;/BLOCKQUOTE&gt;</description>
    <pubDate>Wed, 30 Sep 2020 00:33:43 GMT</pubDate>
    <dc:creator>rzoch</dc:creator>
    <dc:date>2020-09-30T00:33:43Z</dc:date>
    <item>
      <title>Forwarder Install via RPM: Failed Dependencies</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Forwarder-Install-via-RPM-Failed-Dependencies/m-p/26401#M4346</link>
      <description>&lt;P&gt;I'm currently trying to install a Splunk Forwarder onto a 64-bit CentOS box via RPM.  I'm logged into the machine as a user but "sudo -i" myself to root.  When I then try to install the Splunk Forwarder by executing:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;rpm -i splunkforwarder-4.3-115073.i386.rpm
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;...the install fails and I get the following message:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;error: Failed dependencies:
    /bin/uname is needed by splunkforwarder-4.3-115073.i386.rpm
    /bin/mv is needed by splunkforwarder-4.3-115073.i386.rpm
    /bin/sh is needed by splunkforwarder-4.3-115073.i386.rpm
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;All of these are on the machine already.  And I know I've run into this issue long before, and I can't remember what I did to resolve it anymore.  Anyone know, offhand, what may be causing this error?  Does it have to do with becoming root through "sudo -i" as opposed to logging in directly as root?&lt;/P&gt;

&lt;P&gt;Thanks.&lt;/P&gt;

&lt;UL&gt;
&lt;LI&gt;James&lt;/LI&gt;
&lt;/UL&gt;</description>
      <pubDate>Thu, 12 Apr 2012 23:01:23 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Forwarder-Install-via-RPM-Failed-Dependencies/m-p/26401#M4346</guid>
      <dc:creator>jchensor</dc:creator>
      <dc:date>2012-04-12T23:01:23Z</dc:date>
    </item>
    <item>
      <title>Re: Forwarder Install via RPM: Failed Dependencies</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Forwarder-Install-via-RPM-Failed-Dependencies/m-p/26402#M4347</link>
      <description>&lt;P&gt;jchensor,&lt;BR /&gt;
I don't think the "sudo -i" should affect that, but you could try using "sudo -s" instead, or just doing the entire install command with sudo:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;sudo rpm -Uvh splunkforwarder-4.3-115073.i386.rpm
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;If This doesn't work, you may want to check that those binaries are actually installed by an RPM package. (Not that I see why they wouldn't.)&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;rpm -qf /bin/uname
rpm -qf /bin/mv
rpm -qf /bin/sh
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;The commands uname and mv should be installed by coreutils (at least on RHEL) and sh should be installed by bash.&lt;BR /&gt;
HTH&lt;/P&gt;</description>
      <pubDate>Fri, 13 Apr 2012 06:36:12 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Forwarder-Install-via-RPM-Failed-Dependencies/m-p/26402#M4347</guid>
      <dc:creator>echalex</dc:creator>
      <dc:date>2012-04-13T06:36:12Z</dc:date>
    </item>
    <item>
      <title>Re: Forwarder Install via RPM: Failed Dependencies</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Forwarder-Install-via-RPM-Failed-Dependencies/m-p/26403#M4348</link>
      <description>&lt;P&gt;Hmm, I get the same error with sudo -s and just trying to sudo from my account that I'm logged in on.&lt;/P&gt;

&lt;P&gt;When I run the rpm -qf on the three items, it tells me that they are not owned by any package.  I'm not the best when it comes to Linux, so does that mean I need to do something to them to make them a part of an RPM package?&lt;/P&gt;

&lt;UL&gt;
&lt;LI&gt;James&lt;/LI&gt;
&lt;/UL&gt;</description>
      <pubDate>Fri, 13 Apr 2012 19:47:56 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Forwarder-Install-via-RPM-Failed-Dependencies/m-p/26403#M4348</guid>
      <dc:creator>jchensor</dc:creator>
      <dc:date>2012-04-13T19:47:56Z</dc:date>
    </item>
    <item>
      <title>Re: Forwarder Install via RPM: Failed Dependencies</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Forwarder-Install-via-RPM-Failed-Dependencies/m-p/26404#M4349</link>
      <description>&lt;P&gt;Oops! I notice that you specify you're using a 64-bit CentOS, but you're trying to install the 32-bit Splunk. I recommend you try downloading the 64-bit Splunk RPM instead.&lt;/P&gt;

&lt;P&gt;That being said, I still think that &lt;CODE&gt;rpm&lt;/CODE&gt; should know about those binaries being installed. Perhaps you could try installing using &lt;CODE&gt;--nodeps&lt;/CODE&gt;, but I don't think that's recommended. Using the tarball may be your best bet.&lt;/P&gt;

&lt;P&gt;Since CentOS is reportedly almost identical to RHEL, I think it should have at least &lt;CODE&gt;mv&lt;/CODE&gt; and &lt;CODE&gt;uname&lt;/CODE&gt; as parts of the coreutils package. Perhaps you could check for that package:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;rpm -ql coreutils |egrep '(uname|mv)'
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;If you can't see &lt;CODE&gt;/bin/mv&lt;/CODE&gt; or &lt;CODE&gt;/bin/uname&lt;/CODE&gt;, perhaps you should check whether using yum or rpm would help you.&lt;/P&gt;

&lt;P&gt;Which version of CentOS are you using?&lt;/P&gt;</description>
      <pubDate>Mon, 16 Apr 2012 14:59:14 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Forwarder-Install-via-RPM-Failed-Dependencies/m-p/26404#M4349</guid>
      <dc:creator>echalex</dc:creator>
      <dc:date>2012-04-16T14:59:14Z</dc:date>
    </item>
    <item>
      <title>Re: Forwarder Install via RPM: Failed Dependencies</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Forwarder-Install-via-RPM-Failed-Dependencies/m-p/26405#M4350</link>
      <description>&lt;P&gt;Hi, echalex!&lt;/P&gt;

&lt;P&gt;Thanks for the response.  I looked deeper into it and, yeah, this turns out to NOT be a Splunk problem.  RPM can just be screwy and, depending on how the machine is set up, might not "know" if things like uname and mv and such are actually installed.&lt;/P&gt;

&lt;P&gt;So I actually did use the "--nodeps" option and it worked just fine.  So it's installed properly and working great now!&lt;/P&gt;

&lt;P&gt;And yes, I noticed as well I was using the wrong installer.  ^_^  That didn't solve the dependency problem, but still was probably a good idea to fix that as well.  Hehehe.&lt;/P&gt;

&lt;P&gt;Thanks for your help, echalex!&lt;/P&gt;

&lt;UL&gt;
&lt;LI&gt;James&lt;/LI&gt;
&lt;/UL&gt;</description>
      <pubDate>Tue, 17 Apr 2012 18:14:11 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Forwarder-Install-via-RPM-Failed-Dependencies/m-p/26405#M4350</guid>
      <dc:creator>jchensor</dc:creator>
      <dc:date>2012-04-17T18:14:11Z</dc:date>
    </item>
    <item>
      <title>Re: Forwarder Install via RPM: Failed Dependencies</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Forwarder-Install-via-RPM-Failed-Dependencies/m-p/26406#M4351</link>
      <description>&lt;P&gt;Repeating what I said in my comment to echalex, it did turn out to NOT be a Splunk problem.  rpm can just be screwy and, depending on how the machine is set up, might not "know" if things like uname and mv and such are actually installed.&lt;/P&gt;

&lt;P&gt;So I used the "--nodeps" option when running rpm after confirming everything was there, and it all went through just fine and is working well now.&lt;/P&gt;

&lt;P&gt;So again, not a Splunk problem, actually an rpm problem.&lt;/P&gt;

&lt;UL&gt;
&lt;LI&gt;James&lt;/LI&gt;
&lt;/UL&gt;</description>
      <pubDate>Tue, 17 Apr 2012 18:16:16 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Forwarder-Install-via-RPM-Failed-Dependencies/m-p/26406#M4351</guid>
      <dc:creator>jchensor</dc:creator>
      <dc:date>2012-04-17T18:16:16Z</dc:date>
    </item>
    <item>
      <title>Re: Forwarder Install via RPM: Failed Dependencies</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Forwarder-Install-via-RPM-Failed-Dependencies/m-p/26407#M4352</link>
      <description>&lt;P&gt;FYI &lt;/P&gt;

&lt;P&gt;If you try to install the splunkforwarder repo rpm via dnf in Fedora 30, the installation will fail since the splunkforwarder package is not specifically looking for coreutils (i.e., bin, uname).&lt;/P&gt;

&lt;BLOCKQUOTE&gt;
&lt;P&gt;$ dnf install splunkforwarder-7.2.1 &lt;BR /&gt;
Last metadata expiration check: 0:20:59 ago on Mon 13 May 2019 03:23:11 PM CDT.&lt;BR /&gt;
Error:   Problem: conflicting requests&lt;BR /&gt;
  - nothing provides /bin/mv needed by splunkforwarder-7.2.1-be11b2c46e23.x86_64&lt;BR /&gt;
  - nothing provides &lt;STRONG&gt;/bin/uname&lt;/STRONG&gt; needed by splunkforwarder-7.2.1-be11b2c46e23.x86_64&lt;BR /&gt;
(try to add '--skip-broken' to skip uninstallable packages)&lt;/P&gt;
&lt;/BLOCKQUOTE&gt;

&lt;P&gt;...&lt;/P&gt;

&lt;BLOCKQUOTE&gt;
&lt;P&gt;$ dnf provides '*/uname' &lt;BR /&gt;
Last metadata expiration check: 0:32:15 ago on Mon 13 May 2019 03:23:11 PM CDT.&lt;BR /&gt;
coreutils-8.31-2.fc30.x86_64 : A set of basic GNU tools commonly used in shell scripts &lt;BR /&gt;
Repo        : @System&lt;BR /&gt;
Matched from: &lt;BR /&gt;
Filename    :   /usr/bin/uname&lt;BR /&gt;
...&lt;BR /&gt;
$ uname -a &lt;BR /&gt;
Linux splunkhost 5.0.13-300.fc30.x86_64 #1 SMP Mon May 6 00:39:45 UTC 2019 x86_64 x86_64 x86_64 GNU/Linux&lt;/P&gt;
&lt;/BLOCKQUOTE&gt;</description>
      <pubDate>Wed, 30 Sep 2020 00:33:43 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Forwarder-Install-via-RPM-Failed-Dependencies/m-p/26407#M4352</guid>
      <dc:creator>rzoch</dc:creator>
      <dc:date>2020-09-30T00:33:43Z</dc:date>
    </item>
    <item>
      <title>Re: Forwarder Install via RPM: Failed Dependencies</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Forwarder-Install-via-RPM-Failed-Dependencies/m-p/26408#M4353</link>
      <description>&lt;P&gt;Well that was quick! The latest rpm (splunkforwarder-7.2.6-c0bf0f679ce9) installs via dnf in Fedora 30 without any issues.&lt;/P&gt;</description>
      <pubDate>Fri, 17 May 2019 14:07:19 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Forwarder-Install-via-RPM-Failed-Dependencies/m-p/26408#M4353</guid>
      <dc:creator>rzoch</dc:creator>
      <dc:date>2019-05-17T14:07:19Z</dc:date>
    </item>
  </channel>
</rss>

