<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=Windows-1252">
</head>
<body>
<div><!-- This file has been automatically generated. See web/README.md -->
<div>
<div>
<div style="direction: ltr;">Quick answer is no, if you remove a package from the software channel / repo, it will not remove the package from 70 installed hosts. Unless you have other customized configuration channels.
</div>
</div>
<div><br>
</div>
<div class="ms-outlook-ios-signature">Get <a href="https://aka.ms/o0ukef">Outlook for iOS</a></div>
</div>
<div> </div>
<hr style="display:inline-block;width:98%" tabindex="-1">
<div id="divRplyFwdMsg" dir="dir="ltr""><font face="Calibri, sans-serif" style="font-size:11pt" color="#000000"><b>From:</b> spacewalk-list-bounces@redhat.com on behalf of Jérôme Meyer <jerome.meyer@lcsystems.ch><br>
<b>Sent:</b> Friday, December 14, 2018 4:47 AM<br>
<b>To:</b> 'spacewalk-list@redhat.com'<br>
<b>Subject:</b> Re: [Spacewalk-list] remove package in spacewalk repo
<div> </div>
</font></div>
<meta content="text/html; charset=Windows-1252">
<meta name="ProgId" content="Word.Document">
<meta name="Generator" content="Microsoft Word 14">
<meta name="Originator" content="Microsoft Word 14">
<style>
<!--
@font-face
        {font-family:Calibri}
@font-face
        {font-family:Tahoma}
@font-face
        {font-family:"Bradley Hand ITC"}
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0cm;
        margin-bottom:.0001pt;
        font-size:11.0pt;
        font-family:"Calibri","sans-serif"}
a:link, span.MsoHyperlink
        {color:blue;
        text-decoration:underline}
a:visited, span.MsoHyperlinkFollowed
        {color:purple;
        text-decoration:underline}
p.MsoAcetate, li.MsoAcetate, div.MsoAcetate
        {margin:0cm;
        margin-bottom:.0001pt;
        font-size:8.0pt;
        font-family:"Tahoma","sans-serif"}
p.msonormal0, li.msonormal0, div.msonormal0
        {margin-right:0cm;
        margin-left:0cm;
        font-size:12.0pt;
        font-family:"Times New Roman","serif"}
span.EmailStyle18
        {font-family:"Calibri","sans-serif";
        color:windowtext;
        font-weight:normal;
        font-style:normal}
