Koozali.org: home of the SME Server

Awstats on SME Server 9.0

Offline peterhocking

  • ***
  • 90
  • +0/-0
    • Welcome to the Hockings at Canberra
Awstats on SME Server 9.0
« on: September 07, 2015, 01:46:42 PM »
Hi

I've just set up a new server running SME Server 9.0. I attampted to install awstats using "yum --enablerepo=dag,epel,smedev install smeserver-awstats" but got the error message "Error: Package: smeserver-awstats-1.3-1.el6.sme.noarch (smedev)
           Requires: awstats >= 6.5"

Can anyone assist me with sorting this out please?

TIA

Peter

guest22

Re: Awstats on SME Server 9.0
« Reply #1 on: September 07, 2015, 02:48:09 PM »
Did you really enabled those repositories? smedev should not be required at all.

Try:
yum --enablerepo=dag --enablerepo=epel install smeserver-awstats

Offline stephdl

  • *
  • 1,519
  • +0/-0
    • Linux et Geekeries
Re: Awstats on SME Server 9.0
« Reply #2 on: September 07, 2015, 03:29:04 PM »
workable here but the smeserver-awstats is not released, see http://bugs.contribs.org/show_bug.cgi?id=8435

Code: [Select]
[root@sme9dev3 ~]# yum --enablerepo=dag,epel,smedev install smeserver-awstats
Modules complémentaires chargés : fastestmirror, smeserver
Configuration du processus d'installation
Loading mirror speeds from cached hostfile
 * base: mirror0.babylon.network
 * epel: ftp.nluug.nl
 * smeaddons: koozali.groenz.co.nz
 * smedev: koozali.groenz.co.nz
 * smeextras: koozali.groenz.co.nz
 * smeos: koozali.groenz.co.nz
 * smeupdates: koozali.groenz.co.nz
 * updates: mirror.in2p3.fr
base                                                                                                                                                                                        | 3.7 kB     00:00     
dag                                                                                                                                                                                         | 1.9 kB     00:00     
epel                                                                                                                                                                                        | 4.3 kB     00:00     
epel/primary_db                                                                                                                                                                             | 4.9 MB     00:04     
smeaddons                                                                                                                                                                                   | 2.9 kB     00:00     
smedev                                                                                                                                                                                      | 2.9 kB     00:00     
smedev/primary_db                                                                                                                                                                           |  84 kB     00:00     
smeextras                                                                                                                                                                                   | 2.9 kB     00:00     
smeos                                                                                                                                                                                       | 3.1 kB     00:00     
smeupdates                                                                                                                                                                                  | 2.9 kB     00:00     
updates                                                                                                                                                                                     | 3.4 kB     00:00     
Résolution des dépendances
--> Lancement de la transaction de test
---> Package smeserver-awstats.noarch 0:1.3-1.el6.sme will be installé
--> Traitement de la dépendance : awstats >= 6.5 pour le paquet : smeserver-awstats-1.3-1.el6.sme.noarch
--> Lancement de la transaction de test
---> Package awstats.noarch 0:7.1-1.el6.rf will be installé
--> Traitement de la dépendance : perl(Geo::IP) pour le paquet : awstats-7.1-1.el6.rf.noarch
--> Lancement de la transaction de test
---> Package perl-Geo-IP.i686 0:1.38-6.el6 will be installé
--> Résolution des dépendances terminée

Dépendances résolues

===================================================================================================================================================================================================================
 Paquet                                                   Architecture                                  Version                                                Dépôt                                         Taille
===================================================================================================================================================================================================================
Installation:
 smeserver-awstats                                        noarch                                        1.3-1.el6.sme                                          smedev                                         31 k
Installation pour dépendance:
 awstats                                                  noarch                                        7.1-1.el6.rf                                           dag                                           1.1 M
 perl-Geo-IP                                              i686                                          1.38-6.el6                                             epel                                           84 k

