Re: Update for x86_64 dependency prob XFree86-libs?

Pasi Pirhonen <[email protected]> Wed, 22 Dec 2004 12:57:27 +0200
Newsgroups gmane.linux.tao.general
Message-ID <[email protected]>
Hi,


On Wed, Dec 22, 2004 at 11:44:11AM +0100, Remco Barendse wrote:
> On Tue, 21 Dec 2004, Pasi Pirhonen wrote:
> 
> 
> OK will try again later, thanx! (I do not have openoffice installed btw)
> 
> This box isn't running any IA32 stuff, everything is rebuilt from SRPMS or 
> installed from tarball and even so I added only about 5 packages or so.
> 
> Can I see in any way which packages are IA32?

Two ways comes to mind immetiatedly.

alias mrpm='rpm --queryformat "%{name}-%{version}-%{release}.%{arch}\n" '

and then

[root@dual /]# mrpm -q glibc
glibc-2.3.2-95.27.xen.i686
glibc-2.3.2-95.27.xen.x86_64


or 

%_query_all_fmt %%{name}-%%{version}-%%{release}.%%{arch}

to ~/.rpmmarcros and rpm will puke out as 

[root@dual /]# rpm -q glibc
glibc-2.3.2-95.27.xen.i686
glibc-2.3.2-95.27.xen.x86_64


> 
> The output of : rpm -qa | sort | less
> would make me believe that several RPMS are installed twice:
> 
> cyrus-sasl-gssapi-2.1.15-10
> cyrus-sasl-md5-2.1.15-10
> cyrus-sasl-plain-2.1.15-10
> db4-4.1.25-8
> db4-4.1.25-8
> db4-devel-4.1.25-8
> 
> expat-1.95.5-6
> fontconfig-2.2.1-13
> freetype-2.1.4-4.0
> glib-1.2.10-11.1
> glibc-2.3.2-95.27
> glibc-devel-2.3.2-95.27
> and many others
> 
> Are these IA32 packages or a messed up RPM database?? (rpm --rebuilddb 
> doesn't resolve it though).
> 

No. it's hybrid arch so ia32 and x86-64 libs/packages can co-exist on
same machine. it's not always easy, but possible.

After above 'tips', u'll see more exactly what is installed in your
system. Generally it's good idea to keep at least glibc.i686 and
glibc-devel.i386 installed.


-- 
Pasi Pirhonen - [email protected] - http://iki.fi/upi/