span.EmailStyle19
        {font-family:"Calibri","sans-serif";
        color:#1F497D}
span.EmailStyle20
        {font-family:"Calibri","sans-serif";
        color:#1F497D}
span.BalloonTextChar
        {font-family:"Tahoma","sans-serif"}
span.EmailStyle23
        {font-family:"Calibri","sans-serif";
        color:#1F497D}
.MsoChpDefault
        {font-size:10.0pt}
@page WordSection1
        {margin:70.85pt 70.85pt 2.0cm 70.85pt}
div.WordSection1
        {}
-->
</style>
<div class="WordSection1">
<p class="MsoNormal"><span lang="EN-GB" style="font-size:9.0pt; color:#1F497D">This is what I need but this package is installed on many hosts, more than 70..</span></p>
<p class="MsoNormal"><span lang="EN-GB" style="font-size:9.0pt; color:#1F497D">If I remove this package on spacewalk will do it uninstall on the machine? I don’t think so but I prefer to ask ;)</span></p>
<p class="MsoNormal"><span lang="EN-GB" style="font-size:9.0pt; color:#1F497D"> </span></p>
<p class="MsoNormal"><span lang="EN-GB" style="font-size:9.0pt; color:#1F497D">Thanks for your support</span></p>
<p class="MsoNormal"><span lang="EN-GB" style="font-size:9.0pt; color:#1F497D">J.</span></p>
<p class="MsoNormal"><span lang="EN-GB" style="font-size:9.0pt; color:#1F497D"> </span></p>
<div>
<div style="border:none; border-top:solid #B5C4DF 1.0pt; padding:3.0pt 0cm 0cm 0cm">
<p class="MsoNormal"><b><span lang="EN-US" style="font-size:10.0pt; font-family:"Tahoma","sans-serif"">From:</span></b><span lang="EN-US" style="font-size:10.0pt; font-family:"Tahoma","sans-serif""> spacewalk-list-bounces@redhat.com [mailto:spacewalk-list-bounces@redhat.com]
<b>On Behalf Of </b>Dennis Pittman<br>
<b>Sent:</b> Donnerstag, 13. Dezember 2018 20:28<br>
<b>To:</b> spacewalk-list@redhat.com<br>
<b>Subject:</b> Re: [Spacewalk-list] remove package in spacewalk repo</span></p>
</div>
</div>
<p class="MsoNormal"> </p>
<p class="MsoNormal"><span lang="EN-US" style="color:#1F497D">To add to the last response you may have to remove the package if it’s still listed in a softwarechannel</span></p>
<p class="MsoNormal"><span lang="EN-US" style="color:#1F497D"> </span></p>
<p class="MsoNormal"><span lang="EN-US" style="color:#1F497D">spacecmd package_detail
</span><span lang="EN-GB" style="">libmspack-0.7 # list the details about the package</span></p>
<p class="MsoNormal"><span lang="EN-GB" style="">spacecmd package_remove libmspack-0.7  # remove the package.  This will work when the remove_orphan does not, If the package is not orphaned</span><span lang="EN-US" style="color:#1F497D"></span></p>
<p class="MsoNormal"><span lang="EN-US" style="color:#1F497D"> </span></p>
<div>
<p class="MsoNormal"><b><span lang="EN-US" style="font-family:"Bradley Hand ITC"; color:#1F497D">Dennis J. Pittman
</span></b></p>
<p class="MsoNormal"><b><span lang="EN-US" style="font-family:"Bradley Hand ITC"; color:#1F497D">(e)     
<a href="mailto:djpittma@outlook.com">djpittma@outlook.com</a></span></b></p>
<p class="MsoNormal"><b><span lang="EN-US" style="font-family:"Bradley Hand ITC"; color:#1F497D">(m)    919-426-8907</span></b></p>
<p class="MsoNormal"><b><span lang="EN-US" style="font-family:"Bradley Hand ITC"; color:#1F497D">(a)     310 Acorn Hollow Pl., Durham, NC 27703</span></b></p>
</div>
<p class="MsoNormal"><span lang="EN-US" style="color:#1F497D"> </span></p>
<div>
<div style="border:none; border-top:solid #E1E1E1 1.0pt; padding:3.0pt 0cm 0cm 0cm">
<p class="MsoNormal" style=""><b><span lang="EN-US" style="">From:</span></b><span lang="EN-US" style="">
<a href="mailto:spacewalk-list-bounces@redhat.com">spacewalk-list-bounces@redhat.com</a> [<a href="mailto:spacewalk-list-bounces@redhat.com">mailto:spacewalk-list-bounces@redhat.com</a>]
<b>On Behalf Of </b>William Hongach<br>
<b>Sent:</b> Thursday, December 13, 2018 2:20 PM<br>
<b>To:</b> <a href="mailto:spacewalk-list@redhat.com">spacewalk-list@redhat.com</a><br>
<b>Subject:</b> Re: [Spacewalk-list] remove package in spacewalk repo</span></p>
</div>
</div>
<p class="MsoNormal"><span lang="EN-US" style=""> </span></p>
<p class="MsoNormal"><span lang="EN-US" style="color:#1F497D">Hello,</span></p>
<p class="MsoNormal"><span lang="EN-US" style="color:#1F497D"> </span></p>
<p class="MsoNormal"><span lang="EN-US" style="color:#1F497D">To clarify, are you referring to packages that have been downloaded locally and pushed to Spacewalk?  If so, an unwanted package that is no longer part of a software channel can be listed and removed
 as follows:</span></p>
<p class="MsoNormal"><span lang="EN-US" style="color:#1F497D"> </span></p>
<p class="MsoNormal"><span lang="EN-US" style="color:#1F497D">spacecmd package_listorphans</span></p>
<p class="MsoNormal"><span lang="EN-US" style="color:#1F497D">spacecmd package_removeorphans</span></p>
<p class="MsoNormal"><span lang="EN-US" style="color:#1F497D"> </span></p>
<p class="MsoNormal"><span lang="EN-US" style="color:#1F497D">This will check for dependencies and remove it from both the Spacewalk database as well as the filesystem.  You can also check the filesystem against the database and vice versa as follows:</span></p>
<p class="MsoNormal"><span lang="EN-US" style="color:#1F497D"> </span></p>
<p class="MsoNormal"><span lang="EN-US" style="color:#1F497D">spacewalk-data-fsck -f</span></p>
<p class="MsoNormal"><span lang="EN-US" style="color:#1F497D">spacewalk-data-fsck -d</span></p>
<p class="MsoNormal"><span lang="EN-US" style="color:#1F497D"> </span></p>
<div>
<div style="border:none; border-top:solid #E1E1E1 1.0pt; padding:3.0pt 0cm 0cm 0cm">
<p class="MsoNormal" style=""><b><span lang="EN-US" style="">From:</span></b><span lang="EN-US" style="">
<a href="mailto:spacewalk-list-bounces@redhat.com">spacewalk-list-bounces@redhat.com</a> <<a href="mailto:spacewalk-list-bounces@redhat.com">spacewalk-list-bounces@redhat.com</a>>
<b>On Behalf Of </b>Jérôme Meyer<br>
<b>Sent:</b> Thursday, December 13, 2018 11:16 AM<br>
<b>To:</b> 'spacewalk-list@redhat.com' <<a href="mailto:spacewalk-list@redhat.com">spacewalk-list@redhat.com</a>><br>
<b>Subject:</b> [Spacewalk-list] remove package in spacewalk repo</span></p>
</div>
</div>
<p class="MsoNormal"><span lang="EN-US" style=""> </span></p>
<p class="MsoNormal"><span style="font-size:9.0pt">Hi,</span></p>
<p class="MsoNormal"><span style="font-size:9.0pt"> </span></p>
<p class="MsoNormal"><span lang="EN-GB" style="font-size:9.0pt">It is possible to remove unwanted package in spacewalk repository?</span></p>
<p class="MsoNormal"><span lang="EN-GB" style="font-size:9.0pt">In my dev-epel channel there’s a package that is no longer available (libmspack-0.7).</span></p>
<p class="MsoNormal"><span lang="EN-GB" style="font-size:9.0pt"> </span></p>
<p class="MsoNormal"><span lang="EN-GB" style="font-size:9.0pt">Could I delete it? Can it result a dependency problem?...and how to do that?</span></p>
<p class="MsoNormal"><span lang="EN-GB" style="font-size:9.0pt"> </span></p>
<p class="MsoNormal"><span lang="EN-GB" style="font-size:9.0pt">Thank in advance</span></p>
<p class="MsoNormal"><span lang="EN-GB" style="font-size:9.0pt">Regards,</span></p>
<p class="MsoNormal"><span lang="EN-GB" style="font-size:9.0pt">J.</span></p>
</div>
</div>
</body>
</html>