[Yum] Creating complete repository

Chris Kittlitz ckittlitz at gmail.com
Tue Jun 25 13:18:39 UTC 2013


I had executed those last commands from the wrong system.  Below are the
results of it being executed on our CentOS 5.6 build server.  However, the
results are the same: the yum deplist command yields only 3 required
packages while the repoquery command yields 4.

Frank - I would be very surprised if this system had multiarch packages
installed.  Perhaps the other one did, but this one is our build server and
it is kept up to date with only CentOS 5.6 compatible repositories.  I ran
both --problems and --dupes and there was nothing found and no change to
the results of the yum deplist and repoquery commands.

Brian - I don't want to disable rpmforge because there are packages in that
repository that we require for our applications.  My end goal is to create
a CentOS 5.6 installation DVD which includes the base operating system plus
a few specific application packages we've created.  Thus, I want to
generate a minimal set of packges that can be put on the DVD and installed
on a fresh system.  Also, I haven't been able to get pungi to work properly
yet, but I am still working on it.

$ yum deplist python-sqlite.x86_64
Finding dependencies:
package: python-sqlite.x86_64 1.1.7-1.2.1
  dependency: python(abi) = 2.4
   provider: python.x86_64 2.4.3-43.el5
   provider: python.x86_64 2.4.3-44.el5
  dependency: libc.so.6(GLIBC_2.4)(64bit)
   provider: glibc.x86_64 2.5-58
   provider: glibc.x86_64 2.5-58.el5_6.4
   provider: glibc.x86_64 2.5-58.el5_6.3
   provider: glibc.x86_64 2.5-58.el5_6.2
  dependency: libc.so.6()(64bit)
   provider: glibc.x86_64 2.5-58
   provider: glibc.x86_64 2.5-58.el5_6.4
   provider: glibc.x86_64 2.5-58.el5_6.3
   provider: glibc.x86_64 2.5-58.el5_6.2
  dependency: rtld(GNU_HASH)
   provider: glibc.i686 2.5-58
   provider: glibc.x86_64 2.5-58
   provider: glibc.i686 2.5-58.el5_6.4
   provider: glibc.x86_64 2.5-58.el5_6.4
   provider: glibc.x86_64 2.5-58.el5_6.3
   provider: glibc.i686 2.5-58.el5_6.2
   provider: glibc.x86_64 2.5-58.el5_6.2
   provider: glibc.i686 2.5-58.el5_6.3
  dependency: libc.so.6(GLIBC_2.3)(64bit)
   provider: glibc.x86_64 2.5-58
   provider: glibc.x86_64 2.5-58.el5_6.4
   provider: glibc.x86_64 2.5-58.el5_6.3
   provider: glibc.x86_64 2.5-58.el5_6.2
  dependency: libsqlite3.so.0()(64bit)
   provider: sqlite.x86_64 3.3.6-5
   provider: dropbox.x86_64 0.7.110-1.el5.rf
  dependency: libpthread.so.0()(64bit)
   provider: glibc.x86_64 2.5-58
   provider: glibc.x86_64 2.5-58.el5_6.4
   provider: glibc.x86_64 2.5-58.el5_6.3
   provider: glibc.x86_64 2.5-58.el5_6.2
  dependency: libc.so.6(GLIBC_2.2.5)(64bit)
   provider: glibc.x86_64 2.5-58
   provider: glibc.x86_64 2.5-58.el5_6.4
   provider: glibc.x86_64 2.5-58.el5_6.3
   provider: glibc.x86_64 2.5-58.el5_6.2
Required packages are:
python.x86_64
glibc.x86_64
*sqlite.x86_64 OR dropbox.x86_64*

But again, repoquery command gives both;
$ repoquery --requires --resolve --archlist=x86_64 python-sqlite.x86_64
python-0:2.4.3-44.el5.x86_64
*dropbox-0:0.7.110-1.el5.rf.x86_64
glibc-0:2.5-58.x86_64*
sqlite-0:3.3.6-5.x86_64




On Tue, Jun 25, 2013 at 8:42 AM, Brian Long (brilong) <brilong at cisco.com>wrote:

