Upgrading on a pc with no internet access?

This forum is dedicated to advanced help and support :

Ask here your questions about advanced usage of Mageia. For example you may post here all your questions about network and automated installs, complex server configurations, kernel tuning, creating your own Mageia mirrors, and all tasks likely to be touchy even for skilled users.

Upgrading on a pc with no internet access?

Postby petedan10 » May 23rd, '16, 01:31

What is the preferred way to upgrade a Mageia installation on machines that don't have internet access?
petedan10
 
Posts: 69
Joined: Jun 27th, '15, 10:23

Re: Upgrading on a pc with no internet access?

Postby doktor5000 » May 23rd, '16, 18:14

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
Cauldron is not for the faint of heart!
Caution: Hot, bubbling magic inside. May explode or cook your kittens!
----
Disclaimer: Beware of allergic reactions in answer to unconstructive complaint-type posts
User avatar
doktor5000
 
Posts: 18020
Joined: Jun 4th, '11, 10:10
Location: Leipzig, Germany

Re: Upgrading on a pc with no internet access?

Postby petedan10 » May 25th, '16, 18:35

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?
petedan10
 
Posts: 69
Joined: Jun 27th, '15, 10:23

Re: Upgrading on a pc with no internet access?

Postby doktor5000 » May 27th, '16, 00:02

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
Cauldron is not for the faint of heart!
Caution: Hot, bubbling magic inside. May explode or cook your kittens!
----
Disclaimer: Beware of allergic reactions in answer to unconstructive complaint-type posts
User avatar
doktor5000
 
Posts: 18020
Joined: Jun 4th, '11, 10:10
Location: Leipzig, Germany

Re: Upgrading on a pc with no internet access?

Postby petedan10 » May 27th, '16, 00:36

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.
petedan10
 
Posts: 69
Joined: Jun 27th, '15, 10:23


Return to Advanced support

Who is online

Users browsing this forum: No registered users and 1 guest

cron