Koozali.org: home of the SME Server
Obsolete Releases => SME Server 8.x => Topic started by: wbell on May 13, 2011, 08:02:34 PM
-
According to the SME8.0 Contribs QA (http://wiki.contribs.org/SME8.0_Contribs_QA#smeserver-phpmyadmin), phpMyAdmin (http://wiki.contribs.org/PHPMyAdmin) should be installed "as per wiki," and it "works as expected". However, this is not the case.
Anyone have a workaround for this?
[root@test-sme8 ~]# yum --enablerepo=sme7contribs install smeserver-phpmyadmin
Loaded plugins: fastestmirror, protect-packages, smeserver
Loading mirror speeds from cached hostfile
* base: mirror.nic.uoregon.edu
* sme7contribs: smeserver.hkisl.net
* smeaddons: smeserver.hkisl.net
* smeextras: smeserver.hkisl.net
* smeos: smeserver.hkisl.net
* smeupdates: smeserver.hkisl.net
* updates: mirror.nic.uoregon.edu
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
The program package-cleanup is found in the yum-utils package.
[root@test-sme8 ~]#
:o
-
manually download phpmyadmin from smeaddons and yum localinstall.
http://ftp.nluug.nl/os/Linux/distr/smeserver/releases/7.5.1/smeaddons/i386/RPMS/
then try again. Some contribs have moved locations resulting in unresolved dependencies
-
manually download phpmyadmin from smeaddons and yum localinstall.
http://ftp.nluug.nl/os/Linux/distr/smeserver/releases/7.5.1/smeaddons/i386/RPMS/
then try again. Some contribs have moved locations resulting in unresolved dependencies
"Forbidden
You don't have permission to access /os/Linux/distr/smeserver/releases/7.5.1/smeaddons/i386/RPMS/ on this server.
Apache/2.2.3 (CentOS) Server at ftp.nluug.nl Port 80"
-
I manually downloaded the RPM here:
http://ftp.vim.org/pub/pub/os/Linux/distr/smeserver/releases/7/smecontribs/i386/RPMS/
However, there is still a dependency issue...
[root@test-sme8 ~]# yum localinstall smeserver-phpmyadmin-2.11.1.2-3.el4.sme.noarch.rpm
Loaded plugins: fastestmirror, protect-packages, smeserver
Setting up Local Package Process
Examining smeserver-phpmyadmin-2.11.1.2-3.el4.sme.noarch.rpm: smeserver-phpmyadmin-2.11.1.2-3.el4.sme.noarch
Marking smeserver-phpmyadmin-2.11.1.2-3.el4.sme.noarch.rpm to be installed
Loading mirror speeds from cached hostfile
* base: mirror.batblue.com
* smeaddons: distro.ibiblio.org
* smeextras: distro.ibiblio.org
* smeos: distro.ibiblio.org
* smeupdates: distro.ibiblio.org
* updates: mirror.metrocast.net
Excluding Packages from CentOS - os
Finished
Excluding Packages from CentOS - updates
Finished
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 /smeserver-phpmyadmin-2.11.1.2-3.el4.sme.noarch has depsolving problems
--> Missing Dependency: phpmyadmin is needed by package smeserver-phpmyadmin-2.11.1.2-3.el4.sme.noarch (/smeserver-phpmyadmin-2.11.1.2-3.el4.sme.noarch)
Error: Missing Dependency: phpmyadmin is needed by package smeserver-phpmyadmin-2.11.1.2-3.el4.sme.noarch (/smeserver-phpmyadmin-2.11.1.2-3.el4.sme.noarch)
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
The program package-cleanup is found in the yum-utils package.
[root@test-sme8 ~]#
:-(
-
Did you do:
yum localinstall phpmyadmin-2.11.11.3-1.el4.rf.noarch.rpm
and then:
yum --enablerepo=sme7contribs install smeserver-phpmyadmin
?
ps. pick a mirror close to you geographical location: http://mirror.contribs.org/mirrors/
-
Did you do:
yum localinstall phpmyadmin-2.11.11.3-1.el4.rf.noarch.rpm
and then:
yum --enablerepo=sme7contribs install smeserver-phpmyadmin
?
ps. pick a mirror close to you geographical location: http://mirror.contribs.org/mirrors/
The "phpmyadmin" package did not exist on either of the previous repositories.
See my next post, for the solution...
-
Okay... Thanks, to hawk (http://forums.contribs.org/index.php?action=profile;u=11258), for the solution (http://forums.contribs.org/index.php/topic,47302.msg234771.html#msg234771)...
http://www.sme-server.de/download/sme7/contribs/smecontribs/index.html
phpmyadmin-2.11.11.1-1.el4.rf.noarch.rpm (http://www.sme-server.de/download/sme7/contribs/smecontribs/phpmyadmin-2.11.11.1-1.el4.rf.noarch.rpm)
smeserver-phpmyadmin-2.11.1.2-3.el4.sme.noarch.rpm (http://www.sme-server.de/download/sme7/contribs/smecontribs/smeserver-phpmyadmin-2.11.1.2-3.el4.sme.noarch.rpm)
- yum localinstall phpmyadmin-2.11.11.1-1.el4.rf.noarch.rpm
- yum localinstall smeserver-phpmyadmin-2.11.1.2-3.el4.sme.noarch.rpm
- signal-event post-upgrade; signal-event reboot
:D
-
Did you do:
yum localinstall phpmyadmin-2.11.11.3-1.el4.rf.noarch.rpm
and then:
yum --enablerepo=sme7contribs install smeserver-phpmyadmin
?
ps. pick a mirror close to you geographical location: http://mirror.contribs.org/mirrors/
The "phpmyadmin" package did not exist on either of the previous repositories.
See my next post, for the solution...
SIDENOTE... I just checked several other repository mirrors, and the "phpmyadmin" package did NOT exist on those either! The "smeserver-phpmyadmin" package, however, was present.
:smile:
-
That's not an officially listed mirror. Use at your own risk. All official mirrors do have the package
For example:
http://distro.ibiblio.org/pub/linux/distributions/smeserver/releases/7.5.1/smeaddons/i386/RPMS/phpmyadmin-2.11.11.3-1.el4.rf.noarch.rpm
-
That's not an officially listed mirror. Use at your own risk. All official mirrors do have the package
For example:
http://distro.ibiblio.org/pub/linux/distributions/smeserver/releases/7.5.1/smeaddons/i386/RPMS/phpmyadmin-2.11.11.3-1.el4.rf.noarch.rpm
Okay, so that was partially my fault. I was looking in the "smecontribs" location, instead of "smeaddons".
But if that is the case, why did it not automatically find the package in my post HERE (http://forums.contribs.org/index.php/topic,47528.msg234782.html#msg234782)?
Yum is clearly looking in "smeaddons", of the "distro.ibiblio.org" repository.
{confused}
-
Yum is clearly looking in "smeaddons", of the "distro.ibiblio.org" repository.
Yes, but most likely for SME Server 8 smeaddons and not SME Server 7 smeaddons.
-
Yes, but most likely for SME Server 8 smeaddons and not SME Server 7 smeaddons.
Okay, so just for clarification...
When I execute the command... "yum --enablerepo=sme7contribs install smeserver-phpmyadmin"
It will not search the SME7 repository for dependencies. Correct?
:?
-
When I execute the command... "yum --enablerepo=sme7contribs install smeserver-phpmyadmin"
It will not search the SME7 repository for dependencies. Correct?
The sme7contribs is only a name as well as are all other repositories, the configuration will determine what packages are included as they determine at what location yum will look. Generally speaking on SME Server 8 yum will only look for SME Server 8 repositories, with SME Server 8 compatible packages, unless explicitly configured differently as done with sme7contribs in this case.
-
The sme7contribs is only a name as well as are all other repositories, the configuration will determine what packages are included as they determine at what location yum will look. Generally speaking on SME Server 8 yum will only look for SME Server 8 repositories, with SME Server 8 compatible packages, unless explicitly configured differently as done with sme7contribs in this case.
Yeah, I understand that "sme7contribs" is just a name.
I followed the Setup here: http://wiki.contribs.org/SME8.0_Contribs_QA#Setup
Then, I ran "yum --enablerepo=sme7contribs install smeserver-phpmyadmin", to explicitly define the "sme7contribs" repository to install from.
When doing so, it did not search the "sme7contribs" repository for the dependency. Instead, it searched the SME8 repository, which found nothing.
I would think that it should not only install the defined package from the explicit repository, but it should also look for dependencies there too, right?
In this case, it did not do that.
:-?
-
I would think that it should not only install the defined package from the explicit repository, but it should also look for dependencies there too, right?
No, it should only look in SME Server 8 repositories as it does. The sme7contribs option is a work around (since contribs are not released when we are still in beta). Packages in smeaddons for SME Server 7 can be incompatible with SME Server 8. SME Server 8 is still empty because of the earlier mentioned reason.
-
No, it should only look in SME Server 8 repositories as it does. The sme7contribs option is a work around (since contribs are not released when we are still in beta). Packages in smeaddons for SME Server 7 can be incompatible with SME Server 8. SME Server 8 is still empty because of the earlier mentioned reason.
Okay... So, for testing purposes, is there a way to explicitly define a dependency repository location?
-
Latest phpmyadmin (2.11.11.3-1.el5) at:
http://www.sme-server.de/download/sme8/contribs/smecontribs/index.html
Works ok in sme8b7.
-
Did you follow the guidelines for setup of SME8 contribs in:
http://wiki.contribs.org/index.php?title=SME8.0_Contribs_QA§ion=3#Setup
Particularly the line where it says to enable both sme7contribs AND smecontribs repos like in:
yum --enablerepo=sme7contribs --enablerepo=smecontribs install smeserver-phpmyadmin
which results in something like:
# yum --enablerepo=sme7contribs --enablerepo=smecontribs install smeserver-phpmyadmin
...
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
--> Running transaction check
---> Package phpmyadmin.noarch 0:2.11.11.3-2.el5.rf set to be updated
--> Processing Dependency: php-mcrypt for package: phpmyadmin
--> Running transaction check
---> Package php53-mcrypt.i386 0:5.3.3-1.el5 set to be updated
--> Processing Dependency: libmcrypt.so.4 for package: php53-mcrypt
--> Running transaction check
---> Package libmcrypt.i386 0:2.5.8-4.el5.centos set to be updated
--> Finished Dependency Resolution
Dependencies Resolved
=======================================================================================================================
Package Arch Version Repository Size
=======================================================================================================================
Installing:
smeserver-phpmyadmin noarch 2.11.1.2-3.el4.sme sme7contribs 9.1 k
Installing for dependencies:
libmcrypt i386 2.5.8-4.el5.centos smecontribs 116 k
php53-mcrypt i386 5.3.3-1.el5 smecontribs 16 k
phpmyadmin noarch 2.11.11.3-2.el5.rf smecontribs 4.2 M
Transaction Summary
=======================================================================================================================
Install 4 Package(s)
Upgrade 0 Package(s)
Total download size: 4.4 M
Is this ok [y/N]:
-
No, it wasn't working this way. I downloaded phpmyadmin from the above site, local-installed it (libmcrypt and php52-mcrypt auto installed), and then downloaded and local-installed again smeserver-phpmyadmin for the same site but the URL mentioned before. And i didn't reboot, only expanded the two templates and restarted httpd.
-
No, it wasn't working this way.
Fine, but in your original post:
[root@test-sme8 ~]# yum --enablerepo=sme7contribs install smeserver-phpmyadmin
you only showed that you enabled the sme7contribs repo and not the smecontribs repo as was suggested in the wiki.