ManieyaK_
asked on
Ubuntu Offline Repo
Hello how would one go about setting up an offline repository to keep Ubuntu updated?
ASKER
our entire environment is disconnected. That article assumes the server will have internet access. I'm thinking maybe have the online repo sync to a repo on an external drive then transfer to server? How would you sync the online repo to a repo on external device?
ASKER
I'm trying to stig our Ubuntu machine, one of the findings states "vlock" package needs to be installed. To check whether it's installed run the following command:
# dkpg -l | grep vlock
When i run the command it completes with no output or errors. Is there something I'm doing wrong?
# dkpg -l | grep vlock
When i run the command it completes with no output or errors. Is there something I'm doing wrong?
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
You said, "our entire environment is disconnected. That article assumes the server will have internet access. I'm thinking maybe have the online repo sync to a repo on an external drive then transfer to server? How would you sync the online repo to a repo on external device?"
You must arrange for some type of connection, as you must arrange for .rpm files to install move from some remote repository to your local repository. How you do this... is up to you...
After you've synced your local repository with a remote repository, then you can do your installs/updates as required.
You must arrange for some type of connection, as you must arrange for .rpm files to install move from some remote repository to your local repository. How you do this... is up to you...
After you've synced your local repository with a remote repository, then you can do your installs/updates as required.
If your dpkg command produces no output, the means there's no package installed containing the string vlock.
Note: The vlock package is optional, so you must install this specifically to have this package available.
Note: The vlock package is optional, so you must install this specifically to have this package available.
You can setup a local repo + you'll still require Internet access for your local repo to remain updated.
The way Ubuntu manages remote repos is so efficient + Internet connections so fast, much less of a requirement to do this anymore.
Better to just use normal Ubuntu repos.
https://www.maketecheasier