Koozali.org: home of the SME Server

Webfiltering problem, server upgrade

Offline hawk

  • *
  • 141
  • +0/-0
    • hawkelectronics
Webfiltering problem, server upgrade
« on: December 07, 2016, 01:11:02 PM »
Hi good people
i have just upgraded a server from SME8 to SME9, everything has gone fine until i wanted to install https://wiki.contribs.org/WebFiltering,

i have done the Epel and FWS, but as soon as i get to install yum --enablerepo=epel --enablerepo=fws install smeserver-webfilter

then i get the following error,

--> Processing Dependency: perl(:MODULE_COMPAT_5.8.8) for package: perl-File-Tail-0.99.3-5.el5.1.noarch
--> Finished Dependency Resolution
Error: Package: perl-File-Tail-0.99.3-5.el5.1.noarch (epel)
           Requires: perl(:MODULE_COMPAT_5.8.8)

Been looking for a while to try sort this out and hit a brick wall, anyone got any ideas to head me in the right direction

a bit of history, the sme 8 has not been updated since we had that samba problem with computers on the domain not being able to connected,

many thanks
john

Offline Stefano

  • *
  • 10,894
  • +3/-0
Re: Webfiltering problem, server upgrade
« Reply #1 on: December 07, 2016, 01:46:56 PM »
you're trying to install an el5 (centos5 - SM8) package..

reset your repositories, reconfigure epel and fws and retry

Offline hawk

  • *
  • 141
  • +0/-0
    • hawkelectronics
Re: Webfiltering problem, server upgrade
« Reply #2 on: December 08, 2016, 09:04:55 AM »
hi Stepano
thanks for that, i did suspect that and had tried it, after your message i tried again, three times,,,   hopeful.
It clears all the repositories, but doesn't solve my problem. exactly the same error,
will keep at it as i need the webfiltering to work on this server.
thanks

Offline Stefano

  • *
  • 10,894
  • +3/-0
Re: Webfiltering problem, server upgrade
« Reply #3 on: December 08, 2016, 12:08:13 PM »
Please, post here the output of
Code: [Select]
db yum_repositories show

Offline hawk

  • *
  • 141
  • +0/-0
    • hawkelectronics
Re: Webfiltering problem, server upgrade
« Reply #4 on: December 08, 2016, 12:42:09 PM »
[root@studentserver ~]# db yum_repositories show
base=repository
    EnableGroups=no
    Exclude=initscripts,libgsf
    GPGCheck=yes
    MirrorList=http://mirrorlist.centos.org/?release=$releasever&arch=$basearch&repo=os
    Name=CentOS - os
    Visible=yes
    status=enabled
centosplus=repository
    EnableGroups=no
    GPGCheck=yes
    MirrorList=http://mirrorlist.centos.org/?release=$releasever&arch=$basearch&repo=centosplus
    Name=CentOS - centosplus
    Visible=no
    status=disabled
contrib=repository
    EnableGroups=no
    GPGCheck=yes
    MirrorList=http://mirrorlist.centos.org/?release=$releasever&arch=$basearch&repo=contrib
    Name=CentOS - contrib
    Visible=no
    status=disabled
extras=repository
    EnableGroups=no
    GPGCheck=yes
    MirrorList=http://mirrorlist.centos.org/?release=$releasever&arch=$basearch&repo=extras
    Name=CentOS - extras
    Visible=no
    status=disabled
fasttrack=repository
    EnableGroups=no
    GPGCheck=yes
    MirrorList=http://mirrorlist.centos.org/?release=$releasever&arch=$basearch&repo=fasttrack
    Name=CentOS - fasttrack
    Visible=no
    status=disabled
smeaddons=repository
    EnableGroups=yes
    GPGCheck=yes
    MirrorList=http://mirrorlist.contribs.org/mirrorlist/smeaddons-9
    Name=SME Server - addons
    Visible=yes
    status=enabled
