RIMUOVERE REPOSITORY INSTALLATO PER ERRORE

In questa guida vedremo come disinstallare un repository installato per errore.<br /> <br /> Senza volere su Centos 6.0 ho installato rpmforge pet Centos 5.x<br /> <br /> Non basta entrare in /etc/yum.repos.d/ ed eliminare i txt con rpmforge<br /> <br /> non si riesce ad installare il pacchetto corretto perche restituisce questo errore:<br /> <br /> &nbsp;rpm -i rpmforge-release-0.5.2-2.el6.rf.i686.rpm<br /> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; file /etc/apt/sources.list.d/rpmforge-extras.list from install of rpmforge-release-0.5.2-2.el6.rf.i686 conflicts with file from package rpmforge-release-0.5.2-2.el5.rf.i386<br /> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; file /etc/apt/sources.list.d/rpmforge-testing.list from install of rpmforge-release-0.5.2-2.el6.rf.i686 conflicts with file from package rpmforge-release-0.5.2-2.el5.rf.i386<br /> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; file /etc/apt/sources.list.d/rpmforge.list from install of rpmforge-release-0.5.2-2.el6.rf.i686 conflicts with file from package rpmforge-release-0.5.2-2.el5.rf.i386<br /> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; file /etc/pki/rpm-gpg/RPM-GPG-KEY-rpmforge-dag from install of rpmforge-release-0.5.2-2.el6.rf.i686 conflicts with file from package rpmforge-release-0.5.2-2.el5.rf.i386<br /> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; file /usr/share/doc/rpmforge-release-0.5.2/RPM-GPG-KEY-rpmforge-dag from install of rpmforge-release-0.5.2-2.el6.rf.i686 conflicts with file from package rpmforge-release-0.5.2-2.el5.rf.i386<br /> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; file /etc/pki/rpm-gpg/RPM-GPG-KEY-rpmforge-fabian from install of rpmforge-release-0.5.2-2.el6.rf.i686 conflicts with file from package rpmforge-release-0.5.2-2.el5.rf.i386<br /> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; file /usr/share/doc/rpmforge-release-0.5.2/RPM-GPG-KEY-rpmforge-fabian from install of rpmforge-release-0.5.2-2.el6.rf.i686 conflicts with file from package rpmforge-release-0.5.2-2.el5.rf.i386<br /> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; file /etc/smart/channels/rpmforge.channel from install of rpmforge-release-0.5.2-2.el6.rf.i686 conflicts with file from package rpmforge-release-0.5.2-2.el5.rf.i386<br /> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; file /etc/sysconfig/rhn/sources.rpmforge.txt from install of rpmforge-release-0.5.2-2.el6.rf.i686 conflicts with file from package rpmforge-release-0.5.2-2.el5.rf.i386<br /> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; file /etc/yum.repos.d/mirrors-rpmforge from install of rpmforge-release-0.5.2-2.el6.rf.i686 conflicts with file from package rpmforge-release-0.5.2-2.el5.rf.i386<br /> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; file /etc/yum.repos.d/mirrors-rpmforge-extras from install of rpmforge-release-0.5.2-2.el6.rf.i686 conflicts with file from package rpmforge-release-0.5.2-2.el5.rf.i386<br /> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; file /etc/yum.repos.d/mirrors-rpmforge-testing from install of rpmforge-release-0.5.2-2.el6.rf.i686 conflicts with file from package rpmforge-release-0.5.2-2.el5.rf.i386<br /> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; file /etc/yum.repos.d/rpmforge.repo from install of rpmforge-release-0.5.2-2.el6.rf.i686 conflicts with file from package rpmforge-release-0.5.2-2.el5.rf.i386<br /> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; file /usr/share/doc/rpmforge-release-0.5.2/mirrors-rpmforge.yum from install of rpmforge-release-0.5.2-2.el6.rf.i686 conflicts with file from package rpmforge-release-0.5.2-2.el5.rf.i386<br /> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; file /usr/share/doc/rpmforge-release-0.5.2/rpmforge.apt from install of rpmforge-release-0.5.2-2.el6.rf.i686 conflicts with file from package rpmforge-release-0.5.2-2.el5.rf.i386<br /> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; file /usr/share/doc/rpmforge-release-0.5.2/rpmforge.smart from install of rpmforge-release-0.5.2-2.el6.rf.i686 conflicts with file from package rpmforge-release-0.5.2-2.el5.rf.i386<br /> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; file /usr/share/doc/rpmforge-release-0.5.2/rpmforge.up2date from install of rpmforge-release-0.5.2-2.el6.rf.i686 conflicts with file from package rpmforge-release-0.5.2-2.el5.rf.i386<br /> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; file /usr/share/doc/rpmforge-release-0.5.2/rpmforge.yum from install of rpmforge-release-0.5.2-2.el6.rf.i686 conflicts with file from package rpmforge-release-0.5.2-2.el5.rf.i386<br /> <br /> quindi ci segniamo: rpmforge-release-0.5.2-2.el5.rf.i386<br /> <br /> eseguiamo<br /> <br /> Disinstaliamo il repo:<br /> <br /> <span style="font-weight: bold;">rmp -e rpmforge-release-0.5.2-2.el5.rf.i386</span><br /> <br /> svuotiamo e ripuliamo yum<br /> <br /> <span style="font-weight: bold;">yum clean all</span><br /> <pre>Installiamo il repo corretto<br /><br /><span style="font-weight: bold;">rpm -K rpmforge-release-0.5.2-2.el6.rf.*.rpm</span><br style="font-weight: bold;" /><span style="font-weight: bold;">rpm -i rpmforge-release-0.5.2-2.el6.rf.*.rpm</span><br style="font-weight: bold;" /><br /></pre>

SMF 2.0.13 | SMF © 2013, Simple Machines
TinyPortal © 2005-2012

Indietro all'articolo