[CentOS] mixed repos

Tue Sep 12 08:08:44 UTC 2006
Johnny Hughes <mailing-lists at hughesjr.com>

On Tue, 2006-09-12 at 10:55 +0300, "ΠΑΤΡΙΣ > Τμημα Internet" wrote:
> Hello,
> Does anybody knows a way to keep updated mixed repositories without 
> mixing them  ?
> For Example i have 3 repos in my desktop centos system , Centos repos 
> handled by up2date
> Dag repo handled by apt and Karan repo handled by yum.
> I need packages from each repo but i don't want the secondary repos to 
> mess my system so
> i never update with these repos. is there a way each tool (up2date, yum, 
> apt) to update only
> the packages that came from that repo and not the whole system  ? 
> for example to update dag packages i use apt-get install and the names 
> of dag repos packages
> in my system but it's kind of complicated to track all these packages 
> one by one.
> 
> I believe that if this mater resolved and we can have multiple repos and 
> more apps than centos
> can compete even ubuntu.

You need to use yum and the protectbase plugin.  With protectbase
installed and configured, you can run yum update and have core packages
protected.

http://wiki.centos.org/PackageManagement/Yum

(look at protectbase on that Page)

You can also easily do:

yum --disablerepo=\* --enablerepo=repo1 (yum_commands)

(you can use the repo name inside the [] in the repo file for this)

Apt is included as an option for i386 only, but yum is the recommended
way.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
URL: <http://lists.centos.org/pipermail/centos/attachments/20060912/d2ad95ac/attachment-0005.sig>