LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices


Reply
  Search this Thread
Old 09-08-2022, 06:17 AM   #1
1s440
Member
 
Registered: Mar 2018
Posts: 266

Rep: Reputation: Disabled
Package installation error


Hi all,

I am trying to install the rpm package of iperf3 and when i tried to install it i get the below error.

Code:
error: Failed dependencies:
        libiperf.so.0()(64bit) is needed by iperf-3.1.2-1.1.x86_64
when i try to install libiperf0 for suse, then again i get the below error.

Code:
Reading installed packages...
'libiperf0' not found in package names. Trying capabilities.
No provider of 'libiperf0' found.
Resolving package dependencies...
Nothing to do.

Last edited by 1s440; 09-08-2022 at 07:07 AM.
 
Old 09-08-2022, 07:15 AM   #2
TB0ne
LQ Guru
 
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 26,757

Rep: Reputation: 7983Reputation: 7983Reputation: 7983Reputation: 7983Reputation: 7983Reputation: 7983Reputation: 7983Reputation: 7983Reputation: 7983Reputation: 7983Reputation: 7983
Quote:
Originally Posted by 1s440 View Post
Hi all,
I am trying to install the rpm package of iperf3 and when i tried to install it i get the below error.
Code:
error: Failed dependencies:
        libiperf.so.0()(64bit) is needed by iperf-3.1.2-1.1.x86_64
when i try to install libiperf0 for suse, then again i get the below error.
Code:
Reading installed packages...
'libiperf0' not found in package names. Trying capabilities.
No provider of 'libiperf0' found.
Resolving package dependencies...Nothing to do.
Ok...and if you told us what version/distro of Linux you're using, we might be able to give you some ideas. You don't say how you're trying to install it, or where you got the package from, but typically things like dnf, yum, or zypper will install the dependencies for you.

Without actual details, there's not much we can tell you.
 
Old 09-08-2022, 07:22 AM   #3
1s440
Member
 
Registered: Mar 2018
Posts: 266

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by TB0ne View Post
Ok...and if you told us what version/distro of Linux you're using, we might be able to give you some ideas. You don't say how you're trying to install it, or where you got the package from, but typically things like dnf, yum, or zypper will install the dependencies for you.

Without actual details, there's not much we can tell you.
OS is Suselinux, yum doesnot work there. I have downloaded rpm packages and trying to do it via bash script. unfortunately it doesnot work.

Code:
#!/bin/bash
host="host1 host2"
file1="libiperf0-3.5-lp152.3.6.x86_64.rpm"
file2="iperf-3.1.2-1.1.x86_64.rpm"
lib="rpm -Uhv $file1"
pkg="rpm -Uhv $file2"
for hostname in ${hosts} ; do
    scp /home/tmp/$file1 $file2 $hostname:/tmp/;
    ssh ${hostname} cd /tmp/
	$lib $pkg
done

Last edited by 1s440; 09-08-2022 at 07:24 AM.
 
Old 09-08-2022, 07:40 AM   #4
TB0ne
LQ Guru
 
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 26,757

Rep: Reputation: 7983Reputation: 7983Reputation: 7983Reputation: 7983Reputation: 7983Reputation: 7983Reputation: 7983Reputation: 7983Reputation: 7983Reputation: 7983Reputation: 7983
Quote:
Originally Posted by 1s440 View Post
OS is Suselinux, yum doesnot work there. I have downloaded rpm packages and trying to do it via bash script. unfortunately it doesnot work.
Again, you *STILL* provide no details, and don't answer the questions you were asked. You say "suselinux"....do you mean openSUSE or SLES? What version? And AGAIN, where did you download those packages??? And as said, why don't you use zypper to install them, since it resolves dependencies, because....
Quote:
Code:
#!/bin/bash
host="host1 host2"
file1="libiperf0-3.5-lp152.3.6.x86_64.rpm"
file2="iperf-3.1.2-1.1.x86_64.rpm"
lib="rpm -Uhv $file1"
pkg="rpm -Uhv $file2"
for hostname in ${hosts} ; do
    scp /home/tmp/$file1 $file2 $hostname:/tmp/;
    ssh ${hostname} cd /tmp/
	$lib $pkg
done
...this is fairly pointless for two packages on a single system. But it appears as if you want to install these on multiple systems, and you don't say anything about THOSE either. What is your actual goal here?? Answer the questions asked, and provide a clear description of things. Having to guess isn't good.

::EDIT::
You rarely follow up in your threads, and quite often don't provide details/ask a clear question:
https://www.linuxquestions.org/quest...ay-4175714879/
https://www.linuxquestions.org/quest...nd-4175713261/
https://www.linuxquestions.org/quest...ns-4175703315/
https://www.linuxquestions.org/quest...le-4175712393/

Last edited by TB0ne; 09-08-2022 at 07:43 AM.
 
Old 09-08-2022, 07:58 AM   #5
1s440
Member
 
Registered: Mar 2018
Posts: 266

