[Yum-devel] Depsolving test cases
James Antill
james.antill at redhat.com
Fri Sep 7 02:42:58 UTC 2007
On Thu, 2007-09-06 at 20:48 -0400, seth vidal wrote:
> > 2. The second problem I have is that, I can't see how to create a
> > correct multi-lib. requires ... the prco list of tuples doesn't contain
> > it and yum doesn't seem to take it from the package with the requires
> > so:
> >
> > def testInstallSinglePackageRequireNotProvidedMultiLib(self):
> > po = FakePackage('zsh', '1', '1', None, 'x86_64')
> > po.addRequires('zip', None, (None, None, None))
> > self.tsInfo.addInstall(po)
> >
> > ipo = FakePackage('zip', '1', '3', None, 'i386')
> > self.rpmdb.addPackage(ipo)
> >
> > # self.assertEquals('err', self.resolveCode(self.tsInfo, self.rpmdb))
> >
> > ...if the above assert is uncommented it fails. I'm sure I'm doing
> > _something_ wrong here, but I can't see what.
>
> what is a 'multilib requires' in this context? There's no way to specify
> an arch in a requirement the only such thing is when a library is marked
> as (64bit).
>
> Is that what you mean? That's just a string.
Right, I just assumed that given you can install foo.x86_64 you would
also be able to depend on it. Oh well :).
--
James Antill <james.antill at redhat.com>
Red Hat
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
Url : http://lists.baseurl.org/pipermail/yum-devel/attachments/20070906/3ad13a3d/attachment.pgp
More information about the Yum-devel
mailing list