Résumé de la transaction
===================================================================================================================================================================================================================
Installation de     3 paquet(s)

Taille totale des téléchargements : 1.2 M
Taille d'installation : 3.6 M
See http://wiki.contribs.org/Koozali_Foundation
irc : Freenode #sme_server #sme-fr

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

Offline stephdl

  • *
  • 1,519
  • +0/-0
    • Linux et Geekeries
Re: Awstats on SME Server 9.0
« Reply #3 on: September 07, 2015, 04:55:08 PM »
I have released a new version

* Mon Sep 7 2015 stephane de Labrusse <stephdl@de-labrusse.fr> 1.3-3.sme
- added smeserver-awstats-1.3.bz8450.remove_ExternalIP-LocalIP.patch
- removed ExternalIP_LocalIP_ExternalNetmask [SME: 8450]

/usr/bin/plague-client build smeserver-awstats smeserver-awstats-1_3-3_el6_sme contribs9
Package smeserver-awstats enqueued.  Job ID: 412.

it will be available soon in smedev or smetest, please can you test and report in http://bugs.contribs.org/show_bug.cgi?id=8435
See http://wiki.contribs.org/Koozali_Foundation
irc : Freenode #sme_server #sme-fr

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

Offline peterhocking

  • ***
  • 90
  • +0/-0
    • Welcome to the Hockings at Canberra
Re: Awstats on SME Server 9.0
« Reply #4 on: September 08, 2015, 12:30:10 AM »
As suggested Itried yum --enablerepo=dag,epel,smedev install smeserver-awstats & the following happened;

[root@server ~]# yum --enablerepo=dag,epel,smedev install smeserver-awstats
Loaded plugins: fastestmirror, smeserver
Setting up Install Process
Loading mirror speeds from cached hostfile
 * base: mirror.rackcentral.com.au
 * 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: mirror.overthewire.com.au
smedev                                                                                                               | 2.9 kB     00:00
smedev/primary_db                                                                                                    |  87 kB     00:01
Resolving Dependencies
--> Running transaction check
---> Package smeserver-awstats.noarch 0:1.3-3.el6.sme will be installed
--> Processing Dependency: awstats >= 6.5 for package: smeserver-awstats-1.3-3.el6.sme.noarch
--> Finished Dependency Resolution
Error: Package: smeserver-awstats-1.3-3.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
[root@server ~]#

So no success!

Peter

guest22

Re: Awstats on SME Server 9.0
« Reply #5 on: September 08, 2015, 12:45:42 AM »
As suggested Itried yum --enablerepo=dag,epel,smedev install smeserver-awstats & the following happened;



As per my earlier suggestion, please try:


yum install smeserver-awstats --enablerepo=dag --enablerepo=epel --enablerepo=smedev


and share the outcome

Offline peterhocking

  • ***
  • 90
  • +0/-0
    • Welcome to the Hockings at Canberra
Re: Awstats on SME Server 9.0
« Reply #6 on: September 08, 2015, 02:19:11 AM »
Thanks for your help


As per my earlier suggestion, please try:


yum install smeserver-awstats --enablerepo=dag --enablerepo=epel --enablerepo=smedev


and share the outcome

I did as you suggested, it was unsuccessful, see below:

[root@server ~]# yum install smeserver-awstats --enablerepo=dag --enablerepo=epel --enablerepo=smedev
Loaded plugins: fastestmirror, smeserver


Error getting repository data for dag, repository not found
[root@server ~]#

Peter

guest22

Re: Awstats on SME Server 9.0
« Reply #7 on: September 08, 2015, 06:56:23 AM »
So you need to configure the DAG repository. See the wiki

Offline peterhocking

  • ***
  • 90
  • +0/-0
    • Welcome to the Hockings at Canberra
Re: Awstats on SME Server 9.0
« Reply #8 on: October 03, 2015, 01:30:34 PM »
Thanks for your help, its all working now!

Peter