Unix & Linux Stack Exchange is a question and answer site for users of Linux, FreeBSD and other Un*x-like operating systems. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I'm using the latest Arch Netinstall image. I just went through and selected about 150 packages to download and install. However, when I get to the "Install Packges" step, I get an error saying that I have two conflicting packages (openjdk6 and jre7-openjdk) and the install fails and sends me back to the menu.

The problem is, I don't know how to remove the conflicting package from my install list. If I go back to the list of packages, it erases the selections I made previously and I have to reselect each package all over again (I've done it twice already, no fun).

Is there a way to omit a package without having to reselect all of them?

share|improve this question
Not sure about omitting packages but the reason they conflict is that they both provide the java-runtime. If you need to install both jdk6 and jdk7 get the jdk6-compat package from the AUR. It's probably a good idea to just do the minimum install and then use pacman to install packages after you have a booting system. Welcome to Arch :) – Andrew Myers May 12 '12 at 23:50
Thanks @AndrewMyers, and yeah I know why they're conflicting. I was just too quick and checked them both off when selecting packages ... I'm way to tired to be experimenting with new OS's :) – n0pe May 12 '12 at 23:58
up vote 1 down vote accepted

You can --ignore packages. This works:

pacman -S your list of packages --ignore openjdk6,jre7-openjdk
share|improve this answer
Thanks Alexander, I'll try this next time I'm installing Arch – n0pe Nov 12 '12 at 23:46

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.