Take the 2-minute tour ×
Unix & Linux Stack Exchange is a question and answer site for users of Linux, FreeBSD and other Un*x-like operating systems.. It's 100% free, no registration required.

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
2  
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 :) –  maxmackie May 12 '12 at 23:58

1 Answer 1

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 –  maxmackie Nov 12 '12 at 23:46

Your Answer

 
discard

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.