Hello,
Is it advisable to clean up the system by deleting the i386 rpms? If so how do you know which ones to remove and which ones CentOS or RHEL require to be installed? You can use “yum list installed *.i386″ to list all of the i386 rpms installed on your x86_64 system and I assume you could use “yum remove installed *.i386″ to remove them all. If there were a few which were necessary to keep you could exclude them in yum.conf.
Thanks for the help,
Patrick
On Mon, 12 Oct 2009 16:48:44 -0500 Patrick McEvoy wrote:
Is it advisable to clean up the system by deleting the i386 rpms?
It depends on what you're doing. If you really need some package which does not exist in x86_64 version, use i386. If all you need exists in x86_64, there is no need to use i386 packages.
If so how do you know which ones to remove and which ones CentOS or RHEL require to be installed?
You don't actually require any i386 rpms at all if you're not using any i386 programs.
You may find the output of the following two commands interesting:
rpm -qa --qf "%{NAME}.%{ARCH}\n" | grep -v 'x86_64|noarch|gpg-pubkey' > list
rpm --test -e $(cat list)
You can remove all i386 packages with this command:
yum remove *.i?86
If yum tells you that it's removing something you need at this point, then you should obviously stop and fix it (with excludes or whatever) before continuing.
Patrick McEvoy wrote:
Hello,
Is it advisable to clean up the system by deleting the i386 rpms?
Patrick
Hi
I don't think this is a good idea. If we are talking about a workstation for a user, better keep, but if you talking about a server, maybe.
Most probably you will have to install some i386 packages at some point.
Regards
mg.
I removed all i?86 on my x86_64 servers. No problem.
Out of pure curiosity: Does anybody know why both i386 and x86_64 are installed by default?
On other x86_64 platforms I rather tend to cherrypick the i386 packages and install them on a case by case basis.
On Wed, Oct 14, 2009 at 06:49, Vnpenguin vnpenguin@vnoss.org wrote:
I removed all i?86 on my x86_64 servers. No problem.
-- http://vnoss.org _______________________________________________ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
I have just found this post regarding the removal of .i?86 packages on a x86_64 machine, http://bugs.centos.org/view.php?id=2590. I assume that these issues still exist for CentOS 5.3. Anyone have advice on how to remove the duplicate packages safely?
Thanks, Patrick
Mathieu Baudier wrote:
Out of pure curiosity: Does anybody know why both i386 and x86_64 are installed by default?
On other x86_64 platforms I rather tend to cherrypick the i386 packages and install them on a case by case basis.
On Wed, Oct 14, 2009 at 06:49, Vnpenguin vnpenguin@vnoss.org wrote:
I removed all i?86 on my x86_64 servers. No problem.
-- http://vnoss.org _______________________________________________ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Frank Cox posted above this line, ' yum remove *.i?86 '
What I do is put the package name and then the platform. E.g php-cli.x86_64
On Wed, Oct 14, 2009 at 1:25 PM, Patrick McEvoy < pmcevoy@silvacapitalmanagement.com> wrote:
I have just found this post regarding the removal of .i?86 packages on a x86_64 machine, http://bugs.centos.org/view.php?id=2590. I assume that these issues still exist for CentOS 5.3. Anyone have advice on how to remove the duplicate packages safely?
Thanks, Patrick
Mathieu Baudier wrote:
Out of pure curiosity: Does anybody know why both i386 and x86_64 are installed by default?
On other x86_64 platforms I rather tend to cherrypick the i386 packages and install them on a case by case basis.
On Wed, Oct 14, 2009 at 06:49, Vnpenguin vnpenguin@vnoss.org wrote:
I removed all i?86 on my x86_64 servers. No problem.
-- http://vnoss.org _______________________________________________ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
--
Patrick McEvoy System Administrator Silva Capital Management, LLC 625 N. Michigan Ave, Suite 412 Chicago, IL 60611 Office: 312-397-0400, Fax: 312-397-0404 Cell: 773-517-1287 pmcevoy@silvacapitalmgmt.com
Silva Capital Management, LLC http://www.silvacapitalmgmt.com/
CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
I understand how to remove them using ' yum remove *.i?86 '. The link below says that it breaks the installation of the x86_64 packages by removing files which are shared between the architectures, i.e. docs. How do you remove the .i?86 packages without effecting the x86_64 packages?
James Matthews wrote:
Frank Cox posted above this line, ' yum remove *.i?86 '
What I do is put the package name and then the platform. E.g php-cli.x86_64
On Wed, Oct 14, 2009 at 1:25 PM, Patrick McEvoy <pmcevoy@silvacapitalmanagement.com mailto:pmcevoy@silvacapitalmanagement.com> wrote:
I have just found this post regarding the removal of .i?86 packages on a x86_64 machine, http://bugs.centos.org/view.php?id=2590. I assume that these issues still exist for CentOS 5.3. Anyone have advice on how to remove the duplicate packages safely? Thanks, Patrick Mathieu Baudier wrote: > Out of pure curiosity: > Does anybody know why both i386 and x86_64 are installed by default? > > On other x86_64 platforms I rather tend to cherrypick the i386 > packages and install them on a case by case basis. > > On Wed, Oct 14, 2009 at 06:49, Vnpenguin <vnpenguin@vnoss.org <mailto:vnpenguin@vnoss.org>> wrote: > >> I removed all i?86 on my x86_64 servers. No problem. >> >> -- >> http://vnoss.org >> _______________________________________________ >> CentOS mailing list >> CentOS@centos.org <mailto:CentOS@centos.org> >> http://lists.centos.org/mailman/listinfo/centos >> > _______________________________________________ > CentOS mailing list > CentOS@centos.org <mailto:CentOS@centos.org> > http://lists.centos.org/mailman/listinfo/centos > > -- Patrick McEvoy System Administrator Silva Capital Management, LLC 625 N. Michigan Ave, Suite 412 Chicago, IL 60611 Office: 312-397-0400, Fax: 312-397-0404 Cell: 773-517-1287 pmcevoy@silvacapitalmgmt.com <mailto:pmcevoy@silvacapitalmgmt.com> Silva Capital Management, LLC <http://www.silvacapitalmgmt.com/> _______________________________________________ CentOS mailing list CentOS@centos.org <mailto:CentOS@centos.org> http://lists.centos.org/mailman/listinfo/centos
CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
I have no idea why the packages are installed along with the x86_64 ones however I add excludepkgs=*.i386 *.i686 to yum.conf and it cakes care of that.
Dan Burkland
-----Original Message----- From: centos-bounces@centos.org [mailto:centos-bounces@centos.org] On Behalf Of Mathieu Baudier Sent: Wednesday, October 14, 2009 3:09 AM To: CentOS mailing list Subject: Re: [CentOS] CentOS 5.3 on X86_64: yum installs both i386 and x86_64 packages
Out of pure curiosity: Does anybody know why both i386 and x86_64 are installed by default?
On other x86_64 platforms I rather tend to cherrypick the i386 packages and install them on a case by case basis.
On Wed, Oct 14, 2009 at 06:49, Vnpenguin vnpenguin@vnoss.org wrote:
I removed all i?86 on my x86_64 servers. No problem.
-- http://vnoss.org _______________________________________________ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
_______________________________________________ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos