Re: Creating complete repository

Chris Kittlitz <[email protected]> Mon, 24 Jun 2013 14:44:37 -0400
Newsgroups gmane.linux.rpm.yum
Message-ID <CAD-XgHtypQut6XDY5UY+3Szj7ryaPFeGqBEoNorinGfhLiJncw@mail.gmail.com>
Same problem, different phase...

So I get a list of dependencies, and then I try to resolve them using
repoquery --resolve.  However, some dependencies are of the following form:
  dependency: python >= 2.4
  dependency: python(abi) = 2.4
  dependency: python-elementtree

I know how to resolve the last - repoquery --resolve pythone-elementtree.
But how do I do the second?  What does "(abi)" mean and how do I include
that information when I am resolving the dependency?

Thanks!


On Mon, Jun 24, 2013 at 2:03 PM, Chris Kittlitz <[email protected]> wrote:

> Looks like repoquery --resolve is equivalent.
>
> Thanks!
>
>
> On Mon, Jun 24, 2013 at 2:02 PM, Chris Kittlitz <[email protected]>wrote:
>
>> That's great!  But I am concerned about the warning that says it is
>> maintained for legacy reasons only.  Does repoquery provide the same
>> functionality?
>>
>>
>> On Mon, Jun 24, 2013 at 1:08 PM, Frank Murphy <[email protected]>wrote:
>>
>>> On Mon, 24 Jun 2013 12:45:19 -0400
>>> Chris Kittlitz <[email protected]> wrote:
>>>
>>> > Nope - reinstall only reinstalls the package you specify.  It will
>>> > not reinstall all the dependencies.
>>> >
>>>
>>> man yum
>>>  resolvedep
>>>               Is used to list packages providing the specified
>>> dependencies, at most one package is listed per dependency. This
>>> command is maintained  for legacy reasons only, use repoquery instead.
>>>
>>> --installroot=root
>>>               Specifies an alternative installroot, relative to which
>>> all packages will be installed. Think of this like doing "chroot
>>> <root> yum"  except using --installroot allows yum to work before the
>>> chroot is created.  Note: You may also want to use the option
>>> --releasever=/ when creating the installroot as otherwise the
>>> $releasever value is taken from the rpmdb within the installroot (and
>>> thus.  will  be  empty,  before  cre‐ ation). Configuration Option:
>>> installroot
>>>
>>>
>>> Can you generate a list of rpms you require?
>>> if yes then:
>>> yum install resolvedep --downloadonly --installroot=/some/path
>>> --releasever=CentOsN `cat your-rpm-list`
>>>
>>>
>>> --
>>> Regards,
>>> Frank  "When in doubt PANIC!"
>>>  I check for new mail app. 20min
>>> www.frankly3d.com
>>> _______________________________________________
>>> Yum mailing list
>>> [email protected]
>>> http://lists.baseurl.org/mailman/listinfo/yum
>>>
>>
>>
>

_______________________________________________
Yum mailing list
[email protected]
http://lists.baseurl.org/mailman/listinfo/yum