If you're using spacewalk-repo-sync to sync an upstream yum repo to spacewalk, you can edit the following file:
# cat /etc/rhn/spacewalk-repo-sync/yum.conf [ansible-rhel7-x86_64] exclude=ansible-2.9*,ansible-test-2.9* [epel7-centos7-x86_64] exclude=ansible-* [epel7-rhel7-x86_64] exclude=ansible-* This ensures my Spacewalk mirrors EPEL, but does not include any RPMs named ansible (since they're no longer maintained). It also ensures I don't mirror ansible 2.9 from the upstream ansible-rhel7-x86_64 yum repo. I had to clean the RPMs out of my channels manually once or twice, but adding these statements ensure they're not mirrored in the future. /Brian/ On Wed, Apr 8, 2020 at 2:25 PM Stefan Bluhm <redhat....@bluhm-de.com> wrote: > The way I do that is via the command line on the system: yum versionlock > [1]. > > You might also want to create a channel copy and assign the system to that > specific channel. > > You can also lock the complete system via Spacewalk, but I don't think you > are looking for that. > > [] 1https://access.redhat.com/solutions/98873 > > ----- Ursprüngliche Mail ----- > Von: "Sulove Khanal" <skha...@aplura.com> > An: "spacewalk-list" <spacewalk-list@redhat.com> > Gesendet: Mittwoch, 8. April 2020 20:11:50 > Betreff: Re: [Spacewalk-list] Permanently remove package from subscribed > channel > > That worked, thank you all for the help. One more question, is there a way > to make a/one package not get pushed/synced to one particular system within > a Spacewalk channel environment? If so, how? > > Regards, > Sulove > > On 4/8/20, 11:15 AM, "Stefan Bluhm" <spacewalk-list-boun...@redhat.com > on behalf of redhat....@bluhm-de.com> wrote: > > Hello Sulove, > > check out the filters in the repository settings: > > Channels --> Manage Software Channels --> Manage Repositories --> > <Label> --> Filters (last field on the screen). > > - excludes > + includes > > Best wishes, > > Stefan > > ----- Ursprüngliche Mail ----- > Von: "Sulove Khanal" <skha...@aplura.com> > An: "spacewalk-list" <spacewalk-list@redhat.com> > Gesendet: Mittwoch, 8. April 2020 15:36:43 > Betreff: Re: [Spacewalk-list] Permanently remove package from > subscribed channel > > Where on the WebUI am I able to block these packages? The only thing I > see is to delete a package within a channel, which will reappear the next > time it syncs. (Manage software channels ---> click on # of packages in > channel, search for package in question, click remove.) > > Regards, > Sulove > > On 4/7/20, 4:21 PM, "Robert Paschedag" < > spacewalk-list-boun...@redhat.com on behalf of robert.pasche...@web.de> > wrote: > > I would go via the WebUI and edit the channel > > sent from my mobile device > > > -------- Originale Nachricht -------- > Von: Sulove Khanal <skha...@aplura.com> > Gesendet: Tue Apr 07 21:12:57 GMT+02:00 2020 > An: spacewalk-list@redhat.com > Betreff: Re: [Spacewalk-list] Permanently remove package from > subscribed channel > > Is the channel definition within the command line? How would I get > to where I want to go? > > For example, if I want to block Firefox package updates from a > channel called "centos7-x86-64," what commands would I run exactly? I am a > beginner Spacewalk user. > > Regards, > Sulove > > On 4/7/20, 2:54 PM, "Robert Paschedag" < > spacewalk-list-boun...@redhat.com on behalf of robert.pasche...@web.de> > wrote: > > Within the channel definition, you can specify to block > certain packages. Something like > > "-perl*" would not sync perl packages. > > Note that this might break dependencies. > > Robert > > sent from my mobile device > > > -------- Originale Nachricht -------- > Von: Sulove Khanal <skha...@aplura.com> > Gesendet: Tue Apr 07 15:54:21 GMT+02:00 2020 > An: spacewalk-list@redhat.com > Betreff: [Spacewalk-list] Permanently remove package from > subscribed channel > > Hi, > > > > Is there a way to permanently remove packages from a Spacewalk > channel? I am receiving Firefox package updates in a Centos7 channel that I > don’t believe should be occurring; I’ve figured out a way to temporarily > delete the Firefox package updates, but once the channel syncs (which is > often), the Firefox updates pull again and I am left with the same issue. > > > > Thank you, > > Sulove > > > > > > > ------------------------------------------------------------------------ > > _______________________________________________ > Spacewalk-list mailing list > Spacewalk-list@redhat.com > https://www.redhat.com/mailman/listinfo/spacewalk-list > > > _______________________________________________ > Spacewalk-list mailing list > Spacewalk-list@redhat.com > https://www.redhat.com/mailman/listinfo/spacewalk-list > > > > _______________________________________________ > Spacewalk-list mailing list > Spacewalk-list@redhat.com > https://www.redhat.com/mailman/listinfo/spacewalk-list > > > _______________________________________________ > Spacewalk-list mailing list > Spacewalk-list@redhat.com > https://www.redhat.com/mailman/listinfo/spacewalk-list > > > > _______________________________________________ > Spacewalk-list mailing list > Spacewalk-list@redhat.com > https://www.redhat.com/mailman/listinfo/spacewalk-list > > > _______________________________________________ > Spacewalk-list mailing list > Spacewalk-list@redhat.com > https://www.redhat.com/mailman/listinfo/spacewalk-list > > > > _______________________________________________ > Spacewalk-list mailing list > Spacewalk-list@redhat.com > https://www.redhat.com/mailman/listinfo/spacewalk-list > > > _______________________________________________ > Spacewalk-list mailing list > Spacewalk-list@redhat.com > https://www.redhat.com/mailman/listinfo/spacewalk-list
_______________________________________________ Spacewalk-list mailing list Spacewalk-list@redhat.com https://www.redhat.com/mailman/listinfo/spacewalk-list