Re: Finding unused packages

2002-04-20 Thread Andy Saxena
On Fri, Apr 19, 2002 at 10:47:47PM -0800, Brian Nelson wrote: > Noah Meyerhans <[EMAIL PROTECTED]> writes: > > > On Fri, Apr 19, 2002 at 03:00:34PM +0200, Matijs van Zuijlen wrote: > > > > Some time ago, I've read somewhere about a tool that can find installed > > > > debian packages that are not

Re: Finding unused packages

2002-04-20 Thread Nikita V. Youshchenko
Thank you for your answers. The original problem is the following. I run a Debian server with many users. On users requests, I often install defferent packages. I am sure that many of those are no longer needed by the users that requested them. So I want to find and uninstall those. -- To UN

Re: Finding unused packages

2002-04-20 Thread Brian Nelson
Noah Meyerhans <[EMAIL PROTECTED]> writes: > On Fri, Apr 19, 2002 at 03:00:34PM +0200, Matijs van Zuijlen wrote: > > > Some time ago, I've read somewhere about a tool that can find installed > > > debian packages that are not used, based on atime of files that belong to > > > the packages. > >

Re: Finding unused packages

2002-04-20 Thread Brian Nelson
Pollywog <[EMAIL PROTECTED]> writes: > On 2002.04.19 14:18 Hall Stevenson wrote: > > > I believe 'deborphan' only looks for "dependant" type > > packages, i.e. if you try and install package "a", but it > > requires packages "b". Later, you remove package "a" but > > package "b" gets left. It's n

Re: Finding unused packages

2002-04-19 Thread Hall Stevenson
> I think everyone has missed debfoster. It will run > through what packages (and dependencies) you > have asking if you still want them. That appears similar to my method: $ dpkg --get-selections > installed-debs Print out that list (or view on screen) and then decide which packages aren't

Re: Finding unused packages

2002-04-19 Thread Karl E. Jorgensen
On Fri, Apr 19, 2002 at 12:59:52PM -0400, Mike Dresser wrote: > On 19 Apr 2002, Peter Whysall wrote: > > > > find / -type f -atime +30 -perm +111 | xargs dpkg -S | sort | uniq > > > > old.txt > > > > Well, old.txt now contains the following: > > > > peter:~ $ more old.txt > > fdflush: /bin/fdflush

RE: Finding unused packages

2002-04-19 Thread Brooks R. Robinson
| Some time ago, I've read somewhere about a tool that can find installed | debian packages that are not used, based on atime of files that belong to | the packages. | | Could someone please point me to this tool ? I think everyone has missed debfoster. It will run through what packages (and depe

Re: Finding unused packages

2002-04-19 Thread traxlend
On Fri, Apr 19, 2002 at 05:15:40PM +0100, Peter Whysall wrote: > There's an obvious problem - it hits up every file, regardless. I > certainly haven't accessed a lot of the non-English localisation files > on my system in like forever, and old.txt is a resultant 700K in size. There's a localepurge

Re: Finding unused packages

2002-04-19 Thread Gary Turner
On Fri, 19 Apr 2002 17:15:40 +0100, Peter Whysall wrote: >On Fri, 2002-04-19 at 16:46, Gary Turner wrote: >> On Fri, 19 Apr 2002 09:59:34 -0400, Noah Meyerhans wrote: >> >> >On Fri, Apr 19, 2002 at 03:00:34PM +0200, Matijs van Zuijlen wrote: snip >> This non-hacker is >> thinking that a script t

Re: Finding unused packages

2002-04-19 Thread Pollywog
On 2002.04.19 14:18 Hall Stevenson wrote: I believe 'deborphan' only looks for "dependant" type packages, i.e. if you try and install package "a", but it requires packages "b". Later, you remove package "a" but package "b" gets left. It's now likely unused. Running 'deborphan' *should* tell you

Re: Finding unused packages

2002-04-19 Thread Mike Dresser
On 19 Apr 2002, Peter Whysall wrote: > > find / -type f -atime +30 -perm +111 | xargs dpkg -S | sort | uniq > > > old.txt > > Well, old.txt now contains the following: > > peter:~ $ more old.txt > fdflush: /bin/fdflush > > Hmm. I wonder if that hasn't taken it from one extreme to the other... Odd

