[arch-haskell] On rebuilding dependencies...

Magnus Therning magnus at therning.org
Tue Jan 12 01:15:31 EST 2010


On 11/01/10 14:35, Adam Vogt wrote:
> * On Monday, January 11 2010, Magnus Therning wrote:
> 
>> Do I need to worry about messages such as this when running 'pacman -Su'?
>>
>> (31/60) upgrading haskell-x11
>> [##################################################################################################################################################################################]
>> 100%
>> Reading package info from stdin ... done.
>> Writing new package config file... done.
>> ghc-pkg: unregistering X11-xft-0.3 would break the following packages:
>> xmonad-contrib-0.9 (use --force to override)
>> error: command failed to execute correctly
>>
>> Is there some way to avoid this that is easier than 'pacman -Rncs
>> xmonad-contrib; pacman -S xmonad-contrib'?
>>
>> /M
> 
> Perhaps the register scripts should be modified to give ghc-pkg the
> --force flag: after all, packages get broken when pacman removes the
> files anyways.

True.  However, I'm not sure that using '--force' is the best thing either,
since that runs the risk of breaking the user's system.  I'd rather see much
stricter dependencies on versions of packages so that only updates that won't
break things are allowed.

/M

-- 
Magnus Therning                        (OpenPGP: 0xAB4DFBA4)
magnus@therning.org          Jabber: magnus@therning.org
http://therning.org/magnus         identi.ca|twitter: magthe

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 198 bytes
Desc: OpenPGP digital signature
Url : http://www.haskell.org/pipermail/arch-haskell/attachments/20100112/0571babd/signature.bin


More information about the arch-haskell mailing list