Page 1 of 1

Upgrading on a pc with no internet access?

PostPosted: May 23rd, '16, 01:31
by petedan10
What is the preferred way to upgrade a Mageia installation on machines that don't have internet access?

Re: Upgrading on a pc with no internet access?

PostPosted: May 23rd, '16, 18:14
by doktor5000
Depends on the number of machines, how many ressources you can spare and how much time you want to invest.
Most people will simply set up a local mirror and use that as their repos for the machines without internet access.
See e.g. https://wiki.mageia.org/en/Create_a_mir ... te_network

Re: Upgrading on a pc with no internet access?

PostPosted: May 25th, '16, 18:35
by petedan10
Setting up a local mirror and using it for installation and updates is fairly easy, but I wonder what would happen if you wish to upgrade your installation(s), for example from Mageia 5 to Mageia 6.

Would it be preferable to use netinstall, point it to the local resources and ask it to upgrade the existing installation? Use the installation dvd instead?

Or just let Mageia 5 notify you about the upgrade (using local mirror)? In which case I guess the local mirror should be similarly structured as the online mirrors, having /5/i586 and /6/i586 directories?

Re: Upgrading on a pc with no internet access?

PostPosted: May 27th, '16, 00:02
by doktor5000
petedan10 wrote:Would it be preferable to use netinstall, point it to the local resources and ask it to upgrade the existing installation? Use the installation dvd instead?

Simply switch your repositories to the one from the new release and run urpmi --auto-update as mentioned in release notes, e.g. https://wiki.mageia.org/en/Mageia_5_Rel ... _.28CLI.29

Re: Upgrading on a pc with no internet access?

PostPosted: May 27th, '16, 00:36
by petedan10
So instead of

Code: Select all
urpmi.addmedia --distrib <mirror_url>

I set

Code: Select all
urpmi.addmedia --distrib HD file://dev/sda/LocalMirror/6

and let it roll.

I will try it when Mageia 6 final comes out and report back.