FAQ
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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.centos.org/pipermail/centos/attachments/20080330/18ba2e89/attachment.htm

Search Discussions

  • Akemi Yagi at Mar 30, 2008 at 5:38 pm

    On Sun, Mar 30, 2008 at 10:31 AM, 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
    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-0424f619b79e293fc743a39795b9805f1f73d249

    Akemi
  • Joseph L. Casale at Mar 30, 2008 at 5:44 pm

    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-0424f619b79e293fc743a39795b9805f1f73d249

    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
  • Ray Van Dolson at Mar 30, 2008 at 5:53 pm

    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-0424f619b79e293fc743a39795b9805f1f73d249

    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. :-)
  • Joseph L. Casale at Mar 30, 2008 at 6:07 pm
    xargs is your friend. :-)
    Very nice! So how do I pass just the first string into it? The output is seperated by spaces,,,
    Thanks!
    jlc
  • Alan Bartlett at Mar 30, 2008 at 6:12 pm

    On 30/03/2008, Joseph L. Casale 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.
    -------------- next part --------------
    An HTML attachment was scrubbed...
    URL: http://lists.centos.org/pipermail/centos/attachments/20080330/da9b5e33/attachment.htm
  • Joseph L. Casale at Mar 30, 2008 at 6:16 pm

    awk is also your friend.

    <cmd> | awk '{ print $1 }'

    Alan.
    Thanks everyone!
    jlc


    -------------- next part --------------
    An HTML attachment was scrubbed...
    URL: http://lists.centos.org/pipermail/centos/attachments/20080330/aeedff41/attachment.htm
  • Michael A. Peters at Apr 1, 2008 at 2:37 pm

    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?
  • Akemi Yagi at Apr 1, 2008 at 2:53 pm

    On Tue, Apr 1, 2008 at 7:37 AM, Michael A. Peters 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
  • Louis Lagendijk at Apr 1, 2008 at 5:39 pm

    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

Related Discussions

Discussion Navigation
viewthread | post
Discussion Overview
groupcentos @
categoriescentos
postedMar 30, '08 at 5:31p
activeApr 1, '08 at 5:39p
posts10
users6
websitecentos.org
irc#centos

People

Translate

site design / logo © 2022 Grokbase