On Tue, 22 May 2007 09:47:49 -0400
Celejar <[EMAIL PROTECTED]> wrote:

> On Tue, 22 May 2007 12:49:18 +0300
> David Baron <[EMAIL PROTECTED]> wrote:
> 
> > /etc/alternatives has a zillion dangling symlinks. Seems these got
> > set somewhere along the line but were never cleaned up as programs
> > were moved, upgraded, removed.
> > 
> > How does one clean up this mess conveniently?
> 
> Anacron sometimes helpfully informs me of similar issues. I suppose it
> should be simple enough to hack together a trivial shell / perl /
> python script to loop through the directory, find all dangling
> symlinks, and delete them; if no one posts some code, I'll try it
> myself eventually. OTOH, this isn't the "Debian way", and I don't know
> if there's any potential for upgrade problems or some other
> interference with the package management system.

The 'symlinks' package can do a search-and-destroy of dangling symlinks
for you. The 'cruft' package can identify missing alternatives.

-- 

Liam


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to