Re: does makechrootpkg -I handle provides() replaces() ?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



On 03/22/2012 03:20 PM, Allan McRae wrote:
> provides/replaces/conflicts usually come in a set.
> 
Hmm.. I thought provides-conflicts were mutually exclusive for the same package
name. I have tried all the variations of:

package_tde-sip() {
  pkgdesc="The TDE SIP C/C++ Bindings Generator for Python3 - Trinity upstream
GIT version"
  depends=('python')
  provides=('sip' 'python-sip')
  replaces=('sip' 'python-sip')
  conflicts=('sip')

  python-sip isn't installed, sip is the problem. Trying the conficts=('sip'), I
get a fatal conflict error that can't be satisfied. I thought that was due to
trying to provide 'sip' while saying 'sip' conflicted.

  The man page isn't explicit here and the wiki added a bit of confusion with
[conflicts] "An array of package names that may cause problems with this package
if installed. Package with this name and all packages which provides virtual
packages with this name will be removed"

  This is where I got the idea that you can't 'provides=('foo') at the same time
you conflicts=('foo').  Foo got it :)


-- 
David C. Rankin, J.D.,P.E.


[Index of Archives]     [Linux Wireless]     [Linux Kernel]     [ATH6KL]     [Linux Bluetooth]     [Linux Netdev]     [Kernel Newbies]     [Share Photos]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Samba]     [Device Mapper]
  Powered by Linux