Debian Planet










Welcome to Debian Planet

Search

Apt-get into it.
Main Menu

  • Home

  • Topics

  • Web Links

  • Your Account

  • Submit News

  • Stats

  • Top 10

  • Debian

    These are important Debian sites one should not be without!

  • Official Debian site

  • Package search

  • Mailing list archives

  • Bug reports

  • Debian on CD

  • Unofficial woody CD ISOs

  • Unofficial APT sources

  • Developers' Corner

    Other great Debian news sources:

  • Debian Weekly News

  • Kernel Cousin Debian

    (Debian mailing lists digested)
  • Community Groups

    Need help? You're not alone on this planet.

  • debianHELP

    (User support site)

  • Debian International

  • DebianWorld

    (Français)

  • DebianForum.de

    (Deutsch)

  • EsDebian

    (Español)

  • Debian-BR

    (Português)

  • DebianUsers

    (Korean)

  • MaximumDebian

    (Italiano)

  • IRC

    The place to get help on a Debian problem (after reading docs) or to just chat and chill is #debian on irc.debian.org.

    Many of the Debian Planet staff live there so pop by and say hello.

    Wanna write?

    Got that latest or greatest scoop? Perhaps you have some important news for the Debian community? Submit a news item!

    Or perhaps you've written a rather ground breaking insight into some aspect of Debian and you feel compelled to share it with others? Knock up a longer editorial article and send it to the editors.

    Sponsorship

    DP is sponsored by uklinux.net and CheepLinux.

    Debian Planet runs on hardware donated by Xinit systems and is using kieser.net's bandwidth.

    Who's Online

    There are currently, 32 guest(s) and 2 member(s) that are online.

    You are Anonymous user. You can register for free by clicking here.

      
    Unused Packages
    Contributed by Anonymous on Tuesday, January 08 @ 00:47:13 GMT

    Package Management
    I have quite a lot of Debian packages installed, and the count keeps increasing. I'd like to be able to delete the packages that have been unused for, say, several months. Is there a way to detect which packages haven't been used for quite a long time?

     
    Related Links

  • Comparison by Joey Hess
  • More about Package Management
  • News by DanielS

    Most read story about Package Management:
    What are the *real* .deb and .rpm differences

    Last news about Package Management:

    Printer Friendly Page  Send this Story to a Friend
  • "Unused Packages" | Login/Create Account | 20 comments
    Threshold


    The comments are owned by the poster. We aren't responsible for their content.

    Re: Unused Packages (Score: 0)
    by Anonymous on Tuesday, January 08 @ 02:33:25 GMT

    deborphan ?

    [ Reply ]


    Re: Unused Packages (Score: 1)
    by damiam on Tuesday, January 08 @ 02:57:23 GMT
    (User Info)

    Probably not. apt doesn't keep track of which programs you run when and how often. The only way I can think of is to go through deity, aptitude, or dselect and manually remove all the packages you don't use (assuming, of course) that nothing depends on them).

    [ Reply ]


    auto-apt (Score: 0)
    by Anonymous on Tuesday, January 08 @ 04:13:29 GMT

    I should imagine this would be trivial with a combination of auto-apt and *NIX last-accessed filestamps or such. The tools are all there, it'll just take a little glue in the form of shell script.

    [ Reply ]

    • Re: auto-apt by Anonymous on Thursday, January 10 @ 01:15:01 GMT

    Re: Unused Packages (Score: 0, Offtopic)
    by Baloo_Ursidae on Tuesday, January 08 @ 04:39:40 GMT
    (User Info) http://ursine.dyndns.org/

    There's gotta be something out there involving popularity-contest.

    [ Reply ]


    Yes: pkgusage (Score: 0)
    by Anonymous on Tuesday, January 08 @ 06:48:40 GMT

    Get it here.

    Cheers //Johan (shameless self-promoter 🙂

    [ Reply ]


    Try this simple script (Re: Unused Packages) (Score: 1)
    by Tor on Tuesday, January 08 @ 07:56:27 GMT
    (User Info) http://slett.net/

    http://slett.net/debcruft.gz

    By default, it lists packages whose files have not been accessed for 90 days or more. Override with "-ndays", e.g.: a

    debcruft -60

    [ Reply ]


    debfoster's great (Score: 1)
    by fog on Tuesday, January 08 @ 08:42:39 GMT
    (User Info)

    debfoster is a great little program. the first time you run it, it will ask what packages you want to keep and build a keepers list, i.e., a list of packages that 'keep' installed other packages, libraries, etc. then, on subsequent runs, it will notice keepers removals and will ask you again about the now 'unlocked' packages. really usefull to remove old cruft like unused libraries and installed but never used packages.

    extending debfoster to support for timeouts would be great. i can imagine anwering debfoster's questions about keeping packages not only yes/no but with a value (in days) on how long debfoster should shutup before asking me the same question again. if i want to test a couple of new progarms i can set the timeout to 30 days and have debfoster remember me about them after a month. obviously VIP applications can have an infinite timeout...

    ok, apt-get install debfoster now...

    [ Reply ]


    what i'd love to see is this... (Score: 0)
    by Anonymous on Tuesday, January 08 @ 09:30:50 GMT

    I'd like a way to remove all the dependencies of a package that are unused by anythhing else when uninstalling something. For instance, say i want to try a new e-mail client. So i try something from gnome project, nah not what i had in mind, so now i go to remove it and it only removes the package itself not any of the many dependencies that are unused by any other packages. So now i try the KDE one, nope not keen on that either, but now i have some more unused libs sitting around. Ok i try a console client, good but not quite, again more unused libs...so i try one more console one and i like it. Ok i'm sticking with that...except now i have the libs from 4 e-mail clients and desktop projects even though i only use wmaker and the console...

    It would be great if there was a way to tell apt to remove the packages and any unused dependencies of that app. I mean sure you can try and keep track of everything that was installed freshly with that app...but that is a pain in the ass, if it can handle dependencies one way, why not take care of em on the way out to? i'd be much more likely to experiment with new apps and try out more software if this worked, right now i just stick with my old stand bys that may or maynot have been surpassed in recent years by some newer projects...but i don't have the patience to go through and pick out the unused stuff by hand after i remove it...

    just a thought, could be a handy feature...

    then again maybe a third party apt front end that i didn't try due to said issue does handle this hehe...

    [ Reply ]


    Based on: PHP-Nuke

    All logos and trademarks in this site are property of their respective owner. The comments are property of their posters, all the rest © 2000 by Debian Planet

    You can syndicate our news using the file backend.php.