How does one do this?
Also, is it possible an rpm installed by rpm and not yum does not indicate what it provides to yum when yum queries needed dependencies for another package?
Thanks! jlc
On Sun, Mar 30, 2008 at 10:31 AM, Joseph L. Casale jcasale@activenetwerx.com wrote:
How does one do this?
Also, is it possible an rpm installed by rpm and not yum does not indicate what it provides to yum when yum queries needed dependencies for another package?
Thanks! jlc
Not sure what you are aiming to do, but you can find all non-CentOS packages by the command on this wiki:
http://wiki.centos.org/TipsAndTricks/YumAndRPM#head-0424f619b79e293fc743a397...
Akemi
Not sure what you are aiming to do, but you can find all non-CentOS packages by the command on this wiki:
http://wiki.centos.org/TipsAndTricks/YumAndRPM#head-0424f619b79e293fc743a397...
Akemi
Thats exactly what I need, is there a simple way to pipe the output into rpm or yum and remove all that? Thanks! jlc
On Sun, Mar 30, 2008 at 11:44:19AM -0600, Joseph L. Casale wrote:
Not sure what you are aiming to do, but you can find all non-CentOS packages by the command on this wiki:
http://wiki.centos.org/TipsAndTricks/YumAndRPM#head-0424f619b79e293fc743a397...
Akemi
Thats exactly what I need, is there a simple way to pipe the output into rpm or yum and remove all that? Thanks! jlc
xargs is your friend. :-)
On 30/03/2008, Joseph L. Casale jcasale@activenetwerx.com wrote:
xargs is your friend. :-)
Very nice! So how do I pass just the first string into it? The output is seperated by spaces,,,
awk is also your friend.
<cmd> | awk '{ print $1 }'
Alan.
Joseph L. Casale wrote:
How does one do this?
Also, is it possible an rpm installed by rpm and not yum does not indicate what it provides to yum when yum queries needed dependencies for another package?
Thanks! jlc
While you have gotten an answer that works - I believe there is a cleaner way.
I don't remember the exact command - and it may require the installation of a utilities package - but if you remove the 3rd party repositories from your yum configuration, there is a command that will identify and remove orphaned packages - packages which do not exist in any of the yum repositories yum is configured to use.
Anyone recall what that command is?
On Tue, Apr 1, 2008 at 7:37 AM, Michael A. Peters mpeters@mac.com wrote:
While you have gotten an answer that works - I believe there is a cleaner way.
I don't remember the exact command - and it may require the installation of a utilities package - but if you remove the 3rd party repositories from your yum configuration, there is a command that will identify and remove orphaned packages - packages which do not exist in any of the yum repositories yum is configured to use.
Anyone recall what that command is?
package-cleanup ?
Akemi
On Tue, 2008-04-01 at 07:37 -0700, Michael A. Peters wrote:
Joseph L. Casale wrote:
How does one do this?
Also, is it possible an rpm installed by rpm and not yum does not indicate what it provides to yum when yum queries needed dependencies for another package?
Thanks! jlc
While you have gotten an answer that works - I believe there is a cleaner way.
I don't remember the exact command - and it may require the installation of a utilities package - but if you remove the 3rd party repositories from your yum configuration, there is a command that will identify and remove orphaned packages - packages which do not exist in any of the yum repositories yum is configured to use.
Anyone recall what that command is?
yum list extras Louis