Re: Creating complete repository

Chris Kittlitz <[email protected]> Tue, 25 Jun 2013 10:17:39 -0400
Newsgroups gmane.linux.rpm.yum
Message-ID <CAD-XgHvkGeVKbWCu53T-Oi7qQsopisHwnrr1=m9f7FtmO43heA@mail.gmail.com>
OK - there are a number of i386 and i686 packages installed.  Approximately
1/3 of the packages are 32 bit.
$ rpm -qa --qf '%{name} %{arch}\n' | grep i[36]86 | wc
    382     764    6251
$ rpm -qa --qf '%{name} %{arch}\n' | grep x86 | wc
   1098    2196   20562
$ rpm -qa --qf '%{name} %{arch}\n' | grep noarch | wc
    139     278    3207
$ rpm -qa --qf '%{name} %{arch}\n' | grep -v noarch | grep -v x86 | grep -v
i[36]86
gpg-pubkey (none)

I talked to my sysadmin, and he mentioned that the repositories are updated
directly from the distribution repos, so any instances of i[36]86 in our
local copies are a result of them being present in the main distribution.

To check this, I went to the CentOS repo and saw the following:
http://mirror.centos.org/centos/5/os/x86_64/CentOS/
...
[image: [ ]]GConf2-2.14.0-9.el5.i386.rpm<http://mirror.centos.org/centos/5/os/x86_64/CentOS/GConf2-2.14.0-9.el5.i386.rpm>18-Nov-2007
18:48 1.5M [image: [
]]GConf2-2.14.0-9.el5.x86_64.rpm<http://mirror.centos.org/centos/5/os/x86_64/CentOS/GConf2-2.14.0-9.el5.x86_64.rpm>19-Nov-2007
15:09 1.5M...
So, there is an i386 RPM in the official CentOS 5.6 x86_64 repository.

My sysadmin said this is because some packages do not have 64 bit versions,
or there is certain functionality only provided by the 32 bit version of
the package.




On Tue, Jun 25, 2013 at 9:54 AM, Brian Long (brilong) <[email protected]>wrote:

>  rpm -qa doesn't list arch by default, so I would consider this command:
>
>  rpm -qa --qf '%{name} %{arch}\n' | grep i686
>
>  /Brian/
>    --
>        Brian Long                             |       |
>        Research Triangle Park, NC         . | | | . | | | .
>                                               '       '
>                                               C I S C O
>
>  On Jun 25, 2013, at 9:44 AM, Chris Kittlitz <[email protected]>
>  wrote:
>
>  $ rpm -q python
> python-2.4.3-44.el5
> $ rpm -q glibc
> glibc-2.5-58.el5_6.4
> glibc-2.5-58.el5_6.4
> $ rpm -qa | grep i686
> $
>
>  What should I expect for the output of these?
>
>
> On Tue, Jun 25, 2013 at 9:39 AM, Frank Murphy <[email protected]> wrote:
>
>> On Tue, 25 Jun 2013 09:18:39 -0400
>> Chris Kittlitz <[email protected]> wrote:
>>
>>
>> > $ 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
>>
>>  rpm -q python
>>
>> >   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
>>
>>  rpm -q glibc
>>
>> rpm based systems should only have one version of an rpm&libs,
>> usually the most recent unless a very compelling reason not to.
>>
>> <snipped>
>> >    provider: glibc.i686 2.5-58
>> >    provider: glibc.x86_64 2.5-58
>>
>>  multiarch
>>
>> try rpm -qa | grep i686
>>
>> --
>> 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
>
>
>
> _______________________________________________
> Yum mailing list
> [email protected]
> http://lists.baseurl.org/mailman/listinfo/yum
>
>

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