[pacman-dev] [arch-general] Package group xorg-video-drivers: intel conflict

Xavier shiningxc at gmail.com
Sun Dec 9 07:29:29 EST 2007


On Sat, Dec 08, 2007 at 10:16:19PM +0100, Michael Towers wrote:
> Aaron Griffin wrote:
>> On Dec 8, 2007 11:04 AM, Michael Towers <gradgrind at online.de> wrote:
>>> Since the addition of xf86-video-intel it has become impossible to
>>> install the xorg-video-drivers group via the group name (because of the
>>> conflict with xf86-video-i810).
>>>
>>> I guess there is no guideline outlawing this - I suppose something like
>>> this could, theoretically, happen more often. But it is a bit annoying
>>> when doing installations which are supposed to run on various machines.
>>>
>>> I don't want to make a request or anything here - I don't know what I
>>> could ask for. I just thought I'd point it out.
>>
>> Hmmm, I'd say in cases like this we pick one that we prefer, and keep
>> that in the group. /me shrugs
>>
>> Maybe FR that regarding these two drivers and we can see how Alex
>> feels about it?
>>
>>
>
> http://bugs.archlinux.org/task/8874
>
>

Why can't we do pacman -S xorg-video-drivers --ignore xf86-video-i810 ?

Though, it's probably a bad idea to put conflicting packages in the same
group in the first place, but still..

Suppose "target" is part of "group", and target is in IgnorePkg, it might
make sense that :
* pacman -S group doesn't install target
* pacman -S target installs target (because explictly asked)

