Useful new package management tool

From: Matthew T. Atkinson (matthew_at_agrip.org.uk)
Date: 03/31/04

  • Next message: Michael Satterwhite: "Loading source files"
    To: debian-users list <debian-user@lists.debian.org>
    Date: Wed, 31 Mar 2004 19:49:34 +0100
    
    

    'ellow,

    I've recently subscribed to this list as I wanted to let you all know
    about a helpful little utility that a friend of mine and I have written.

    It is a Perl script that works out which packages on your system are not
    being used and can be safely removed. This puts an end to the disk
    creep experienced by an often dist-upgraded Debian box.

    The script works out which packages you have installed that no other
    packages depend on. It then takes this list of packages and finds the
    ones whose names begin with ``lib''. These are the packages that are
    most likely to be taking up space un-necessarily and the user is
    recommended to remove them.

    Apt is used to do the actual removals. The use of the --purge option is
    recommended.

    The script also generates a list of the non `libXXX'' packages you have
    installed on your system, but mentions that you may really want to keep
    some of them.

    Because it depends on the information provided by the package
    maintainers, it is guaranteed to work for you (as long as your packages
    have been properly constructed, which is highly likely!) It did find a
    problem on my system -- bittorent didn't depend on libwxgtk2.4 so that
    was un-installed. It was easy to fix, however and I believe the problem
    is sorted out now.

    (If you're a developer who has lots of ``-dev'' packages installed, they
    may be targeted for removal. However, we assume you'd know you needed
    them when you saw the list so you wouldn't choose to remove them.)

    So, this tool can be useful for users and package maintainers. I hope
    you find it useful. You can download it (as well as a few other useful
    scripts) from:

    http://scriptopia.agrip.org.uk/

    Please let me know what you think and if you have any suggestions for
    improvement. Enjoy!

    bye just now,

    -- 
    Matthew T. Atkinson <matthew@agrip.org.uk>
    -- 
    To UNSUBSCRIBE, email to debian-user-request@lists.debian.org 
    with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
    

  • Next message: Michael Satterwhite: "Loading source files"

    Relevant Pages

    • Re: libicui18n.so.36 not found, required by "evolution"
      ... It will only fetch programs that need updating, ... Later this day I will add some debugging functionality to the script and send that version to you, if you are willing to spend your time helping me finding this problem. ... And indeed pkg_libchk is by far the best solution, if I was to update every package that depended on icu I would have to update 239 packages which discouraged me right away, by running pkg_libchk the amount of packages to be updated was reduced to 71, wrote a quick script and left it running overnight and those packages got updated and by god I don't have any more problems with libicui18n.so.38. ... And until then you already have a description for all new commands. ...
      (freebsd-questions)
    • Re: SMS upgrade Side-By-Side 2.0 to 2003
      ... Being able to migrate queries and packages can prove to be valuable though. ... I still don't have a package import script because most of the time you ... MVP Windows Server System - SMS ...
      (microsoft.public.sms.setup)
    • Re: installing tcl locally
      ... If I understand correctely, tclkit runs starkits, where starkits are self ... contained virtual file system environment, that holds the packages folder, ... Then end up with myshell that can be used to run my script that requires ... AIX is the hardest part of the mix. ...
      (comp.lang.tcl)
    • Re: Using a package like PyInstaller
      ... create exe files that basically have your py script and a small py ... installed on a system to execute a py script. ... I am being advised that python ... and these types of packages and am not too sure how dumb a question this ...
      (comp.lang.python)
    • Request for Discription of ProgramFlags Bits - SMS 2003
      ... WMI object in the SMS 2003 SDK v2. ... I've customized the create Packages ... / Program script to read from a text file or prompt for the required ...
      (microsoft.public.sms.swdist)