Koozali.org: home of the SME Server

RESOLVED :Problems of contrib's dependancie with sme8

Offline stephdl

  • *
  • 1,523
  • +0/-0
    • Linux et Geekeries
RESOLVED :Problems of contrib's dependancie with sme8
« on: July 02, 2011, 10:51:27 PM »
I try to test some contribs for sme8, and i have some probleme of dependancies to install them.
Normally this contribs are compatible with sme as i can read in the wiki

http://wiki.contribs.org/SME8.0_Contribs_QA

of course i made the setup to have the repository of contribs.

i speak about phpmyadmin, but also smeserver-openvpn-s2s and smeserver-openvpn-bridge, while they are marked as functional with sme8....

So I have missed something, if you can help me.

this is the repository of my sme8

Code: [Select]
db yum_repositories show
addons=repository
    EnableGroups=no
    GPGCheck=yes
    MirrorList=http://mirrorlist.centos.org/?release=$releasever&arch=$basearch&repo=addons
    Name=CentOS - addons
    Visible=no
    status=disabled
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
sme7contribs=repository
    GPGCheck=yes
    MirrorList=http://distro.ibiblio.org/pub/linux/distributions/smeserver/mirrorlist/smecontribs-7
    Name=SME 7 - contribs
    Visible=no
    status=disabled
smeaddons=repository
    EnableGroups=yes
    GPGCheck=yes
    MirrorList=http://distro.ibiblio.org/pub/linux/distributions/smeserver/mirrorlist/smeaddons-8
    Name=SME Server - addons
    Visible=yes
    status=enabled
smecontribs=repository
    EnableGroups=yes
    GPGCheck=yes
    MirrorList=http://distro.ibiblio.org/pub/linux/distributions/smeserver/mirrorlist/smecontribs-8
    Name=SME Server - contribs
    Visible=no
    status=disabled
smedev=repository
    EnableGroups=yes
    GPGCheck=yes
    MirrorList=http://distro.ibiblio.org/pub/linux/distributions/smeserver/mirrorlist/smedev-8
    Name=SME Server - dev
    Visible=no
    status=disabled
smeextras=repository
    EnableGroups=yes
    GPGCheck=yes
    MirrorList=http://distro.ibiblio.org/pub/linux/distributions/smeserver/mirrorlist/smeextras-8
    Name=SME Server - extras
    Visible=yes
    status=enabled
smeos=repository
    EnableGroups=yes
    GPGCheck=yes
    MirrorList=http://distro.ibiblio.org/pub/linux/distributions/smeserver/mirrorlist/smeos-8
    Name=SME Server - os
    Visible=yes
    status=enabled
smetest=repository
    EnableGroups=yes
    GPGCheck=yes
    MirrorList=http://distro.ibiblio.org/pub/linux/distributions/smeserver/mirrorlist/smetest-8
    Name=SME Server - test
    Visible=no
    status=disabled
smeupdates=repository
    EnableGroups=yes
    GPGCheck=yes
    MirrorList=http://distro.ibiblio.org/pub/linux/distributions/smeserver/mirrorlist/smeupdates-8
    Name=SME Server - updates
    Visible=yes
    status=enabled
smeupdates-testing=repository
    EnableGroups=yes
    GPGCheck=yes
    MirrorList=http://distro.ibiblio.org/pub/linux/distributions/smeserver/mirrorlist/smeupdates-testing-8
    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

when i try to install s2s this the sme give back

Code: [Select]
yum --enablerepo=sme7contribs install smeserver-openvpn-s2s
Loaded plugins: fastestmirror, protect-packages, smeserver
Loading mirror speeds from cached hostfile
 * base: mirror.in2p3.fr
 * sme7contribs: mirror.chiropratique.org
 * smeaddons: mirror.chiropratique.org
 * smeextras: mirror.chiropratique.org
 * smeos: mirror.chiropratique.org
 * smeupdates: mirror.chiropratique.org
 * updates: mirror.in2p3.fr
Excluding Packages from CentOS - os
Finished
Excluding Packages from CentOS - updates
Finished
Setting up Install Process
Resolving Dependencies
--> Running transaction check
---> Package smeserver-openvpn-s2s.noarch 0:0.1-16.el4.sme set to be updated
--> Processing Dependency: openvpn >= 2.1 for package: smeserver-openvpn-s2s
--> Finished Dependency Resolution
smeserver-openvpn-s2s-0.1-16.el4.sme.noarch from sme7contribs has depsolving problems
  --> Missing Dependency: openvpn >= 2.1 is needed by package smeserver-openvpn-s2s-0.1-16.el4.sme.noarch (sme7contribs)
Error: Missing Dependency: openvpn >= 2.1 is needed by package smeserver-openvpn-s2s-0.1-16.el4.sme.noarch (sme7contribs)
 You could try using --skip-broken to work around the problem
 You could try running: package-cleanup --problems
                        package-cleanup --dupes
                        rpm -Va --nofiles --nodigest

this is for phpmyadmin

Code: [Select]
[root@sme8 db]# yum --enablerepo=sme7contribs install smeserver-phpmyadmin
Loaded plugins: fastestmirror, protect-packages, smeserver
Loading mirror speeds from cached hostfile
 * base: mirror.in2p3.fr
 * sme7contribs: mirror.chiropratique.org
 * smeaddons: mirror.chiropratique.org
 * smeextras: mirror.chiropratique.org
 * smeos: mirror.chiropratique.org
 * smeupdates: mirror.chiropratique.org
 * updates: mirror.in2p3.fr
