Page 2 of 2 FirstFirst 12
Results 11 to 17 of 17

Thread: how to clean up unused dependencies

  1. #11
    Join Date
    Dec 2010
    Location
    Ankara, Turkey
    Posts
    250

    Default Re: how to clean up unused dependencies

    I am a little bit confused right now, does this means that I can remove not-needed dependencies with zypper but not with yast (at least not for now until that feature is implemented)?
    The only problem with troubleshooting is that sometimes trouble shoots back.
    My blog (in Turkish): http://yasar.serveblog.net

  2. #12
    Join Date
    Sep 2010
    Location
    Poland
    Posts
    1,918

    Default Re: how to clean up unused dependencies

    Quote Originally Posted by yasar11732 View Post
    I am a little bit confused right now, does this means that I can remove not-needed dependencies with zypper but not with yast (at least not for now until that feature is implemented)?
    That's the way I understand it

    Best regards,
    Greg
    Best regards,
    Greg

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

    Default Re: how to clean up unused dependencies

    yasar11732 wrote:
    > does this means that I can remove not-needed dependencies with
    > zypper but not with yast (at least not for now until that feature
    > is implemented)?



    please do not overlook the word i used consistently,
    *automatically*...when uninstalling applications YaST will not
    automatically (no user involvement or approval required) remove those
    dependencies which may be used by other applications..

    what it will do is automatically show you a list of dependencies which
    may be used by other applications and ask you how you want to handle
    them..

    what the zypper in 11.3 can do now, or what YaST in 11.4 or beyond
    will be able to do, i do not know...

    --
    DenverD
    CAVEAT: http://is.gd/bpoMD [posted via NNTP w/openSUSE 10.3]
    I feel annoyed that I can't put my wide range of languages on stupid
    Facebook. For example, I speak Sarcasm, fluently spoken and written,
    and Various Forms of Geek..

  4. #14

    Default Re: how to clean up unused dependencies

    Quote Originally Posted by phanisvara View Post
    i don't know if there is a YAST equivalent, but if you uninstall something
    via zypper, you can ask it to remove all dependencies that aren't needed
    otherwise with the following argument: '-u', or '--clean-deps' (both mean
    the same).
    I would say YaST's "Options->Cleanup when deleting packages" does just that.

    I have it enabled by default through a "solver.cleandepsOnRemove = true" in /etc/zypp/zypp.conf (but read the comment/warning).

  5. #15
    Join Date
    Feb 2009
    Location
    Spain
    Posts
    25,547

    Default Re: how to clean up unused dependencies

    On 2010-12-24 15:36, yasar11732 wrote:
    >
    > I am a little bit confused right now, does this means that I can remove
    > not-needed dependencies with zypper but not with yast (at least not for
    > now until that feature is implemented)?


    Right - but only when you uninstall a particular package. There is no
    feature that I know of that can do a general cleanup, although I have seen
    scripts that try to.

    --
    Cheers / Saludos,

    Carlos E. R.
    (from 11.2 x86_64 "Emerald" at Telcontar)

  6. #16
    Join Date
    Feb 2009
    Location
    Spain
    Posts
    25,547

    Default Re: how to clean up unused dependencies

    On 2010-12-24 14:56, DenverD wrote:
    > Carlos E. R. wrote:


    > NOW i see the problem, i made a statement about what YaST does not do
    > (automatically remove all dependencies along with any particular app)..
    >
    > and you answered that zypper can do what i said YaST does not do..
    >
    > but, i hadn't mentioned zypper..


    Peace! :-)

    I mentioned zypper to show that it is indeed possible to add that feature
    to yast, without endangering the installation. YaST doesn't do it yet, but
    it will.

    You said that such a thing would remove dependencies that were needed by
    other packages, and I had to show why that would not happen.

    --
    Cheers / Saludos,

    Carlos E. R.
    (from 11.2 x86_64 "Emerald" at Telcontar)

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

    Default Re: how to clean up unused dependencies

    RedDwarf wrote:
    > I would say YaST's "Options->Cleanup when deleting packages" does just
    > that.


    ah, good to know! (and, news to me--disregard the misinformation i put
    elsewhere in this thread!)

    --
    DenverD
    CAVEAT: http://is.gd/bpoMD [posted via NNTP w/openSUSE 10.3]
    I feel annoyed that I can't put my wide range of languages on stupid
    Facebook. For example, I speak Sarcasm, fluently spoken and written,
    and Various Forms of Geek..

Page 2 of 2 FirstFirst 12

Posting Permissions

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