Problem installing nethserver 6 rpm onto fresh centos 6.8

I install CentOs 6.8 minimal install. ok I have network and update. When I try
yum localinstall -y http://mirror.nethserver.org/nethserver/nethserver-release-6.rpm

I get:
Loaded plugins: fastestmirror
Setting up Local Package Process
nethserver-release-6.rpm | 24 kB 00:00
Examining /var/tmp/yum-root-3S_OMh/nethserver-release-6.rpm: nethserver-release-6.8-1.ns6.noarch
Marking /var/tmp/yum-root-3S_OMh/nethserver-release-6.rpm to be installed
Loading mirror speeds from cached hostfile

  • base: mirror.yandex.ru
  • extras: mirror.yandex.ru
  • updates: mirror.yandex.ru
    Resolving Dependencies
    –> Running transaction check
    —> Package nethserver-release.noarch 0:6.8-1.ns6 will be installed
    –> Processing Dependency: nethserver-firewall-base for package: nethserver-release-6.8-1.ns6.noarch
    –> Finished Dependency Resolution
    Error: Package: nethserver-release-6.8-1.ns6.noarch (/nethserver-release-6)
    Requires: nethserver-firewall-base
    You could try using --skip-broken to work around the problem
    You could try running: rpm -Va --nofiles --nodigest

Can you help me?

I don’t know why nethserver-firewall-base is a dependency, probably it should be removed.

As workaround download nethserver-release locally then install it with rpm, ignoring the dependencies.

1 Like

I do not know too. I think it is mistake in rpm, but I cannot resolve it myself

I have only usb stick to install and have not option nethserver install

if I try
yum localinstall -y http://mirror.nethserver.org/nethserver/nethserver-release-6.rpm --skip-broken
Loaded plugins: fastestmirror
Setting up Local Package Process
nethserver-release-6.rpm | 24 kB 00:00
Examining /var/tmp/yum-root-3S_OMh/nethserver-release-6.rpm: nethserver-release-6.8-1.ns6.noarch
Marking /var/tmp/yum-root-3S_OMh/nethserver-release-6.rpm to be installed
Loading mirror speeds from cached hostfile

  • base: mirror.yandex.ru
  • extras: mirror.yandex.ru
  • updates: mirror.yandex.ru
    Resolving Dependencies
    –> Running transaction check
    —> Package nethserver-release.noarch 0:6.8-1.ns6 will be installed
    –> Processing Dependency: nethserver-firewall-base for package: nethserver-release-6.8-1.ns6.noarch

Packages skipped because of dependency problems:
nethserver-release-6.8-1.ns6.noarch from /nethserver-release-6

Same here. Also @Vinny74 found the same problem some days back.

This can help:

Download nethserver-release rpm:

curl -O http://mirror.nethserver.org/nethserver/nethserver-release-6.rpm

Install rpm package (you may get an error about gpg keys):

rpm -i --nodeps nethserver-release-6.rpm

Install NethServer:

nethserver-install

Remove downloaded package once successfully installed:

rm nethserver-release-6.rpm
2 Likes

thank you
it is working

1 Like

@vores, you’re welcome. Thanks to @davidep who brought us the solution.

@davidep, line 14 of nethserver-release.spec file for v6.8 contains: Requires: nethserver-firewall-base

2 Likes

Thank you @dnutan, I’m away from keyboard and couldn’t guess the exact commands as you did!

I will go in depth on this tomorrow!


Bug fixed: http://dev.nethserver.org/issues/3410

1 Like

Wow great job Mark :slight_smile: eagle-eye