Excluding Packages from CentOS - os
Finished
Excluding Packages from CentOS - updates
Finished
Setting up Install Process
Resolving Dependencies
--> Running transaction check
---> Package smeserver-phpmyadmin.noarch 0:2.11.1.2-3.el4.sme set to be updated
--> Processing Dependency: phpmyadmin for package: smeserver-phpmyadmin
--> Finished Dependency Resolution
smeserver-phpmyadmin-2.11.1.2-3.el4.sme.noarch from sme7contribs has depsolving problems
  --> Missing Dependency: phpmyadmin is needed by package smeserver-phpmyadmin-2.11.1.2-3.el4.sme.noarch (sme7contribs)
Error: Missing Dependency: phpmyadmin is needed by package smeserver-phpmyadmin-2.11.1.2-3.el4.sme.noarch (sme7contribs)
 You could try using --skip-broken to work around the problem
 You could try running: package-cleanup --problems
                        package-cleanup --dupes
                        rpm -Va --nofiles --nodigest
« Last Edit: July 04, 2011, 06:06:13 PM by stephdl »
See http://wiki.contribs.org/Koozali_Foundation
irc : Freenode #sme_server #sme-fr

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

Offline johnp

  • *****
  • 312
  • +0/-0
Re: Problems of contrib's dependancie with sme8
« Reply #1 on: July 03, 2011, 07:06:43 AM »
Those files are in the addons repo, which you have disabled. You need to either enable for yum or via the command on install.

Offline stephdl

  • *
  • 1,523
  • +0/-0
    • Linux et Geekeries
Re: Problems of contrib's dependancie with sme8
« Reply #2 on: July 03, 2011, 07:12:41 AM »
Thank's

is it normal that the addon repo is disabled by default ?
can i actived it permanently
See http://wiki.contribs.org/Koozali_Foundation
irc : Freenode #sme_server #sme-fr

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

Offline stephdl

  • *
  • 1,523
  • +0/-0
    • Linux et Geekeries
Re: Problems of contrib's dependancie with sme8
« Reply #3 on: July 03, 2011, 07:23:38 AM »
sorry but i have just tryed it with the addons repo enabled by yum and it does not work

Code: [Select]
/sbin/e-smith/audittools/repositories
addons: enabled
base: enabled
centosplus: disabled
contrib: disabled
extras: disabled
sme7contribs: disabled
smeaddons: enabled
smecontribs: disabled
smedev: disabled
smeextras: enabled
smeos: enabled
smetest: disabled
smeupdates: enabled
smeupdates-testing: disabled
updates: enabled
« Last Edit: July 03, 2011, 07:26:28 AM by stephdl »
See http://wiki.contribs.org/Koozali_Foundation
irc : Freenode #sme_server #sme-fr

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

Offline johnp

  • *****
  • 312
  • +0/-0
Re: Problems of contrib's dependancie with sme8
« Reply #4 on: July 03, 2011, 05:21:44 PM »
My bad, they are actually in the smeaddons. It was late last night when I took a quick look

http://mirror.chiropratique.org/releases/7.5.1/smeaddons/i386/repoview/openvpn.html

http://mirror.chiropratique.org/releases/7.5.1/smeaddons/i386/repoview/phpmyadmin.html

You could always wget the files and do a local install

Offline CharlieBrady

  • *
  • 6,918
  • +3/-0
Re: Problems of contrib's dependancie with sme8
« Reply #5 on: July 03, 2011, 06:36:52 PM »
I try to test some contribs for sme8, and i have some probleme of dependancies to install them.

Please report each of these problems separately, via the bug tracker. That way each contrib author can be sure the problem is fixed, and we can keep track of which has been fixed and which not.

Offline stephdl

  • *
  • 1,523
  • +0/-0
    • Linux et Geekeries
Re: Problems of contrib's dependancie with sme8
« Reply #6 on: July 03, 2011, 07:12:33 PM »
Please report each of these problems separately, via the bug tracker. That way each contrib author can be sure the problem is fixed, and we can keep track of which has been fixed and which not.
ok charlie i will do it

i just would know that i have not missed something...
See http://wiki.contribs.org/Koozali_Foundation
irc : Freenode #sme_server #sme-fr

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

Offline johnp

  • *****
  • 312
  • +0/-0
Re: Problems of contrib's dependancie with sme8
« Reply #7 on: July 03, 2011, 10:05:56 PM »
Since you are testing :)
Try

yum --enablerepo=sme7contribs --enablerepo=smecontribs install smeserver-openvpn-s2s

yum --enablerepo=sme7contribs --enablerepo=smecontribs install smeserver-phpmyadmin


Offline stephdl

  • *
  • 1,523
  • +0/-0
    • Linux et Geekeries
Re: Problems of contrib's dependancie with sme8
« Reply #8 on: July 03, 2011, 11:37:08 PM »
"Dans le mile émile"

as we can say in french, you are right....
i need to give the smecontribs of sme8 to install them

do i need to give back to bugzilla or it's a normal way to install contribs of sme7 on sme8 ?

Edit : i put the procedure on the wiki...i don't know if it's a normal way, but it could certainly help someone :)

http://wiki.contribs.org/SME8.0_Contribs_QA#Setup
« Last Edit: July 03, 2011, 11:50:31 PM by stephdl »
See http://wiki.contribs.org/Koozali_Foundation
irc : Freenode #sme_server #sme-fr

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