Re: how to tell what packages are unused on a debian server?

2010-10-30 Thread Andrew McGlashan
Hi Andrei, Andrei Popescu wrote: On Sb, 30 oct 10, 19:42:34, Andrew McGlashan wrote: Andrei Popescu wrote: On Sb, 30 oct 10, 14:05:37, Andrew McGlashan wrote: [I created my own aptitude "front-end" which has logging] How is this different from /var/log/aptitude ? Okay, I didn't know that wa

Re: how to tell what packages are unused on a debian server?

2010-10-30 Thread Andrei Popescu
On Sb, 30 oct 10, 19:42:34, Andrew McGlashan wrote: > Andrei Popescu wrote: > >On Sb, 30 oct 10, 14:05:37, Andrew McGlashan wrote: > >>[I created my own aptitude "front-end" which has logging] > > > >How is this different from /var/log/aptitude ? > > Okay, I didn't know that was there, but the log

Re: how to tell what packages are unused on a debian server?

2010-10-30 Thread Andrew McGlashan
Chris Davies wrote: The find statement thus becomes find $(readlink -f "$F") -atime -180 Okay, I got the exact same result. If you're finding that everything is "in use" then at this stage it's probable that you've made a filesystem backup with tar or cpio, which obviously reads every sin

Re: how to tell what packages are unused on a debian server?

2010-10-30 Thread Andrew McGlashan
Andrei Popescu wrote: On Sb, 30 oct 10, 14:05:37, Andrew McGlashan wrote: [I created my own aptitude "front-end" which has logging] How is this different from /var/log/aptitude ? Okay, I didn't know that was there, but the logging I do is different. Thanks -- Kind Regards AndrewM Andrew M

Re: how to tell what packages are unused on a debian server?

2010-10-30 Thread Chris Davies
Andrew McGlashan wrote: > Okay, I tried the change and let it finish the report. > I found all "in use", except for php5, but there is a bunch of php5 > stuff that is in use. Arrgghh. You're now making me /think/ about the script, rather than it being a throwaway suggestion(!) Upon further inve

Re: how to tell what packages are unused on a debian server?

2010-10-30 Thread Andrei Popescu
On Sb, 30 oct 10, 14:05:37, Andrew McGlashan wrote: > > [I created my own aptitude "front-end" which has logging] How is this different from /var/log/aptitude ? Regards, Andrei -- Offtopic discussions among Debian users and developers: http://lists.alioth.debian.org/mailman/listinfo/d-community

Re: how to tell what packages are unused on a debian server?

2010-10-29 Thread Andrew McGlashan
Chris Davies wrote: Andrew McGlashan wrote: That all looks good Chris, but I tried it and saw no results for "in use" and that makes no sense. I don't use noatime mount option either. Swap the +180 for -180 and try again. (We should be looking for files accessed *within* the last six months.

Re: how to tell what packages are unused on a debian server?

2010-10-29 Thread Chris Davies
Andrew McGlashan wrote: > That all looks good Chris, but I tried it and saw no results for "in > use" and that makes no sense. I don't use noatime mount option either. Swap the +180 for -180 and try again. (We should be looking for files accessed *within* the last six months. Duh, sorry!) Chri

Re: how to tell what packages are unused on a debian server?

2010-10-29 Thread Ron Johnson
On 10/29/2010 08:17 AM, Wolodja Wentland wrote: [snip] Another good way to find unused packages is 'popcon-largest-unused' from the popularity-contest package. Thanks! -- Seek truth from facts. -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of "unsubscribe

Re: how to tell what packages are unused on a debian server?

2010-10-29 Thread Andrei Popescu
On Vi, 29 oct 10, 06:12:55, Robert P. J. Day wrote: > > just a cleanup-related question but on a debian lenny server that > i've inherited, i'm curious to know which packages have no value > whatever and that i can delete. i recall there's a utility that will > identify unused libraries but i'm

Re: how to tell what packages are unused on a debian server?

2010-10-29 Thread Artur Frydel
Robert P. J. Day wrote: > > just a cleanup-related question but on a debian lenny server that > i've inherited, i'm curious to know which packages have no value > whatever and that i can delete. i recall there's a utility that will > identify unused libraries but i'm curious about what else i ca

