PDA

View Full Version : disable yum dep checking



AMAMH
28th September 2009, 07:27 PM
is there anyway to disable dependency checking when installing with yum? or an advanced gui frontend that permits customizing which packages to install and don't enforce dependencies (like in Ubuntu)?

scottro
28th September 2009, 07:47 PM
I'm sure there is, but you can always use --downloadonly. (The command is, for example, yum --downloadonly install <program_name>. It will then store the rpm in /var/cache/yum/<repo_name, e.g., fedora>/packages

The downloadonly plugin is installed with

yum install yum-plugin-downloadonly

(If that doesn't work, then use


yum install yum-plugin-downloadonly.noarch


After this, you can install it with rpm --nodeps <package>.rpm

HOWEVER--please be careful with this, it can break things, and can often be a bad idea.

AMAMH
28th September 2009, 08:09 PM
thank you scottro for ur fast reply.

Thread should be closed now.

scottro
28th September 2009, 08:32 PM
We tend to not close threads. (Unless someone re-opens one four years later, which happens.)

The reasons are:

Others will no doubt have the same question.
I might have not given the best answer.

So this way, others with better solutions (or perhaps more dire examples of what happens if you use the nodeps option) have the chance to post.

Let me repeat though, please DO be careful with using nodeps.

At any rate, we leave it open, and if others have something to add, they can do things. Once you test it for yourself and it works for your needs, we can most certainly mark it SOLVED.