Re: RHEL -> CentOS

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



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,  dag@xxxxxxxxxx,  http://dag.wieers.com/   --
[Any errors in spelling, tact or fact are transmission errors]
_______________________________________________
CentOS mailing list
CentOS@xxxxxxxxxx
http://lists.centos.org/mailman/listinfo/centos

[Index of Archives]     [CentOS]     [CentOS Announce]     [CentOS Development]     [CentOS ARM Devel]     [CentOS Docs]     [CentOS Virtualization]     [Carrier Grade Linux]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Linux USB]
  Powered by Linux