LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices


Reply
  Search this Thread
Old 03-08-2016, 09:48 AM   #1
rkappler
LQ Newbie
 
Registered: Sep 2015
Posts: 12

Rep: Reputation: Disabled
Dependency hell


I've got to believe this is a common problem, but can't seem to find a solution. We have some 600 server VM's (all running CentOS 6.x) in a private network that we need to administer, none of which have internet access, nor can have, so using yum is out. Occasionally we need to add packages to these machines that lead to dependency hell. Try to install this-new-thing.x86_64.rpm but you can't because it needs a dependency that's not there, so you find the dependency but it needs more dependencies, and so on down a deep rabbit hole.

I figure there's got to be something out there that let's me try to install an rpm in a local machine with internet access without actually installing it on the host machine, pulls the dependency tree for that rpm and all it's dependency rpms into a package or sandboxed file/dir so I can collect everything, maybe even make it into one big rpm? and move the finished product up to our server environment where I can then install without dependency snags.

If there's nothing like that out there, how do other admin's get around a problem like this?

regards, Richard
 
Old 03-08-2016, 10:00 AM   #2
AlucardZero
Senior Member
 
Registered: May 2006
Location: USA
Distribution: Debian
Posts: 4,824

Rep: Reputation: 615Reputation: 615Reputation: 615Reputation: 615Reputation: 615Reputation: 615
Set up a local mirror of the yum repos. Only allow this machine Internet access (or just use the DVD/ISO images and forgo Internet entirely). Point the VMs (they DO have inTRAnet access, right?) at this yum repo.
 
Old 03-09-2016, 05:41 AM   #3
ilesterg
Member
 
Registered: Jul 2012
Location: München
Distribution: Debian, CentOS/RHEL
Posts: 587

Rep: Reputation: 72
Here you go.
 
Old 03-09-2016, 06:30 AM   #4
rkappler
LQ Newbie
 
Registered: Sep 2015
Posts: 12

Original Poster
Rep: Reputation: Disabled
Brilliant, I'm embarrassed I never thought of it. I'm off to set up a local repo. Thanks for the help folks.

regards, Richard
 
Old 03-09-2016, 08:48 AM   #5
ilesterg
Member
 
Registered: Jul 2012
Location: München
Distribution: Debian, CentOS/RHEL
Posts: 587

Rep: Reputation: 72
Hey, no worries. Part of our learning process
 
  


Reply

Tags
dependency, rpms



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
I got in dependency hell... deltrem Linux - Software 4 02-01-2011 01:08 PM
Dependency Hell Mithrilhall Linux - Newbie 5 04-28-2006 10:29 AM
Is this what they mean by dependency hell? john_walsh54 Linux - Software 1 10-10-2003 07:52 AM
Dependency hell !!! lub0 Linux - Software 5 09-26-2003 08:17 AM
Dependency Hell Time Lord Mandriva 2 09-09-2003 03:48 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 11:06 PM.

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
Open Source Consulting | Domain Registration