[Spacewalk-list] remove package in spacewalk repo

Jérôme Meyer Jerome.Meyer at lcsystems.ch
Mon Dec 17 12:57:30 UTC 2018


Thanks a lot Dennis for your answer and help.

Regards, J.

From: spacewalk-list-bounces at redhat.com [mailto:spacewalk-list-bounces at redhat.com] On Behalf Of Dennis Pittman
Sent: Freitag, 14. Dezember 2018 10:52
To: spacewalk-list at redhat.com; spacewalk-list at redhat.com
Subject: Re: [Spacewalk-list] remove package in spacewalk repo

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.

Get Outlook for iOS<https://aka.ms/o0ukef>

________________________________
From: spacewalk-list-bounces at redhat.com<mailto:spacewalk-list-bounces at redhat.com> on behalf of Jérôme Meyer <jerome.meyer at lcsystems.ch<mailto:jerome.meyer at lcsystems.ch>>
Sent: Friday, December 14, 2018 4:47 AM
To: 'spacewalk-list at redhat.com'
Subject: Re: [Spacewalk-list] remove package in spacewalk repo

This is what I need but this package is installed on many hosts, more than 70..
If I remove this package on spacewalk will do it uninstall on the machine? I don't think so but I prefer to ask ;)

Thanks for your support
J.

From: spacewalk-list-bounces at redhat.com<mailto:spacewalk-list-bounces at redhat.com> [mailto:spacewalk-list-bounces at redhat.com] On Behalf Of Dennis Pittman
Sent: Donnerstag, 13. Dezember 2018 20:28
To: spacewalk-list at redhat.com<mailto:spacewalk-list at redhat.com>
Subject: Re: [Spacewalk-list] remove package in spacewalk repo

To add to the last response you may have to remove the package if it's still listed in a softwarechannel

spacecmd package_detail libmspack-0.7 # list the details about the package
spacecmd package_remove libmspack-0.7  # remove the package.  This will work when the remove_orphan does not, If the package is not orphaned

Dennis J. Pittman
(e)      djpittma at outlook.com<mailto:djpittma at outlook.com>
(m)    919-426-8907
(a)     310 Acorn Hollow Pl., Durham, NC 27703

From: spacewalk-list-bounces at redhat.com<mailto:spacewalk-list-bounces at redhat.com> [mailto:spacewalk-list-bounces at redhat.com] On Behalf Of William Hongach
Sent: Thursday, December 13, 2018 2:20 PM
To: spacewalk-list at redhat.com<mailto:spacewalk-list at redhat.com>
Subject: Re: [Spacewalk-list] remove package in spacewalk repo

Hello,

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:

spacecmd package_listorphans
spacecmd package_removeorphans

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:

spacewalk-data-fsck -f
spacewalk-data-fsck -d

From: spacewalk-list-bounces at redhat.com<mailto:spacewalk-list-bounces at redhat.com> <spacewalk-list-bounces at redhat.com<mailto:spacewalk-list-bounces at redhat.com>> On Behalf Of Jérôme Meyer
Sent: Thursday, December 13, 2018 11:16 AM
To: 'spacewalk-list at redhat.com' <spacewalk-list at redhat.com<mailto:spacewalk-list at redhat.com>>
Subject: [Spacewalk-list] remove package in spacewalk repo

Hi,

It is possible to remove unwanted package in spacewalk repository?
In my dev-epel channel there's a package that is no longer available (libmspack-0.7).

Could I delete it? Can it result a dependency problem?...and how to do that?

Thank in advance
Regards,
J.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listman.redhat.com/archives/spacewalk-list/attachments/20181217/d510c28a/attachment.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 5165 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/spacewalk-list/attachments/20181217/d510c28a/attachment.p7s>


More information about the Spacewalk-list mailing list