On Tue, 3 Feb 2009, John R Pierce wrote:

> I have a system that was originally installed with RHEL 3 x86_64, and
> I've since 'updated' it to CentOS 3 via installing yum and
> centos-release, then running a yum update.
>
> is there any way I can force -all- installed packages to be replaced
> with their centos analogs just to be sure its all consistent?

When using apt-get you can do:

        apt-get install --reinstall $(rpm -qa --qf '%{name}\n' | grep -v 
gpg-pubkey)

it requires that you have all packages available from repositories. If not 
you will have to exclude those packages too (using grep -v).

-- 
--   dag wieers,  d...@centos.org,  http://dag.wieers.com/   --
[Any errors in spelling, tact or fact are transmission errors]
_______________________________________________
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos

Reply via email to