Results 1 to 9 of 9

Thread: How can i remove all obsulete packages?

  1. #1
    Join Date
    Oct 2009
    Location
    Dhaka,Bangladesh
    Posts
    251

    Default How can i remove all obsulete packages?

    What's the command to remove obsulete packages?
    Those packages are not needed as dependencies of other packages.

    During installing a package many packages/libraries are installed as dependencies.
    After removing that package the packages/libraries are in partition.

    Now what's the way to remove those unnecessary libraries?

  2. #2
    Join Date
    Jun 2008
    Location
    The English Lake District. UK - GMT/BST
    Posts
    36,734
    Blog Entries
    20

    Default Re: How can i remove all obsulete packages?

    You are probably better leaving well alone.

    Some orphaned packages may develop.
    They appear in Yast with red text and no provider when viewing the version tab. These can be safely removed in most cases, but you need to know for sure.
    Leap 15.1_KDE
    My Articles Was I any help? If yes: Click the star below

  3. #3
    Join Date
    Oct 2009
    Location
    Dhaka,Bangladesh
    Posts
    251

    Default Re: How can i remove all obsulete packages?

    Quote Originally Posted by caf4926 View Post
    You are probably better leaving well alone.

    Some orphaned packages may develop.
    They appear in Yast with red text and no provider when viewing the version tab. These can be safely removed in most cases, but you need to know for sure.
    I'm searching a zypper command to do that.
    yast and removing individually is not the option.

  4. #4

    Default Re: How can i remove all obsulete packages?

    Hello colao,

    Quote Originally Posted by colao
    What's the command to remove obsulete packages?
    Those packages are not needed as dependencies of other packages.

    During installing a package many packages/libraries are installed as dependencies.
    After removing that package the packages/libraries are in partition.

    Now what's the way to remove those unnecessary libraries?
    There was a thread about this topic a while back.
    Here's the link: http://forums.opensuse.org/english/get-help-here/install-boot-login/438055-how-remove-dependencies-packages.html

    Quote Originally Posted by colao
    Those packages are not needed as dependencies of other packages.
    Be careful, if you find a program which can find packages that aren't dependencies of other packages that doesn't mean there not needed/wanted!

    The only program I found who's capable of finding packages that aren't dependencies of other packages is rpmorphan.

    Good luck!
    Where did I put my coffee cup?
    dir -R /home/* | grep "coffee cup"

  5. #5
    Join Date
    Jun 2008
    Location
    Groningen, Netherlands
    Posts
    20,038
    Blog Entries
    14

    Default Re: How can i remove all obsulete packages?

    Leave all as is. Linux does not take much space. The "obsolete" packages don't hurt your install. Linux is not Windows.
    ° Appreciate my reply? Click the star and let me know why.

    ° Perfection is not gonna happen. No way.

    https://en.opensuse.org/openSUSE:Board#Members
    http://en.opensuse.org/User:Knurpht
    http://nl.opensuse.org/Gebruiker:Knurpht

  6. #6
    Join Date
    Jun 2008
    Location
    Earth - Denmark
    Posts
    10,730

    Default Re: How can i remove all obsulete packages?

    colao wrote:
    > I'm searching a zypper command to do that.
    > yast and removing individually is not the option.


    that command does not exist..

    but, if it doesn't already exist, you are welcome to add a feature
    request to http://features.opensuse.org/

    otherwise you must remove them manually....and, as noted in many other
    posts on this subject it is very often better to leave them alone
    because most don't take so much space and unlike _other_ operating
    systems will now slow the system one bit..

    --
    DenverD (Linux Counter 282315)
    CAVEAT: http://is.gd/bpoMD
    via NNTP w/TBird 2.0.0.23 | KDE 3.5.7 | openSUSE 10.3
    2.6.22.19-0.4-default SMP i686
    AMD Athlon 1 GB RAM | GeForce FX 5500 | ASRock K8Upgrade-760GX |
    CMedia 9761 AC'97 Audio

  7. #7
    Chill Out NNTP User

    Default Re: How can i remove all obsulete packages?

    On Fri, 02 Jul 2010 13:41:45 +0000, colao wrote for a reply:

    > caf4926;2183805 Wrote:
    >> You are probably better leaving well alone.
    >>
    >> Some orphaned packages may develop.
    >> They appear in Yast with red text and no provider when viewing the
    >> version tab. These can be safely removed in most cases, but you need to
    >> know for sure.

    > I'm searching a zypper command to do that. yast and removing
    > individually is not the option.



    There is an OpenSuse package that locates orphaned Rpmorphan.

    You can use it to locate true orphan packages but make sure you double
    check the found packages are orphaned. Test each uninstall by using the
    dry-run option if using zypper. YaST2 Software Management should list
    any other packages affected by before uninstalling the orphan.




    --
    Chillingout@opensuse.forum

  8. #8
    Carlos E. R. NNTP User

    Default Re: How can i remove all obsulete packages?

    On 2010-07-02 14:37 GMT DenverD wrote:

    > colao wrote:
    > > I'm searching a zypper command to do that.
    > > yast and removing individually is not the option.

    >
    > that command does not exist..
    >
    > but, if it doesn't already exist, you are welcome to add a feature
    > request to http://features.opensuse.org/


    The gtk yast package-manager in 11.3 does it >:-P

    --
    Cheers / Saludos,

    Carlos E. R.
    (from 11.2 x86_64 "Emerald" GM (Elessar))


  9. #9
    Join Date
    Jun 2008
    Location
    Earth - Denmark
    Posts
    10,730

    Default Re: How can i remove all obsulete packages?

    Carlos E. R. wrote:
    > The gtk yast package-manager in 11.3 does it >:-P


    salute!!

    --
    DenverD (Linux Counter 282315)
    CAVEAT: http://is.gd/bpoMD
    via NNTP w/TBird 2.0.0.23 | KDE 3.5.7 | openSUSE 10.3
    2.6.22.19-0.4-default SMP i686
    AMD Athlon 1 GB RAM | GeForce FX 5500 | ASRock K8Upgrade-760GX |
    CMedia 9761 AC'97 Audio

Posting Permissions

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