<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html;charset=ISO-8859-1">
<title></title>
</head>
<body text="#000000" bgcolor="#ffffff">
I was aware of the 64 bit and 32 bit versions, but any yum'ing
whatsoever fails now with a conflict from an existing installed version<br>
<br>
why would a yum clean and rebuilddb not be the best way to fix rpm
errors, certainly this has been the methods I have succesffully
employed for many years....<br>
<br>
If there is a better way then let me know...<br>
<br>
It seems that yum is not able to update existing packages anymore and
tries to install newer rpms along side the old ones....<br>
<br>
Here is a sample out put of "yum install mysql-server"<br>
<font face="Courier New, Courier, monospace"><br>
Install: mysql-server.x86_64 0:4.1.12-3.RHEL4.1 - base<br>
<br>
Performing the following to resolve dependencies:<br>
Update: mysql.x86_64 0:4.1.12-3.RHEL4.1 - base<br>
Total download size: 9.9 M<br>
Downloading Packages:<br>
Running Transaction Test<br>
Finished Transaction Test<br>
Transaction Check Error: file /usr/bin/mysqldumpslow from install of
mysql-4.1<br>
.12-3.RHEL4.1 conflicts with file from package mysql-4.1.10a-2.RHEL4.1<br>
file /usr/share/info/mysql.info.gz from install of
mysql-4.1.12-3.RHEL4.1 conf<br>
licts with file from package mysql-4.1.10a-2.RHEL4.1<br>
file /usr/share/man/man1/mysql.1.gz from install of
mysql-4.1.12-3.RHEL4.1 con<br>
flicts with file from package mysql-4.1.10a-2.RHEL4.1</font><br>
<br>
etc etc <br>
<br>
<br>
Jim Perrin wrote:<br>
<blockquote type="cite"
cite="mid302ce8b50510200819g21572bcdn27e44e971adbb6f8@mail.gmail.com">
<pre wrap="">On 10/20/05, Peter Farrow <a class="moz-txt-link-rfc2396E" href="mailto:peter@farrows.org"><peter@farrows.org></a> wrote:
</pre>
<blockquote type="cite">
<pre wrap="">Hi There,
Install Centos 4.1 X86-64 onto an athlon64 box.
unfortunately half way through a yum -y upgrade I press ctrl-c on the
wrong window and aborted a couple of the packages in the (large) update.
Now the rpm database things there are multiple packages installed on the
same rpm versions,
eg:
>rpm -q -a | grep mysql
mod_auth_mysql-2.6.1-2.2
php-mysql-4.3.9-3.6
mysqlclient10-3.23.58-4.RHEL4.1
mysqlclient10-3.23.58-4.RHEL4.1
mysql-devel-4.1.10a-2.RHEL4.1
mysql-4.1.10a-2.RHEL4.1
mysql-4.1.10a-2.RHEL4.1
libdbi-dbd-mysql-0.6.5-10.RHEL4.1
rpm -e mysqlclient10-3.23.58-4.RHEL4.1
error: "mysqlclient10-3.23.58-4.RHEL4.1" specifies multiple packages
</pre>
</blockquote>
<pre wrap=""><!---->
These are most likely packages of different architecture. one i386,
and one x86_64
</pre>
<blockquote type="cite">
<pre wrap="">So I tried a "yum clean all" and tried again but yum fails with a
transaction check error with conflicts of rpms onthemselves.
I did a rpm --rebuilddb with no joy, and i deleted the __db files from
/var/lib/rpm - still no joy.
</pre>
</blockquote>
<pre wrap=""><!---->
REALLY not the right way to fix it.....
</pre>
<blockquote type="cite">
<pre wrap="">I cn't install any rpms now as it says there are conflicts....
I am fresh out of ideas now...
Any help appreciated...
</pre>
</blockquote>
<pre wrap=""><!---->
do the following as root (and for your user also)
echo "%_query_all_fmt %%{name}-%%{version}-%%{release}.%%{arch}" >>
~/.rpmmacros
then rpm -q mysqlclient10-3.23.58-4.RHEL4.1, and you will see the
different packages. use the full packagename to remove one. should be
something like mysqlclient10-3.23.58-4.RHEL4.1.i386 or
mysqlclient10-3.23.58-4.RHEL4.1.x86_64
--
Jim Perrin
System Administrator - UIT
Ft Gordon & US Army Signal Center
_______________________________________________
CentOS mailing list
<a class="moz-txt-link-abbreviated" href="mailto:CentOS@centos.org">CentOS@centos.org</a>
<a class="moz-txt-link-freetext" href="http://lists.centos.org/mailman/listinfo/centos">http://lists.centos.org/mailman/listinfo/centos</a>
</pre>
</blockquote>
</body>
</html>