>  Chris,
> I would recommend you disable certain repos when you're generating
> dependencies.  For example, I doubt dropbox is provided by any vendor repos
> (like CentOS).  I would try to close your deps based on CentOS-only repos
> if possible; then re-enable add-on repos and run again.
>
>  I don't think you want RPMs from rpmforge, elrepo, etc. solving your
> base deps.
>
>  /Brian/
>    --
>        Brian Long                             |       |
>        Research Triangle Park, NC         . | | | . | | | .
>                                               '       '
>                                               C I S C O
>
>  On Jun 25, 2013, at 8:07 AM, Chris Kittlitz <ckittlitz at gmail.com> wrote:
>
>   Looks like I am getting conflicting information from repoquery and
> yum.
>
>  I get the following from yum deplist:
> $ yum deplist python-sqlite-0:1.1.7-1.2.1.x86_64
> Finding dependencies:
> package: python-sqlite.x86_64 1.1.7-1.2.1
>   dependency: libc.so.6()(64bit)
>    provider: glibc.x86_64 2.5-58.el5_6.4
>   dependency: libc.so.6(GLIBC_2.2.5)(64bit)
>    provider: glibc.x86_64 2.5-58.el5_6.4
>   dependency: libc.so.6(GLIBC_2.3)(64bit)
>    provider: glibc.x86_64 2.5-58.el5_6.4
>   dependency: libc.so.6(GLIBC_2.4)(64bit)
>    provider: glibc.x86_64 2.5-58.el5_6.4
>   dependency: libpthread.so.0()(64bit)
>    provider: glibc.x86_64 2.5-58.el5_6.4
>   dependency: libsqlite3.so.0()(64bit)
>    provider: sqlite.x86_64 3.3.6-5
>    provider: dropbox.x86_64 0.7.110-1.el5.rf
>   dependency: python(abi) = 2.4
>    provider: python.x86_64 2.4.3-44.el5
>    provider: python.i386 2.4.3-44.el5
>   dependency: rtld(GNU_HASH)
>    provider: glibc.x86_64 2.5-58.el5_6.4
>    provider: glibc.i686 2.5-58.el5_6.4
>    provider: glibc.i386 2.5-58.el5_6.4
>
>  From the providers, I would find the following packages are required;
> glibc.x86_64 2.5-58.el5_6.4
> sqlite.x86_64 3.3.6-5 *OR* dropbox.x86_64 0.7.110-1.el5.rf
> python.x86_64 2.4.3-44.el5
>
>  Note that I can use either dropbox or sqlite to satisfy python-sqlite.
> I don't need both.
>
> However, if I run a similar command with repoquery, I get conflicting
> results:
> $ repoquery --requires --resolve --archlist=x86_64,noarch
> python-sqlite-0:1.1.7-1.2.1.x86_64
> python-0:2.4.3-44.el5.x86_64
> dropbox-0:0.7.110-1.el5.rf.x86_64
> glibc-0:2.5-58.el5_6.2.x86_64
> sqlite-0:3.3.6-5.x86_64
>
>  It seems to think I need *BOTH* dropbox and sqlite.
>
>  I would prefer to use the repoquery command because it should resolve my
> dependencies for me, but it does not appear to get me what I need.
>
>  Any thoughts?  I'll start looking into what repositories are enabled.
>
> Thanks!!
>
>
> On Mon, Jun 24, 2013 at 8:17 PM, Chris Kittlitz <ckittlitz at gmail.com>wrote:
>
>> CentOS 6.4.  I'll take a look at my repositories tomorrow.
>>
>>  Thanks for all the help.
>>
>>
>> On Monday, June 24, 2013, Frank Murphy wrote:
>>
>>> On Mon, 24 Jun 2013 14:44:37 -0400
>>> Chris Kittlitz <ckittlitz at gmail.com> wrote:
>>>
>>> > 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!
>>>
>>> It means some of your pkgs maybe mixed,
>>> some possible from different CentOS and or Epel releases.
>>>
>>> What CentOS are you supposed to have?
>>>
>>> --
>>> Regards,
>>> Frank  "When in doubt PANIC!"
>>>  I check for new mail app. 20min
>>> www.frankly3d.com
>>> _______________________________________________
>>> Yum mailing list
>>> Yum at lists.baseurl.org
>>> http://lists.baseurl.org/mailman/listinfo/yum
>>>
>>
>  _______________________________________________
> Yum mailing list
> Yum at lists.baseurl.org
> http://lists.baseurl.org/mailman/listinfo/yum
>
>
>
> _______________________________________________
> Yum mailing list
> Yum at lists.baseurl.org
> http://lists.baseurl.org/mailman/listinfo/yum
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.baseurl.org/pipermail/yum/attachments/20130625/b41747f1/attachment.html>


More information about the Yum mailing list