Mailing List Archive

Re: atrpms-users Digest, Vol 127, Issue 10
Correction:

To explain:
You don't want any myth* or p*-MythTV* packages from this repo, but you
don't want to try everything else. Just exclude what your missing from
Axel's repo and then you can use another compatible repos external packages
easily.


Should read:
To explain:
You don't want any myth* or p*-MythTV* packages from this repo, but you DO
WANT to try everything else. Just exclude what your missing from Axel's
repo and then you can use another compatible repos external packages
easily.


K



On Wed, Aug 27, 2014 at 3:00 AM, <atrpms-users-request@atrpms.net> wrote:

> Send atrpms-users mailing list submissions to
> atrpms-users@atrpms.net
>
> To subscribe or unsubscribe via the World Wide Web, visit
> http://lists.atrpms.net/mailman/listinfo/atrpms-users
> or, via email, send a message with subject or body 'help' to
> atrpms-users-request@atrpms.net
>
> You can reach the person managing the list at
> atrpms-users-owner@atrpms.net
>
> When replying, please edit your Subject line so it is more specific
> than "Re: Contents of atrpms-users digest..."
>
>
> Today's Topics:
>
> 1. RepoFu : Repo Exclusions (Kelsie Flynn)
>
>
> ----------------------------------------------------------------------
>
> Message: 1
> Date: Tue, 26 Aug 2014 12:46:27 -0700
> From: Kelsie Flynn <kelsiegflynn@gmail.com>
> To: atrpms-users@atrpms.net
> Subject: [ATrpms-users] RepoFu : Repo Exclusions
> Message-ID:
> <CAAk+JN9=_
> 7QA_vNg2sXPHLsNCjjeO1Hw28Td5fW07+nFTyvSDQ@mail.gmail.com>
> Content-Type: text/plain; charset="utf-8"
>
> I mentioned earlier about repofu.
> I've edited this down to one post instead of two.
>
>
> Repos for yum and compatible work-a-likes have an available config option
> for every
> config to exclude packages.
>
>
> *Note: /etc/yum.conf is the master yum config file*.
>
> Entries for specific repos go in the respective repo config files.
>
> For example:
>
> * /etc/yum.repo.d/ *
> I have a typical setup from ATrpms with stable enabled.
>
> If I leave the config file as shipped and install mythtv for example.
> It will install the latest release from the server by default.
>
> You can override this on the cmd line but it's not the best way.
>
> Adding an exclude line in your specific repo config is a better way.
>
> For example:
> I want to install mythtv-0.25.3 from Axels repo but I don't want the
> latest version on the server. I want a specific version, but several exist.
> Not to worry!
>
>
>
> First:
> Make a backup of you original config file in /etc/yum.repos.d/
>
> Then add one entry such as below if you want to try just 0.25.3
>
> exclude=myth*-0.2[4678]* p*-MythTV-0.2[46]
>
>
> Then just install what you want, using yum as normal.
> # yum install mythtv-frontend
> etc,etc
>
> The above exclude is quite easy to understand one you get the syntax.
> I'll break this down into non technical speak.
>
> Exclude the packages that don't match mythtv-0.25 and related dependencies
> and give me the rest only.
> Note the missing 5. It's easy to convert this to what you want, by
> specifying what you don't want.
> Funny how that is.
>
>
>
> Another example:
> If you want mythtv 0.26.1 then your config exclude should look similar to
> or
> work similar to:
>
> exclude=myth*-0.2[4578]* p*-MythTV-0.2[45]
>
>
> 27.X+ external repo coexistence example:
>
> If you want mythtv-0.27.X from another ATrpms compatible server but you
> want to still use the
> packages on Axels server. In that case it your atrpms repo would look like
> or be similar in function to this:
>
> exclude=myth* p*-MythTV*
>
> To explain:
> You don't want any myth* or p*-MythTV* packages from this repo, but you
> don't
> want to try everything else. Just exclude what your missing from Axel's
> repo
> and then you can use another compatible repos external packages easily.
>
>
>
>
> I hope now you can also see and understand how this could easily be
> transferred to other rpm
> packages and repos, not just mythtv and ATrpms.
>
> It gets more complex outside of Axels compatible repo's.
> But anythings possible in this if your willing to put in the work.
> Even using RPMf and ATrpms packages with peaceful coexistence is possible,
> but it's an advanced topic and not always useful.
>
> Finally,
> If your doing something you feel is important for more than just you and
> your trying to help others and your stuck.
> Send me a private email with what your trying to achieve and I will offer
> you my humble, but confident opinion.
>
>
> Happy ATRpm'ing,
>
> Kelsie Flynn
> -------------- next part --------------
> An HTML attachment was scrubbed...
> URL: <
> http://lists.atrpms.net/pipermail/atrpms-users/attachments/20140826/9bd46e1b/attachment-0001.html
> >
>
> ------------------------------
>
> _______________________________________________
> atrpms-users mailing list
> atrpms-users@atrpms.net
> http://lists.atrpms.net/mailman/listinfo/atrpms-users
>
> End of atrpms-users Digest, Vol 127, Issue 10
> *********************************************
>