🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: gmane.linux.debian.user
Article #307890

Re: aptitude wants to remove 'locate'

#307890
From: Sven Joachim
Date: Sun, 14 Jun 2009 19:48
23 lines
843 bytes
On 2009-06-14 19:13 +0200, Rick Pasotto wrote:

> 'dlocate' now shows in the update list for 'aptitude -s safe-upgrade'
> and when I try 'aptitude install dlocate' I'm told that 'locate' will be
> removed.

This is because locate is marked as automatically installed, and the old
dlocate is the only package depending on it.  The new dlocate has
dropped this dependency, so locate becomes unused.

> However, when I enter 'aptitude why-not locate' I'm told "Unable to find
> a reason to remove locate."

Because the installed version of dlocate still depends on it.  Try
"aptitude why locate".

If you want to keep the locate package, just use
"aptitude unmarkauto locate".  However, I recommend to switch to mlocate
which is standard in Lenny and newer.  See the mlocate package
description for its advantages over findutils' locate.

Sven

Message-ID: <87vdmypuyu.fsf@turtle.gmx.de>
Path: gmane.pugleaf.net!archive.newsdeef.eu!archive!g.newsdeef.eu!gmane.newsdeef.eu!news.gmane.org!not-for-mail
References: <20090614171350.GV17196@niof.net>