Re: Finding unused packages

2002-04-19 Thread Gary Turner
On Fri, 19 Apr 2002 18:21:42 +0200, Matijs van Zuijlen wrote: >On Fri, Apr 19, 2002 at 10:46:30AM -0500, Gary Turner wrote: >> On Fri, 19 Apr 2002 09:59:34 -0400, Noah Meyerhans wrote: >> >> >On Fri, Apr 19, 2002 at 03:00:34PM +0200, Matijs van Zuijlen wrote: snip >> >> deborphan looks for files

Re: Finding unused packages

2002-04-19 Thread Hall Stevenson
On Fri, Apr 19, 2002 at 03:00:34PM +0200, Matijs van Zuijlen wrote: > > > Some time ago, I've read somewhere about a tool that can find > > > installed debian packages that are not used, based on atime > > > of files that belong to the packages. > > > > I think you're looking for popularity-contest

Re: Finding unused packages

2002-04-19 Thread Peter Whysall
On Fri, 2002-04-19 at 17:46, Mike Dresser wrote: > > > On 19 Apr 2002, Peter Whysall wrote: > > > What we need to do is tell "find" to only find files that have > > executable bits set, with the -perm switch - however, the following: > > > > find / -type f -atime +30 perm ugo+x | xargs dpkg -S |

Re: Finding unused packages

2002-04-19 Thread Mike Dresser
On 19 Apr 2002, Peter Whysall wrote: > What we need to do is tell "find" to only find files that have > executable bits set, with the -perm switch - however, the following: > > find / -type f -atime +30 perm ugo+x | xargs dpkg -S | sort | uniq > > old.txt > > doesn't return anything. Can someone

Re: Finding unused packages

2002-04-19 Thread Matijs van Zuijlen
On Fri, Apr 19, 2002 at 10:46:30AM -0500, Gary Turner wrote: > On Fri, 19 Apr 2002 09:59:34 -0400, Noah Meyerhans wrote: > > >On Fri, Apr 19, 2002 at 03:00:34PM +0200, Matijs van Zuijlen wrote: > >> > Some time ago, I've read somewhere about a tool that can find installed > >> > debian packages t

Re: Finding unused packages

2002-04-19 Thread Matijs van Zuijlen
On Fri, Apr 19, 2002 at 09:59:34AM -0400, Noah Meyerhans wrote: > On Fri, Apr 19, 2002 at 03:00:34PM +0200, Matijs van Zuijlen wrote: > > > Some time ago, I've read somewhere about a tool that can find installed > > > debian packages that are not used, based on atime of files that belong to > > >

Re: Finding unused packages

2002-04-19 Thread Peter Whysall
On Fri, 2002-04-19 at 16:46, Gary Turner wrote: > On Fri, 19 Apr 2002 09:59:34 -0400, Noah Meyerhans wrote: > > >On Fri, Apr 19, 2002 at 03:00:34PM +0200, Matijs van Zuijlen wrote: > >> > Some time ago, I've read somewhere about a tool that can find installed > >> > debian packages that are not u

Re: Finding unused packages

2002-04-19 Thread Gary Turner
On Fri, 19 Apr 2002 09:59:34 -0400, Noah Meyerhans wrote: >On Fri, Apr 19, 2002 at 03:00:34PM +0200, Matijs van Zuijlen wrote: >> > Some time ago, I've read somewhere about a tool that can find installed >> > debian packages that are not used, based on atime of files that belong to >> > the pack

Re: Finding unused packages

2002-04-19 Thread Noah Meyerhans
On Fri, Apr 19, 2002 at 03:00:34PM +0200, Matijs van Zuijlen wrote: > > Some time ago, I've read somewhere about a tool that can find installed > > debian packages that are not used, based on atime of files that belong to > > the packages. > > I think you're looking for popularity-contest No, p

Re: Finding unused packages

2002-04-19 Thread Matijs van Zuijlen
On Fri, Apr 19, 2002 at 12:45:22PM +0400, Nikita V. Youshchenko wrote: > Hello. > > Some time ago, I've read somewhere about a tool that can find installed > debian packages that are not used, based on atime of files that belong to > the packages. > > Could someone please point me to this tool