smecontribs=repository
    EnableGroups=yes
    GPGCheck=yes
    MirrorList=http://mirrorlist.contribs.org/mirrorlist/smecontribs-9
    Name=SME Server - contribs
    Visible=no
    status=disabled
smedev=repository
    EnableGroups=yes
    GPGCheck=yes
    MirrorList=http://mirrorlist.contribs.org/mirrorlist/smedev-9
    Name=SME Server - dev
    Visible=no
    status=disabled
smeextras=repository
    EnableGroups=yes
    GPGCheck=yes
    MirrorList=http://mirrorlist.contribs.org/mirrorlist/smeextras-9
    Name=SME Server - extras
    Visible=yes
    status=enabled
smeos=repository
    EnableGroups=yes
    GPGCheck=yes
    MirrorList=http://mirrorlist.contribs.org/mirrorlist/smeos-9
    Name=SME Server - os
    Visible=yes
    status=enabled
smetest=repository
    EnableGroups=yes
    GPGCheck=yes
    MirrorList=http://mirrorlist.contribs.org/mirrorlist/smetest-9
    Name=SME Server - test
    Visible=no
    status=disabled
smeupdates=repository
    EnableGroups=yes
    GPGCheck=yes
    MirrorList=http://mirrorlist.contribs.org/mirrorlist/smeupdates-9
    Name=SME Server - updates
    Visible=yes
    status=enabled
smeupdates-testing=repository
    EnableGroups=yes
    GPGCheck=yes
    MirrorList=http://mirrorlist.contribs.org/mirrorlist/smeupdates-testing-9
    Name=SME Server - updates testing
    Visible=yes
    status=disabled
updates=repository
    EnableGroups=no
    Exclude=initscripts,libgsf
    GPGCheck=yes
    MirrorList=http://mirrorlist.centos.org/?release=$releasever&arch=$basearch&repo=updates
    Name=CentOS - updates
    Visible=yes
    status=enabled


Offline Stefano

  • *
  • 10,894
  • +3/-0
Re: Webfiltering problem, server upgrade
« Reply #5 on: December 08, 2016, 12:45:20 PM »
Well, it seems you lack epel and fws repos
Please reconfigure then for SME9, and retry

Offline hawk

  • *
  • 141
  • +0/-0
    • hawkelectronics
[resolved] Re: Webfiltering problem, server upgrade
« Reply #6 on: December 09, 2016, 06:54:28 AM »
Yes Stefano you are correct, sorry my bad, i had run the Repo reset, Last night i tried several times to sort this out, eventually i had enough and left it, this morning i followed the exactly same steps i had been trying yesterday, and blow me down the flippin thing started working, I am totally confused, but i do suspect now that it was perhaps an internet problem. I really thought i was going crazy.

Stefano thanks for your help and keeping me sane.

thanks
john
#SMErocks
« Last Edit: December 09, 2016, 06:59:54 AM by hawk »

Offline Jean-Philippe Pialasse

  • *
  • 2,912
  • +11/-0
  • aka Unnilennium
    • http://smeserver.pialasse.com
Re: [resolved] Re: Webfiltering problem, server upgrade
« Reply #7 on: December 09, 2016, 04:15:34 PM »
Yes Stefano you are correct, sorry my bad, i had run the Repo reset, Last night i tried several times to sort this out, eventually i had enough and left it, this morning i followed the exactly same steps i had been trying yesterday, and blow me down the flippin thing started working, I am totally confused, but i do suspect now that it was perhaps an internet problem. I really thought i was going crazy.

Stefano thanks for your help and keeping me sane.

thanks
john
#SMErocks

good thing everything finally works.

As pointed Stefano about your first post : "perl-File-Tail-0.99.3-5.el5.1.noarch" indicates with the "el5" that you might have used the part of how to for SME8 ( el5 is for red hat enterprise linux 5 or centos 5 or SME8).
When you reset the repo db you erased all non base repo whiche gave what you show us. And now by following the right part of the how to you have isntalled the el6 packages for SME9.

this is a common mistake, and your post might help others !

Jean-Philippe