Koozali.org: home of the SME Server

awstats

Offline ElFroggio

  • *
  • 262
  • +0/-0
awstats
« on: October 12, 2014, 06:07:22 AM »
Hi,

I'm in the process of converting from sme8 to sme9 and I can't install awstats

Code: [Select]
yum --enablerepo=dag,epel,smedev install smeserver-awstats
Loaded plugins: fastestmirror, smeserver
Loading mirror speeds from cached hostfile
 * base: mirror.netflash.net
 * smeaddons: mirror.canada.pialasse.com
 * smedev: mirror.canada.pialasse.com
 * smeextras: mirror.canada.pialasse.com
 * smeos: mirror.canada.pialasse.com
 * smeupdates: mirror.canada.pialasse.com
 * updates: www.muug.mb.ca
smedev                                                                                                                       | 2.9 kB     00:00     
Setting up Install Process
Resolving Dependencies
--> Running transaction check
---> Package smeserver-awstats.noarch 0:1.3-1.el6.sme will be installed
--> Processing Dependency: awstats >= 6.5 for package: smeserver-awstats-1.3-1.el6.sme.noarch
--> Finished Dependency Resolution
Error: Package: smeserver-awstats-1.3-1.el6.sme.noarch (smedev)
           Requires: awstats >= 6.5
 You could try using --skip-broken to work around the problem
 You could try running: rpm -Va --nofiles --nodigest

and

Code: [Select]
rpm -ivh perl-Geo-IP-1.38-6.el6.i686.rpm
error: Failed dependencies:
libGeoIP.so.1 is needed by perl-Geo-IP-1.38-6.el6.i686
libc.so.6 is needed by perl-Geo-IP-1.38-6.el6.i686
libc.so.6(GLIBC_2.0) is needed by perl-Geo-IP-1.38-6.el6.i686
libc.so.6(GLIBC_2.1.3) is needed by perl-Geo-IP-1.38-6.el6.i686

Any suggestion what I'm missing?

Thanks

Syv

Offline janet

  • ****
  • 4,812
  • +0/-0
Re: awstats
« Reply #1 on: October 12, 2014, 09:16:04 AM »
ElFroggio

Do you have the dag & epel repos configured on your server ?
show output of

db yum_repositories show

 
Quote
Error: Package: smeserver-awstats-1.3-1.el6.sme.noarch (smedev)
           Requires: awstats >= 6.5

rpm -ivh perl-Geo-IP-1.38-6.el6.i686.rpm
error: Failed dependencies:
   libGeoIP.so.1 is needed by perl-Geo-IP-1.38-6.el6.i686
   libc.so.6 is needed by perl-Geo-IP-1.38-6.el6.i686
   libc.so.6(GLIBC_2.0) is needed by perl-Geo-IP-1.38-6.el6.i686
   libc.so.6(GLIBC_2.1.3) is needed by perl-Geo-IP-1.38-6.el6.i686

Refer
http://wiki.contribs.org/SME9.0_Contribs_QA#smeserver-awstats
ie
awstats from dag, perl-Geo-IP from epel
Please search before asking, an answer may already exist.
The Search & other links to useful information are at top of Forum.

Offline ElFroggio

  • *
  • 262
  • +0/-0
Re: awstats
« Reply #2 on: October 12, 2014, 07:55:49 PM »
ElFroggio

Do you have the dag & epel repos configured on your server ?
show output of

db yum_repositories show

 
Refer
http://wiki.contribs.org/SME9.0_Contribs_QA#smeserver-awstats
ie
awstats from dag, perl-Geo-IP from epel

Code: [Select]
db yum_repositories show
base=repository
    EnableGroups=no
    Exclude=initscripts,libgsf,openssl
    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
stephdl=repository
    BaseURL=http://mirror.de-labrusse.fr/smeserver/$releasever
    EnableGroups=no
    GPGCheck=yes
    GPGKey=http://mirror.de-labrusse.fr/RPM-GPG-KEY
    Name=Mirror de Labrusse
    Visible=yes
    status=disabled
updates=repository
    EnableGroups=no
    Exclude=initscripts,libgsf,openssl
    GPGCheck=yes
    MirrorList=http://mirrorlist.centos.org/?release=$releasever&arch=$basearch&repo=updates
    Name=CentOS - updates
    Visible=yes
    status=enabled

I do have the stephdl but obviously I'm missing something else.

Offline stephdl

  • *
  • 1,519
  • +0/-0
    • Linux et Geekeries
Re: awstats
« Reply #3 on: October 12, 2014, 08:01:02 PM »
Indeed, often more it is bigger, more we can't see it  :lol:

EDIT : You should install epel and dag repositories
« Last Edit: October 12, 2014, 08:05:50 PM by stephdl »
See http://wiki.contribs.org/Koozali_Foundation
irc : Freenode #sme_server #sme-fr

!!! Please write your knowledge to the Wiki !!!

Offline ElFroggio

  • *
  • 262
  • +0/-0
Re: [solved] awstats
« Reply #4 on: October 12, 2014, 08:04:49 PM »
I did found the problem, I was missing DAG as a defined repository

Thanks

Syv

Offline janet

  • ****
  • 4,812
  • +0/-0
Re: [solved] awstats
« Reply #5 on: October 12, 2014, 10:20:55 PM »
ElFroggio

You need to configure BOTH  the dag & epel repos.

Note you cannot use repos in commands unless those repos are already configured on your server (or installed as you refer to it).
See the FAQ  (Installation) for details of repo configuration, which links to here
http://wiki.contribs.org/Category:Yum_Repository
« Last Edit: October 12, 2014, 10:30:20 PM by janet »
Please search before asking, an answer may already exist.
The Search & other links to useful information are at top of Forum.