Find the answer to your Linux question:
Results 1 to 3 of 3
Is there a way to remove dependent RPM packages recursively? Like this: Error: [package name] is needed by [package name] removing [package name], [package name], [package name], [package name], ......
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Linux Newbie
    Join Date
    Oct 2004
    Posts
    139

    removing RPM dependencies recursively?


    Is there a way to remove dependent RPM packages recursively?

    Like this:
    Error: [package name] is needed by [package name]
    removing [package name], [package name], [package name], [package name], ...

  2. #2
    Linux Guru dylunio's Avatar
    Join Date
    Aug 2004
    Location
    Cymru
    Posts
    4,157
    Can't you do:
    Code:
    rpm -e package1 packege2 package3
    Registered Linux User #371543!
    Get force-get May The Source Be With You
    /dev/null
    /dev/null2

  3. #3
    Linux User
    Join Date
    Aug 2005
    Location
    Peterborough, UK
    Posts
    379
    If you're using FC, then you can type (as root):
    Code:
    yum remove <package name>
    It'll give you a list of packages that it'll get rid of, including those it'll be deleting for dependencies. You just need to OK that and you (and, coincidentally, the packages) are off.
    \"I am, after all,\" said Pooh, \"a bear of very little brain.\"
    MY PC: Athlon XP64 3000+ on a Asus K8V-X mobo w/1GB of non-descript RAM. AGP - GeForce 2 MX400. PCI - Creative Live! 5.1 soundcard. 140 GB and 120 GB SATA WD drives.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •