from a base install I installed the xorg package. I then changed my mind :-) and did "pacman -R xorg" to get rid of it.
Now when I try to install the kde package I get this: "xorg conflicts with xfree86".
There must be something left of the xorg package even after I removed it.
Does anyone know how to solve this?
Hmmm. Are you sure xorg was removed? If it was conflicting with a specific file, it would be saying "conflict found: file xyz". It sounds like it's conflicting the whole package.
Run pacman -Qi xorg to see if it's still installed. It's quite probable that when you uninstalled it it refused to do so because a lot of files depend on X. To ignore this, use pacman -Rd xorg (-d doesn't check dependencies), then pacman -S xfree86 immediately, or you'll get dependency issues right left and centre.
pacman -Qi xorg returns 'Package "xorg" was not found'
but I was able to install xfree 'pacman -S xfree86" without any conflict being reported even though kde reports conflicts. Odd...
- kde depends on x-server.
- Arch has 2 of them : xorg in current and xfee86 in extra.
- In pacman.conf you probably (99% sure) have [current] repository before [extra] repository.
- When pacman tries to solve dependencies...it looks through repositories in order they appear in pacman.conf.
- First it finds current, and xorg matches with needed dependency: x-server, so it tries to install it and this is why it conflicts with xfree.
(I'm not 100% sure about this, try to swap [current] and [extra] sections in pacman.conf. If it solves the problem, then you should probably fill a bug for pacman)
you can also try a forced uninstall of xorg/xfree86, and then reinstall xorg.
I think torindan2 is right,
I get the same thing on a fresh install with pacman -S kdebase
install either xfree or xorg first, then you'll be right.