LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 08-09-2011, 07:14 AM   #1
Michael A Druckenmiller
LQ Newbie
 
Registered: Aug 2011
Location: Note: Work e-mail given, remember if you e-mail on off days.
Distribution: Ubuntu 11.04
Posts: 20

Rep: Reputation: Disabled
getting Updates in a Windows ONLY work environment


Here's the problem, and I am sure there is a simple answer to it?

I work behind the NMCI firewall. But, we have to support Linux for some of our ATE.

We cannot connect our Linux machines to the network so we cannot use that really nice "apt-get install" functionality.

(If we did have an NMCI Certified Linux machine it wouldn't be funtional for Development!)

So, is there anyway to get the install packages through our Windows Network Computers???

Be gentle, (and granular/detailed) , please, this is the first time I've "played" with Linux in over five years.

And, jumping into Ubuntu 11.04 has been a shock.
 
Old 08-09-2011, 09:29 AM   #2
theW
Member
 
Registered: Jul 2011
Distribution: arch, vector, mint
Posts: 37

Rep: Reputation: Disabled
https://help.ubuntu.com/community/In...ngSoftware#Use apt-offline go down to the section on apt-offline, they explain how to download with different machine then install on ubuntu. They do seem to think both are running ubuntu, but maybe you can find the address of the package download on your windows machine and do something similar

Last edited by theW; 08-09-2011 at 09:30 AM.
 
Old 08-09-2011, 09:55 AM   #3
Michael A Druckenmiller
LQ Newbie
 
Registered: Aug 2011
Location: Note: Work e-mail given, remember if you e-mail on off days.
Distribution: Ubuntu 11.04
Posts: 20

Original Poster
Rep: Reputation: Disabled
Looks like "The Community" holds the Repository Addresses rather close to the vest.

Yes, all the documentation presupposes that you are going to do everything via Linux.

And, while I now have instructions on how to install from CD...

It would be nice to be able to access the Repositories from a Windows Machine and burn them to a CD.

It would be nice to have an "apt-get install" app that those of us on Locked Down Windows Machines (no registry entries)...

Theoretically, it should be possible to export you Linux System Install Status to a text file and have the Windows version read it and act accordingly...

AS it is I learn about what I need at work then update/install at home...

Not optimum...
 
Old 08-09-2011, 10:02 AM   #4
thorkelljarl
Senior Member
 
Registered: Jun 2008
Posts: 1,787

Rep: Reputation: 211Reputation: 211Reputation: 211
Does this help...

http://wubdepends.sourceforge.net/

http://www.debian-administration.org...gement_for_APT

The latter link is from this.

http://ubuntuforums.org/showthread.php?t=848693

Last edited by thorkelljarl; 08-09-2011 at 10:10 AM.
 
Old 08-09-2011, 10:07 AM   #5
Michael A Druckenmiller
LQ Newbie
 
Registered: Aug 2011
Location: Note: Work e-mail given, remember if you e-mail on off days.
Distribution: Ubuntu 11.04
Posts: 20

Original Poster
Rep: Reputation: Disabled
Thanks...

I will try at home tonight and see what I find...

EVERYTHING on Sourceforge Servers, By *ANY* name are blocked by the paranoid it guys at Headquarters Marine...

I know, I know, SourceForge is the Number One developer Site and USMC Developers can't get to it.

Talk about having your hands tied behind your backs!



Located a list of Sources. It's a text file accessed by Clicking <Home Folder> --> <File System> --> <etc> --> <apt> right-click <source.list> and open With Text Editor you can then copy the contents to an empty file and then copy that file to your Windows Install for transport to other Windows Machines. I'll let you know what I find...

Last edited by Michael A Druckenmiller; 08-09-2011 at 10:24 AM.
 
Old 08-09-2011, 10:25 AM   #6
thorkelljarl
Senior Member
 
Registered: Jun 2008
Posts: 1,787

Rep: Reputation: 211Reputation: 211Reputation: 211
Why Ubuntu...

If you are not bound to Ubuntu by higher powers, you might consider changing to Debian and thereafter might find that Debian is more open in sharing information and allows more flexibility in its application.
 
Old 08-09-2011, 10:38 AM   #7
tredegar
LQ 5k Club
 
Registered: May 2003
Location: London, UK
Distribution: Debian "Jessie"
Posts: 6,085

Rep: Reputation: 398Reputation: 398Reputation: 398Reputation: 398
To update a computer running ubuntu that does not have an internet connection, all you need is aptoncd and another computer running ubuntu (or debian, or mint or ...), with an internet connection, to download the packages you need and burn them to CD(s) or DVD(s).

Then you take the CDs /DVDs to the computer without an internet connection, and update it.
 
Old 08-09-2011, 10:40 AM   #8
Michael A Druckenmiller
LQ Newbie
 
Registered: Aug 2011
Location: Note: Work e-mail given, remember if you e-mail on off days.
Distribution: Ubuntu 11.04
Posts: 20

Original Poster
Rep: Reputation: Disabled
Aptoncd is blocked at work.

Don't know if it's just the download site, yet, or not.

Plan to download at home.

Was under the impression that it requires Linux support to use, though?
 
Old 08-09-2011, 11:15 AM   #9
tredegar
LQ 5k Club
 
Registered: May 2003
Location: London, UK
Distribution: Debian "Jessie"
Posts: 6,085

Rep: Reputation: 398Reputation: 398Reputation: 398Reputation: 398
Quote:
But, we have to support Linux for some of our ATE.
What is an ATE?

If you need linux for your work, why can't you just ask your IT department unblock the ubuntu repositories?
 
Old 08-09-2011, 11:52 AM   #10
Michael A Druckenmiller
LQ Newbie
 
Registered: Aug 2011
Location: Note: Work e-mail given, remember if you e-mail on off days.
Distribution: Ubuntu 11.04
Posts: 20

Original Poster
Rep: Reputation: Disabled
ATE = Automatic Test Equipment. The Marines have ATE that is field deployable. It allows them to quickly troubleshoot to a module and return an item to service. Very handy gear to have.

NMCI (Navy Marine Corps Intranet), the people that have control over the network are only tasked with Security and Office Applications. As near as I can tell their mandate considers developers some kind of pariah to be interferred with and ignored.

We *can* submit paperwork through the Chain of Command, yes even us Civilians have those, to get sites added or Applications Installed. However, this paperwork is onnerous and costs the requesting unit lots of dollars.

I *do* have a developers Account that allows me to install and run Windows Applications with somewhat relaxed Registry Access. However, I have yet to get a "good" install of Visual Studio 6! It runs but all the updates say it isn;t there, so no patches. (Yes, part of my tasking is Legacy Support.)

As a result all my development work, except for C/Atlas, is done on a separate non-network computer.

(C/Atlas is a programming language specifically for the ATE comunity. Atlas = A Test Language for All Systems).

Not all repositories are blocked. It took me a while to find the list. We'll see what happens next. If aptoncd will run then probably ok. If not, then have to decode directory structure on repositories. ?fun?

Mike Sr.
The above comments are personal reflections only.

Last edited by Michael A Druckenmiller; 08-09-2011 at 11:55 AM. Reason: Left something out
 
Old 08-09-2011, 12:29 PM   #11
tredegar
LQ 5k Club
 
Registered: May 2003
Location: London, UK
Distribution: Debian "Jessie"
Posts: 6,085

Rep: Reputation: 398Reputation: 398Reputation: 398Reputation: 398
Quote:
Aptoncd is blocked at work.
The link I gave you for aptoncd was just so you could read about it. Downloading it is easy (if you can access the usual ubuntu repositories) because it is in the ubuntu repositories.

Thanks for the explanations. Part of the reason I asked why you don't just ask your IT department is because we are not allowed to help you circumvent your employer's security systems (see the LQ rules), so please bear this in mind when, and how, you ask your questions, or a moderator will close this thread.
 
Old 08-09-2011, 12:53 PM   #12
Michael A Druckenmiller
LQ Newbie
 
Registered: Aug 2011
Location: Note: Work e-mail given, remember if you e-mail on off days.
Distribution: Ubuntu 11.04
Posts: 20

Original Poster
Rep: Reputation: Disabled
The aptoncd link you provided is blocked.

The blocking is a mix of White Pages and Locality Settings.

Basically, in a nutshell, we can't attach a non-certified system to the network. (It's MAC address wouldn't be recognized anyway and all sorts of alarms would go off.) So, we can't do an on network update or install of a Linux System (AFAIK no Linux system is certified for use on NMCI).

If the site is not blocked. Then I can go there and download. If the site is blocked I have to get the material at home. Only problem with that is time.

If my research indicates that I can safely run aptoncd (once I get it) on the Network Computer, then no problems. If I can't then I have to manually locate the materials on unblocked sites, download and install on the non-network developer system manually.

The biggest issue I have as a developer on an NMCI system is that I am not vetted as part of the security solution, therefore I do not know what they are doing to protect the system and how I could **ACCIDENTLY** compromise it. Therefore, I am and have to be very careful what I do.

There is so many paranoia apps on the system that they take themselves down regularly enough as it is.

I do *NOT* want to circumvent the security protocols. What I do want to do is utilize what I do have permission to use to its fullest potential. Without circumventing or compromising security.

Hopefully, the moderators will understand this and not jump to coclusions.

Trust me, one of the reasons the IT guys are so paranoid about things Linux is because even a Linux Newbie can do great harm using Linux Tools in a Windows Environment.

Unfortunately, security Paranoia often is counter productive because sometimes to avoid mucking things up accidently, you have to know how to muck them up intentionally. (And, then avoid it like the plague.)

Anything, I have *any* reason to suspect either doesn't get tried at all, or gets tested at home. I like my job!

Sorry for being long winded. But, the frustration can be maddening at times. For instance in the Calibration Lab a piece of equipment was made in Germany. We had to download the tech manuals at home because we couldn't ping any sites off-shore! But, we *had* to repair and calibrate them anyway. Go figure...

Again, sorry for the rant...
 
Old 08-09-2011, 01:44 PM   #13
tredegar
LQ 5k Club
 
Registered: May 2003
Location: London, UK
Distribution: Debian "Jessie"
Posts: 6,085

Rep: Reputation: 398Reputation: 398Reputation: 398Reputation: 398
Quote:
Basically, in a nutshell, we can't attach a non-certified system to the network.
That is pretty much standard procedure for secured businesses. If you do not attach your linux computer to their network, they are not at risk, from networking mischief. Do not attempt to connect your non-certified PC to their network. They will not like it.

You need to install and run aptoncd on a linux computer outside your employer's network. There you D/L the packages you need for your non-networked work computer to CD / DVD. Then you take the CD /DVD to your work linux computer, and update it.
Quote:
Trust me, one of the reasons the IT guys are so paranoid about things Linux is because even a Linux Newbie can do great harm using Linux Tools in a Windows Environment.
I completely understand their paranoia. I work for my government, and their IT is infuriating too. So I have a little EEE701 PC with linux (very cheap, slow, but fully functional), and a mobile phone / cellphone dongle that I plug into it. This means I do not have to connect to their network, because I have mine, so I can find the information I need quickly, without being blocked.

So maybe just get a mobile phone dongle and plug it into your work ubuntu PC. You'll now have an unrestricted internet connection to use as you see fit.

This will not work if you are in the basement or a secured (RF-shielded) building, or are located somewhere where you cannot get a mobile signal.
 
Old 08-09-2011, 02:14 PM   #14
thorkelljarl
Senior Member
 
Registered: Jun 2008
Posts: 1,787

Rep: Reputation: 211Reputation: 211Reputation: 211
?...

Did you look at this in the link that I proposed? If within your systems limits you can and may set this up on a networked Windows machine, it seems to solve your problem without you doing extra work at home.

http://www.debian-administration.org...gement_for_APT

Quote:
Step 1

Generate a signature file on the Disconnected Debian box at home

apt-offline set /tmp/apt-offline.sig

The above command will generate all information required from apt about updating its database.

By default, with no additional arguments passed, apt-offline will extract information about APT Package Database Update i.e. the --update option as well as the list of Packages to be upgraded i.e. the --upgrade option.

These options can also be individually passed if you want only one of those.

Step 2

Download data based on the signature file generated earlier

apt-offline get C:\apt-offline.sig --threads 5

The above command will download data as mentioned in the signature file. To speed up downloads (that can be from multiple apt repositories), in this example we spawn 5 download threads.

Note: It would be good to also download the bug reports for the packages that you are downloading. So that example now becomes:

apt-offline get C:\apt-offline.sig --bug-reports --threads 5

There are many more options that you can pass to apt-offline, like the --bundle option which would generate for you, an archive file with all the data.

Once completed, you could just copy the data (an archive file, if you used the --bundle option) back to the removable medium and copy it back onto your offline host.

Step 3

Once you're back upon the home Debian machine, you feed the data from the removable medium to apt-offline:

apt-offline install /media/USB/apt-offline.zip

This will update the APT database on your disconnected machine seamlessly.

If there were packages that needed to be upgraded, now they would all be available (with dependencies) in the APT database. So if you do an apt-get upgrade now, APT won't prompt you mentioning even a single bye download. APT would find that all required packages are already present in the APT cache.
This example seems to answer your circumstances exactly; the need to download deb packages to a Windows system for copying to a removable medium. The method should work for Ubuntu.

LQ members more experienced than I may be able to tell both of us if this is a working method and is worth perusing.

Last edited by thorkelljarl; 08-09-2011 at 02:28 PM.
 
Old 08-09-2011, 02:18 PM   #15
Michael A Druckenmiller
LQ Newbie
 
Registered: Aug 2011
Location: Note: Work e-mail given, remember if you e-mail on off days.
Distribution: Ubuntu 11.04
Posts: 20

Original Poster
Rep: Reputation: Disabled
I will look at it more closely when I get home.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Linux server to manage or cache Windows Updates for several Windows desktops cantab Linux - Server 5 07-12-2012 05:14 PM
Fedora 10 logged in as root, cannot install package updates in graphical environment nickatnite Fedora 8 01-21-2009 09:50 PM
regarding tracking file creation and updates on linux networking environment pjchoudary Linux - Networking 1 07-19-2008 01:04 AM
can't get automatic updates to work darkone66669 Linux - Software 1 06-29-2007 07:00 PM
how do you get updates to work? hvinelinux Mandriva 2 09-16-2006 07:20 AM


All times are GMT -5. The time now is 08:51 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration