Obsolete Releases > SME 8.x Contribs

Installing Contribs in sme without internet access

<< < (3/8) > >>

TerryF:
This what you get with a normal instal of phpmyadmin

[root@sme8vmcontribs32 ~]# yum --enablerepo=smecontribs install smeserver-phpmyadmin
Loaded plugins: fastestmirror, protect-packages, smeserver
Loading mirror speeds from cached hostfile
 * base: mirror.mel.bkb.net.au
 * smeaddons: mirror.canada.pialasse.com
 * smecontribs: mirror.canada.pialasse.com
 * smeextras: mirror.canada.pialasse.com
 * smeos: mirror.canada.pialasse.com
 * smeupdates: mirror.canada.pialasse.com
 * updates: mirror.mel.bkb.net.au
smecontribs                                              | 2.5 kB     00:00
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:3.5.2.2-6.el5.sme set to be updated
--> Processing Dependency: phpMyAdmin3 >= 3.5.2.2 for package: smeserver-phpmyadmin
--> Running transaction check
---> Package phpMyAdmin3.noarch 0:3.5.8.1-1.el5 set to be updated
--> Processing Dependency: php53-php-gettext for package: phpMyAdmin3
--> Processing Dependency: php53-mcrypt for package: phpMyAdmin3
--> 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
---> Package php53-php-gettext.noarch 0:1.0.11-3.el5 set to be updated
--> 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    3.5.2.2-6.el5.sme       smecontribs     11 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
 php53-php-gettext       noarch    1.0.11-3.el5            smecontribs     20 k
 phpMyAdmin3             noarch    3.5.8.1-1.el5           smecontribs    6.1 M

Transaction Summary
================================================================================
Install       5 Package(s)
Upgrade       0 Package(s)

Total download size: 6.3 M

mealogav:
Thanks Terry.
So from your "normal" install output it would appear that I have all the right packages.  I can't work out if it a version problem (ie I have a newer version of the phpMyAdmin3 than is expected) or what the problem is.

Is my command correct?
yum localinstall smeserver-phpmyadmin-3.5.2.2-6.el5.sme.noarch.rpm

Or should there be an "install" in the command - like your version?
yum localinstall install smeserver-phpmyadmin-3.5.2.2-6.el5.sme.noarch.rpm

When I tried it I have to put the full file name.  When I tried
yum localinstall smeserver-phpmyadmin
It reported that it couldn't find smeserver-phpmyadmin

Thanks for your help.

TerryF:
Hi, download and do a localinstall of each of the dependencies:

So wget the following

 libmcrypt
 php53-php-gettext
 php53-mcrypt       
 phpMyAdmin3       

Then..

yum localinstall libmcrypt-2.5.8-4.el5.centos.i386.rpm
yum localinstall php53-php-gettext-1.0.11-3.el5.noarch.rpm
yum localinstall php53-mcrypt-5.3.3-1.el5.i386.rpm
yum localinstall phpMyAdmin3-3.5.8.1-1.el5.noarch.rpm

Then the final
yum localinstall  smeserver-phpmyadmin-3.5.2.2-6.el5.sme.noarch.rpm

There may be another way, but I just did that and it worked no problems..

mealogav:
Hmmmm.
So does the order that the packages are installed matter?  I thought the whole point of checking dependancies would be so that the dependant packages would be installed automatically?

I've tried your approach.  I have the packages that you list in a local folder on the sme server.
 yum localinstall libmcrypt-2.5.8-4.el5.centos.i386.rpm    installed ok,  BUT
 yum localinstall php53-php-gettext-1.0.11-3.el5.noarch.rpm  doesn't work ...
because it needs to upgrade 11 other packages that I don't have locally, because they were not listed as being needed in my original investigations.
Remember the whole point of what I'm trying to do is to install on a sme server that does NOT have internet access.
I can only assume that your test server had internet access and went off to satisfy references to packages that were not local from the mirror sites.

My system is now trying to download each package from a mirror site (it seems to try each package at 4 different mirror sites) and of course times out (as there is no internet access).

Total size: 6.6 M
Total download size: 6.5 M
Is this ok [y/N]: y
Downloading Packages:
http://mirror.canada.pialasse.com/releases/8/smeupdates/i386/RPMS/php-ldap-5.3.3-13.el5.sme.1.i386.rpm: [Errno 12] Timeout: <urlopen error timed out>
Trying other mirror.
http://mirror.chiropratique.org/releases/8/smeupdates/i386/RPMS/php-ldap-5.3.3-13.el5.sme.1.i386.rpm: [Errno 12] Timeout: <urlopen error timed out>
Trying other mirror.
http://mirror.pialasse.com/releases/8/smeupdates/i386/RPMS/php-ldap-5.3.3-13.el5.sme.1.i386.rpm: [Errno 12] Timeout: <urlopen error timed out>
Trying other mirror.


So I suppose I now have to go and find each of these packages and download local copies?  This is very tedious!

But thanks for your help ...

Gavin

TerryF:

--- Quote from: mealogav on June 30, 2013, 05:57:33 PM ---I've tried your approach.  I have the packages that you list in a local folder on the sme server.
 yum localinstall libmcrypt-2.5.8-4.el5.centos.i386.rpm    installed ok,  BUT
 yum localinstall php53-php-gettext-1.0.11-3.el5.noarch.rpm  doesn't work ...
because it needs to upgrade 11 other packages that I don't have locally, because they were not listed as being needed in my original investigations.
Remember the whole point of what I'm trying to do is to install on a sme server that does NOT have internet access.
I can only assume that your test server had internet access and went off to satisfy references to packages that were not local from the mirror sites.
--- End quote ---

No my system is an up to date SME8 to start with, yours is NOT, hence the need for the 11 other packages..

Sorry I couldn't help you...

Navigation

[0] Message Index

[#] Next page

[*] Previous page

Go to full version