Re: how to tell what packages are unused on a debian server?

2010-10-29 Thread Eero Volotinen
2010/10/29 Robert P. J. Day : > >  just a cleanup-related question but on a debian lenny server that > i've inherited, i'm curious to know which packages have no value > whatever and that i can delete.  i recall there's a utility that will > identify unused libraries but i'm curious about what else

Re: how to tell what packages are unused on a debian server?

2010-10-29 Thread Andrew McGlashan
Hi, Chris Davies wrote: Robert P. J. Day wrote: for instance, if a given shared library hasn't been linked in weeks or months, that's something to look at. if none of the binary executables in a package have been executed in that long, another package to examine, that sort of thing. You co

Re: how to tell what packages are unused on a debian server?

2010-10-29 Thread Chris Davies
Robert P. J. Day wrote: > for instance, if a given shared library hasn't been linked in weeks > or months, that's something to look at. if none of the binary > executables in a package have been executed in that long, another > package to examine, that sort of thing. You could possibly do somet

Re: how to tell what packages are unused on a debian server?

2010-10-29 Thread gun_smoke
On Fri, Oct 29, 2010 at 06:12:55AM -0400, Robert P. J. Day wrote: > > just a cleanup-related question but on a debian lenny server that > i've inherited, i'm curious to know which packages have no value > whatever and that i can delete. i recall there's a utility that will > identify unused lib

Re: how to tell what packages are unused on a debian server?

2010-10-29 Thread Wolodja Wentland
On Fri, Oct 29, 2010 at 23:01 +1100, Andrew McGlashan wrote: > Robert P. J. Day wrote: > > just a cleanup-related question but on a debian lenny server that > >i've inherited, i'm curious to know which packages have no value > >whatever and that i can delete. i recall there's a utility that will

Re: how to tell what packages are unused on a debian server?

2010-10-29 Thread Andrew McGlashan
Hi Robert, Robert P. J. Day wrote: just a cleanup-related question but on a debian lenny server that i've inherited, i'm curious to know which packages have no value whatever and that i can delete. i recall there's a utility that will identify unused libraries but i'm curious about what else

Re: how to tell what packages are unused on a debian server?

2010-10-29 Thread Joao Ferreira gmail
On Fri, 2010-10-29 at 06:12 -0400, Robert P. J. Day wrote: > just a cleanup-related question but on a debian lenny server that > i've inherited, i'm curious to know which packages have no value > whatever and that i can delete. i recall there's a utility that will > identify unused libraries but i

Re: how to tell what packages are unused on a debian server?

2010-10-29 Thread Robert P. J. Day
On Fri, 29 Oct 2010, Camaleón wrote: > On Fri, 29 Oct 2010 06:12:55 -0400, Robert P. J. Day wrote: > > > just a cleanup-related question but on a debian lenny server that > > i've inherited, i'm curious to know which packages have no value > > whatever and that i can delete. i recall there's a ut

Re: how to tell what packages are unused on a debian server?

2010-10-29 Thread Camaleón
On Fri, 29 Oct 2010 06:12:55 -0400, Robert P. J. Day wrote: > just a cleanup-related question but on a debian lenny server that i've > inherited, i'm curious to know which packages have no value whatever and > that i can delete. i recall there's a utility that will identify unused > libraries but

Re: how to tell what packages are unused on a debian server?

2010-10-29 Thread Kousik Maiti
You can you deborphan. You can get the unnecessary packages. On Fri, Oct 29, 2010 at 3:42 PM, Robert P. J. Day wrote: > > just a cleanup-related question but on a debian lenny server that > i've inherited, i'm curious to know which packages have no value > whatever and that i can delete. i rec

how to tell what packages are unused on a debian server?

2010-10-29 Thread Robert P. J. Day
just a cleanup-related question but on a debian lenny server that i've inherited, i'm curious to know which packages have no value whatever and that i can delete. i recall there's a utility that will identify unused libraries but i'm curious about what else i can pinpoint that can be removed.