Original Poster
Rep: Reputation: Disabled
OpenSuse 15 version and I wanted to install on multiple hosts. I tried to download the packages from opensusepackages.org
I tried to use zypper, but you see i got an error when using zypper.
The two packages are one is library package and the iperf package, as it throwed me an error, i tried to install both. Goal is to distribute iperf packages and then install them on remote hosts. Hope its clear now
 
Old 09-08-2022, 08:06 AM   #6
TB0ne
LQ Guru
 
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 26,757

Rep: Reputation: 7983Reputation: 7983Reputation: 7983Reputation: 7983Reputation: 7983Reputation: 7983Reputation: 7983Reputation: 7983Reputation: 7983Reputation: 7983Reputation: 7983
Quote:
Originally Posted by 1s440 View Post
OpenSuse 15 version and I wanted to install on multiple hosts. I tried to download the packages from opensusepackages.org I tried to use zypper, but you see i got an error when using zypper. The two packages are one is library package and the iperf package, as it throwed me an error, i tried to install both. Goal is to distribute iperf packages and then install them on remote hosts. Hope its clear now
And **AGAIN** you omit details. You "got an error"...but don't bother telling us what the error IS, so what do you think we'll be able to tell you??? And there is NO WEBSITE (that I can reach, at least), called 'opensusepackages.org', so again...you don't provide THAT information.

iperf is available from software.opensuse.org for 15.2 and 15.3; 15.4 lists both iperf and libiperf0 as a community repository. So AGAIN, typing in "zypper install iperf" will install what's needed, if you enable that repository for 15.4 (you AGAIN don't say what version beyond 15). Enable the repository, type in "zypper install iperf", and press ENTER. That's it; works on any openSUSE 15.x system.
 
Old 09-08-2022, 08:36 AM   #7
1s440
Member
 
Registered: Mar 2018
Posts: 266

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by TB0ne View Post
And **AGAIN** you omit details. You "got an error"...but don't bother telling us what the error IS, so what do you think we'll be able to tell you??? And there is NO WEBSITE (that I can reach, at least), called 'opensusepackages.org', so again...you don't provide THAT information.

I have pasted zypper error on the first messsage itself.

iperf is available from software.opensuse.org for 15.2 and 15.3; 15.4 lists both iperf and libiperf0 as a community repository. So AGAIN, typing in "zypper install iperf" will install what's needed, if you enable that repository for 15.4 (you AGAIN don't say what version beyond 15). Enable the repository, type in "zypper install iperf", and press ENTER. That's it; works on any openSUSE 15.x system.
I added repository and tried to do install as per the commands given on software.opensuse.org but i get below error.

Code:
Download (curl) error for 'https://download.opensuse.org/repositories/network:utilities/15.2/network:utilities.repo':
Error code: Connection failed
Error message: Could not resolve host: download.opensuse.org
More over i wanted to do this installation on multiple hosts so i would download package and do it
 
Old 09-08-2022, 09:32 AM   #8
TB0ne
LQ Guru
 
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 26,757

Rep: Reputation: 7983Reputation: 7983Reputation: 7983Reputation: 7983Reputation: 7983Reputation: 7983Reputation: 7983Reputation: 7983Reputation: 7983Reputation: 7983Reputation: 7983
Quote:
Originally Posted by 1s440 View Post
I added repository and tried to do install as per the commands given on software.opensuse.org but i get below error.
Code:
Download (curl) error for 'https://download.opensuse.org/repositories/network:utilities/15.2/network:utilities.repo':
Error code: Connection failed
Error message: Could not resolve host: download.opensuse.org
And you *STILL* don't answer questions...we now know it's 15.2, only because of the message you posted. You *STILL* don't tell us how you added this repository, or even WHY...since iperf is part of the official 15.2 repos.
https://build.opensuse.org/repositor...eap:15.2/iperf
Quote:
More over i wanted to do this installation on multiple hosts so i would download package and do it
...which is pointless, since (AGAIN) if they're all 15.2, and configured correctly, you can just (AGAIN) type in "zypper install iperf". And since you've asked about running commands on multiple hosts before, and scripting such things, you ALSO know how to script/do this.
 
Old 09-13-2022, 10:02 AM   #9
elgrandeperro
Member
 
Registered: Apr 2021
Posts: 415
Blog Entries: 2

Rep: Reputation: Disabled
download.opensuse.org is definitely in DNS:

dig +short -t a download.opensuse.org
195.135.221.134

Verify your DNS server settings and why it doesn't resolve.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] No package 'x11' found No package 'xext' found No package 'xdamage' found No package 'xfixes' found No package 'x11-xcb' found Jigsaw Linux From Scratch 14 02-23-2021 08:35 PM
Package needs re-installation, but package cannot be found woodbase Debian 4 09-26-2006 01:07 PM
Yum Error: Transaction Check Error package x(which is newer than package y)... godsk Linux - Newbie 0 06-05-2006 07:13 AM
message "Problem during installation: x package needed for (installed) x package frayed2 Linux - Newbie 1 04-24-2005 07:05 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 02:31 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration