Subject: | |
From: | |
Reply To: | |
Date: | Wed, 23 Feb 2011 07:19:32 +0100 |
Content-Type: | text/plain |
Parts/Attachments: |
|
|
-- Le (On) 2011-02-22 +0100 à (at) 17:27:23 Jan Kundrát écrivit (wrote): --
> Hi there,
> I've got a fresh install of SL5.5, and would like to set it up to use
> the "5x" repositories, whatever they are (or, to be more precise, I want
> this machine to receive updates from new releases as they come, and I
> think that replacing yum's conf files is the way to go). The most
> straightforward way is, I guess, replacing the yum-conf-55 package with
> yum-conf-5x. However, yum won't allow me to do that:
>
> # yum -y --skip-broken install yum-conf-5x
> ...
> Transaction Check Error:
> file /etc/yum.conf from install of yum-conf-5x-1-9.SL.noarch
> conflicts with file from package yum-conf-55-1.SL.noarch
>
> People at #rhel on Freenode suggested that this is an error in the
> yum-conf-5x package which does not use the "obsoletes" feature of YUM.
>
> So, what shall I do in this case?
>
Hello,
what I do which work for me is :
yum clean all
yum -y update
yum -y shell ~/yum-5x
yum -y update yum
yum clean all
yum -y upgrade
~/yum-5x contains :
erase yum-conf
install yum-conf-5x
run
exit
Hope this help.
--
Best regards,
Robert FRANCHISSEUR
____ Apollo_gist :-)_______________________________________________
| Robert FRANCHISSEUR |
| Laboratoire de Météorologie Dynamique - C.N.R.S. |
| Equipe "R.A.M.S.E.S." - UPMC - Tour 45-55 3ème 315C |
| Boite 99 - 4, place Jussieu F-75252 PARIS CEDEX 05 FRANCE |
| Phone : +33 (0)1 44 27 73 87 fax : +33 (0)1 44 27 62 72 |
| e-mail : robert at lmd . jussieu . fr http://www.lmd.jussieu.fr |
-------------------------------------------------------------------
|
|
|