PDA

View Full Version : SLES 11 SP3 Package installation assitance



Ritmo2k
25-Jan-2016, 00:13
Hi everyone,
I am new to SUSE, I have a SUSE 11 sp3 box for which I need to install Network Ups Tools on.

I have added the following two repos configured:

# zypper repos -d
# | Alias | Name | Enabled | Refresh | Priority | Type | URI | Service
--+----------+-----------------------------+---------+---------+----------+--------+----------------------------------------------------------------+--------
1 | hardware | Hardware tools (SLE_11_SP3) | Yes | Yes | 99 | rpm-md | http://download.opensuse.org/repositories/hardware/SLE_11_SP3/ |
2 | opensuse | opensuse | Yes | Yes | 99 | yast2 | http://download.opensuse.org/distribution/11.3/repo/oss/ |

However it looks like nut-drivers-net requires an older version of the netsnmp libs:


# zypper install nut nut-drivers-net
Loading repository data...
Reading installed packages...
Resolving package dependencies...

Problem: nothing provides libnetsnmp.so.15()(64bit) needed by nut-drivers-net-2.7.3-63.1.x86_64
Solution 1: do not install nut-drivers-net-2.7.3-63.1.x86_64
Solution 2: break nut-drivers-net-2.7.3-63.1.x86_64 by ignoring some of its dependencies

Choose from above solutions by number or cancel [1/2/c] (c): c

Could anyone shed some insight how I might get these packages installed?

Thanks!

ab
25-Jan-2016, 00:50
On 01/24/2016 04:14 PM, Ritmo2k wrote:
>
> Hi everyone,
> I am new to SUSE, I have a SUSE 11 sp3 box for which I need to install
> Network Ups Tools on.
>
> I have added the following two repos configured:

Why, exactly? It's not terrible, but it is probably causing your current
problem.

> Code:
> --------------------
> # zypper repos -d
> # | Alias | Name | Enabled | Refresh | Priority | Type | URI | Service
> --+----------+-----------------------------+---------+---------+----------+--------+----------------------------------------------------------------+--------
> 1 | hardware | Hardware tools (SLE_11_SP3) | Yes | Yes | 99 | rpm-md | http://download.opensuse.org/repositories/hardware/SLE_11_SP3/ |
> 2 | opensuse | opensuse | Yes | Yes | 99 | yast2 | http://download.opensuse.org/distribution/11.3/repo/oss/ |
> --------------------

You should be subscribed to the official repositories for SLE, not some
from openSUSE. These may work, but not being official you may get newer
(or older) versions of some packages, causing conflicts.

> However it looks like nut-drivers-net requires an older version of the
> netsnmp libs:
>
>
> Code:
> --------------------
> # zypper install nut nut-drivers-net
> Loading repository data...
> Reading installed packages...
> Resolving package dependencies...
>
> Problem: nothing provides libnetsnmp.so.15()(64bit) needed by nut-drivers-net-2.7.3-63.1.x86_64
> Solution 1: do not install nut-drivers-net-2.7.3-63.1.x86_64
> Solution 2: break nut-drivers-net-2.7.3-63.1.x86_64 by ignoring some of its dependencies
>
> Choose from above solutions by number or cancel [1/2/c] (c): c
> --------------------

From my SLES 11 SP-something server:



root@mybox0:~# zypper in nut
Loading repository data...
Reading installed packages...
Resolving package dependencies...

The following NEW packages are going to be installed:
libneon27 libupsclient1 nut nut-classic

4 new packages to install.
Overall download size: 982.0 KiB. After the operation, additional 4.4 MiB
will be used.
Continue? [y/n/?] (y):


--
Good luck.

If you find this post helpful and are logged into the web interface,
show your appreciation and click on the star below...

Ritmo2k
25-Jan-2016, 02:37
Hi ab,
On my box:


# zypper mr -d 2
Repository 'opensuse' has been successfully disabled.
# zypper mr -d 1
Repository 'hardware' has been successfully disabled.
# zypper in nut
Loading repository data...
Reading installed packages...
'nut' not found in package names. Trying capabilities.
No provider of 'nut' found.
Resolving package dependencies...

Nothing to do.

So it does not have any official repo setup. Reading up on suse versus opensuse, I take it there are no public repos but you can download the iso for free?

Sorry for the entry level questions, I do not have any experience with either suse or opensuse.

Thanks!