Koozali.org: home of the SME Server

Local update without Internet access

Offline michelandre

  • *
  • 261
  • +0/-0
Local update without Internet access
« on: February 09, 2017, 09:28:10 PM »
Hi all,

What is the best way to a full update after a new installation with no Internet access?

Even if it is for a 7.3, I tried https://wiki.contribs.org/Yum_offline_updating but to no avail.

Thank you all,

Michel-André

Offline janet

  • ****
  • 4,812
  • +0/-0
Re: Local update without Internet access
« Reply #1 on: February 10, 2017, 04:23:25 AM »
michelandre

As that link says, (on a computer or sme server that does have Internet access) you need to manually download all updated packages & their dependency packages from the various external repos, & then do a yum local update.
It will not be a simple task to locate & download all the updated rpms & will be time consuming.
Here are the various morrors you can downlaod from
http://mirror.contribs.org/mirrors/


If it has not worked for you, then you did it wrong or did not know where to get the packages from etc etc etc.
Tell us details of what you did & why you feel it did not work (details please).



Please search before asking, an answer may already exist.
The Search & other links to useful information are at top of Forum.

Offline michelandre

  • *
  • 261
  • +0/-0
Re: Local update without Internet access
« Reply #2 on: February 10, 2017, 07:02:16 AM »
Dear janet,

Your comment simply denotes that you never tried it. If not so, please enlighten us poor mortals, etc etc etc.

Michel-André
« Last Edit: February 10, 2017, 07:06:26 AM by michelandre »

Offline janet

  • ****
  • 4,812
  • +0/-0
Re: Local update without Internet access
« Reply #3 on: February 10, 2017, 09:46:01 AM »
michelandre

How wrong you are. In the days before yum, downloading packages & doing local installs was what was done.

I do not have time to give you a detailed description with every link you will need etc etc etc, to a great degree it will depend on what system you are running, what packages you have installed & so on. You will have to locate system specific dependency packages.
Here are a few clues.

The wget command is very useful for downloading from specific repos.
eg usage
wget http://mirror.canada.pialasse.com/releases/9.1/smeupdates/i386/RPMS/wget-1.12-8.el6.i686.rpm

This repo has the sme server updates for i386 systems
http://mirror.canada.pialasse.com/releases/9.1/smeupdates/i386/RPMS/
download all the packages to an empty folder & run
yum update *

You need to also download the CentOS updates from the CentOS repo

to get some clues as to the repo locations to download from do
db yum_repositories show



As I said earlier, if you provide the detailed steps you followed, then someone here can tell you where you went wrong.
Please search before asking, an answer may already exist.
The Search & other links to useful information are at top of Forum.

Offline Stefano

  • *
  • 10,839
  • +2/-0
Re: Local update without Internet access
« Reply #4 on: February 10, 2017, 11:30:42 AM »
Dear janet,

Your comment simply denotes that you never tried it. If not so, please enlighten us poor mortals, etc etc etc.

Michel-André
Michel-André, this is the wrong approach
You're just telling us "it doesn't work" without providing any evidente of your issue.
Instead arguing with Janet, please tell us your problemi so we can try to help you and, above all, try to make SME a better product
Thank you