Anyway, here is a sample session, how I like them (it may have been mentioned
already, but I don't remember where) :

> sudo pacman -S xorg-video-drivers
:: group xorg-video-drivers:
    xf86-video-intel  
:: Install whole content? [Y/n] 
:: group xorg-video-drivers:
    xf86-video-amd  xf86-video-apm  xf86-video-ark  
    xf86-video-ati  xf86-video-chips  xf86-video-cirrus  
    xf86-video-dummy  xf86-video-fbdev  xf86-video-glint  
    xf86-video-i128  xf86-video-i740  xf86-video-i810  
    xf86-video-imstt  xf86-video-intel  xf86-video-mga  
    xf86-video-neomagic  xf86-video-nv  xf86-video-radeonhd  
    xf86-video-rendition  xf86-video-s3  xf86-video-s3virge  
    xf86-video-savage  xf86-video-siliconmotion  
    xf86-video-sis  xf86-video-sisusb  xf86-video-tdfx  
    xf86-video-trident  xf86-video-tseng  xf86-video-unichrome  
    xf86-video-v4l  xf86-video-vesa  xf86-video-vga  
    xf86-video-via  xf86-video-vmware  xf86-video-voodoo  
:: Install whole content? [Y/n] 
warning: xf86-video-intel-2.1.1-3 is up to date -- reinstalling
warning: xf86-video-vesa-1.3.0-5 is up to date -- reinstalling
resolving dependencies...
looking for inter-conflicts...
error: unresolvable package conflicts detected
error: failed to prepare transaction (conflicting dependencies)
:: xf86-video-intel: conflicts with xf86-video-i810

Ok, xf86-video-i810 is not a conflict, so we won't ask the whole content next time.

> sudo pacman -S xorg-video-drivers
:: group xorg-video-drivers:
    xf86-video-intel  
:: Install whole content? [Y/n] 
:: group xorg-video-drivers:
    xf86-video-amd  xf86-video-apm  xf86-video-ark  xf86-video-ati  
    xf86-video-chips  xf86-video-cirrus  xf86-video-dummy  
    xf86-video-fbdev  xf86-video-glint  xf86-video-i128  
    xf86-video-i740  xf86-video-i810  xf86-video-imstt  
    xf86-video-intel  xf86-video-mga  xf86-video-neomagic  
    xf86-video-nv  xf86-video-radeonhd  xf86-video-rendition  
    xf86-video-s3  xf86-video-s3virge  xf86-video-savage  
    xf86-video-siliconmotion  xf86-video-sis  xf86-video-sisusb  
    xf86-video-tdfx  xf86-video-trident  xf86-video-tseng  
    xf86-video-unichrome  xf86-video-v4l  xf86-video-vesa  
    xf86-video-vga  xf86-video-via  xf86-video-vmware  
    xf86-video-voodoo  
:: Install whole content? [Y/n] n
:: Install xf86-video-amd from group xorg-video-drivers? [Y/n] 
:: Install xf86-video-apm from group xorg-video-drivers? [Y/n] 
:: Install xf86-video-ark from group xorg-video-drivers? [Y/n] 
:: Install xf86-video-ati from group xorg-video-drivers? [Y/n] 
:: Install xf86-video-chips from group xorg-video-drivers? [Y/n] 
:: Install xf86-video-cirrus from group xorg-video-drivers? [Y/n] 
:: Install xf86-video-dummy from group xorg-video-drivers? [Y/n] 
:: Install xf86-video-fbdev from group xorg-video-drivers? [Y/n] 
:: Install xf86-video-glint from group xorg-video-drivers? [Y/n] 
:: Install xf86-video-i128 from group xorg-video-drivers? [Y/n] 
:: Install xf86-video-i740 from group xorg-video-drivers? [Y/n] 
:: Install xf86-video-i810 from group xorg-video-drivers? [Y/n] n
:: Install xf86-video-imstt from group xorg-video-drivers? [Y/n] 
:: Install xf86-video-intel from group xorg-video-drivers? [Y/n] 
:: Install xf86-video-mga from group xorg-video-drivers? [Y/n] 
:: Install xf86-video-neomagic from group xorg-video-drivers? [Y/n] 
:: Install xf86-video-nv from group xorg-video-drivers? [Y/n] 
:: Install xf86-video-radeonhd from group xorg-video-drivers? [Y/n] 
:: Install xf86-video-rendition from group xorg-video-drivers? [Y/n] 
:: Install xf86-video-s3 from group xorg-video-drivers? [Y/n] 
:: Install xf86-video-s3virge from group xorg-video-drivers? [Y/n] 
:: Install xf86-video-savage from group xorg-video-drivers? [Y/n] 
:: Install xf86-video-siliconmotion from group xorg-video-drivers? [Y/n] 
:: Install xf86-video-sis from group xorg-video-drivers? [Y/n] 
:: Install xf86-video-sisusb from group xorg-video-drivers? [Y/n] 
:: Install xf86-video-tdfx from group xorg-video-drivers? [Y/n] 
:: Install xf86-video-trident from group xorg-video-drivers? [Y/n] 
:: Install xf86-video-tseng from group xorg-video-drivers? [Y/n] 
:: Install xf86-video-unichrome from group xorg-video-drivers? [Y/n] 
:: Install xf86-video-v4l from group xorg-video-drivers? [Y/n] 
:: Install xf86-video-vesa from group xorg-video-drivers? [Y/n] 
:: Install xf86-video-vga from group xorg-video-drivers? [Y/n] 
:: Install xf86-video-via from group xorg-video-drivers? [Y/n] 
:: Install xf86-video-vmware from group xorg-video-drivers? [Y/n] 
:: Install xf86-video-voodoo from group xorg-video-drivers? [Y/n] 

warning: xf86-video-intel-2.1.1-3 is up to date -- reinstalling
warning: xf86-video-vesa-1.3.0-5 is up to date -- reinstalling
resolving dependencies...
looking for inter-conflicts...
error: unresolvable package conflicts detected
error: failed to prepare transaction (conflicting dependencies)
:: xf86-video-unichrome: conflicts with xf86-video-via

Oh no, I have to start everything again. Seriously, how practical is that?
Personally, I never used it, and I don't see the point of this interactivity.
I just do pacman -S group, I have a look at all the targets it wants to pull.
And then, either I accept, or I refuse, and I run pacman -S again by picking
the few targets I want manually.
But if instead of only picking a few targets, you just want to exclude a few
ones, then IgnorePkg should probably apply here.

What do you think? There might be some important and common use cases I'm
forgetting, which is why I bring this up here for discussion.




More information about the pacman-dev mailing list