Internet-less updating and installing

More
20 Jul 2013 00:00 #36810 by Goosey
I've got LinuxCNC up and it's GREAT! but my machine has no internet access. Now I need prg's like GIMP (among others) and I wondered if there's an easy way to download them to a thumb-drive, while making sure they're compatible...without searching through all the dependancy trees.
In other words, has anyone written an update manager that can get a list of updates on usb stick, then put the stick in an internet-less computer so the updates can be requested, then go back to an internet computer to download what's needed then back to the net-less one for installation?

Please Log in or Create an account to join the conversation.

More
20 Jul 2013 17:54 #36821 by ArcEye
Yes

You would need to download apt-offline first, so I have zipped that and the python-argparse deb it relies upon in the attachment

If you are running 10.04 you can just extract them and then install with dpkg -i debpackagename.deb
(you will probably need to install argparse first)

Thereafter see this for details

www.maketecheasier.com/update-upgrade-ub...onnection/2012/07/10

regards


File Attachment:

File Name: apt-offline.zip
File Size:94 KB
Attachments:
The following user(s) said Thank You: Goosey

Please Log in or Create an account to join the conversation.

More
23 Jul 2013 00:56 #36897 by Goosey
It works. Thank you so much. Linux has come home to roost now.

Please Log in or Create an account to join the conversation.

More
19 Feb 2014 07:06 #43961 by MJG
Hi,

I have downloaded and installed the 10.04 distro listed on the Downloads page here.

Since my machine is offline and doesn't have an ethernet port and doesn't allow my mobile phone to usb-tether an internet connection (it works on windows), I tried to update 2.5.0 --> 2.5.3 using the apt-offline method.

It didn't update linuxcnc though.

One of the packages downloaded in the apt-offline fetch process was:

"linuxcnc.org_dists_lucid_linuxcnc2.5_binary-i386_Packages"

Is this correct or should there be "...2.5.3..." in there somewhere?

Also during step #3 on the internet-less machine, I got a "warning" about the use of deprecated arguments during "apt-offline install /path/"mybundle.zip"

I'm not sure whether anything was actually installed at this stage. Probably not, because "sudo apt-get upgrade" didn't upgrade anything at all.

Is there anything else I might be able to try?

Please Log in or Create an account to join the conversation.

More
19 Feb 2014 17:27 #43970 by ArcEye

Since my machine is offline and ..............doesn't allow my mobile phone to usb-tether an internet connection (it works on windows),


Just google ubuntu 10.04 usb tether

It works with android and even apple cores

One of the packages downloaded in the apt-offline fetch process was:

"linuxcnc.org_dists_lucid_linuxcnc2.5_binary-i386_Packages"

Is this correct or should there be "...2.5.3..." in there somewhere?


It is probably right, by the same token it does not say 2.5.0 either

sudo dpkg -l linuxcnc
will give the contents of an installed package

sudo dpkg -c linuxcnc.org_dists_lucid_linuxcnc2.5_binary-i386.deb
will give the contents of a deb package

dpkg-deb -I linuxcnc.org_dists_lucid_linuxcnc2.5_binary-i386.deb
will give the contents of deb and its control file, which will show the precise package name as opposed to the name of the deb it is in

regards

Please Log in or Create an account to join the conversation.

More
20 Feb 2014 13:57 #44000 by MJG
Thanks for your reply ArcEye.

USB tethering is not an option for 10.04 and Android 4 and above.

I resorted to taking my machine apart to find the motherboard and found an Ethernet port, so I hooked up a network cable. I don't know why apt offline didn't grab linux CNC 2.5.3 in my case. No doubt something was missed out. I appreciated the apt-offline zip bundle provided here anyways.

Please Log in or Create an account to join the conversation.

Time to create page: 0.086 seconds
Powered by Kunena Forum