Re: aptitude wants to remove 'locate'
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 -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Re: aptitude wants to remove 'locate'
On Sun,14.Jun.09, 13:13:50, 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. Please post the full output of 'aptitude -s safe-upgrade' Regards, Andrei -- If you can't explain it simply, you don't understand it well enough. (Albert Einstein) signature.asc Description: Digital signature
Re: aptitude wants to remove 'locate'
On Sun, Jun 14, 2009 at 01:13:50PM -0400, Rick Pasotto wrote: Looking at the depends, conflicts, and replaces lines I can find nothing to indicate that upgrading 'dlocate' involves removing 'locate'. Could someone explain what's going on? From the dlocate changelog for version 1.0: no longer use frcode and locate, see discussion in 494673. removed dependency on locate package. (Closes: #505997, #494651, #494673) So, I guess locate was only installed because of the dependency from the dlocate package. Since dlocate doesn’t depend on locate anymore, aptitude will remove locate if locate was only installed as dependency package for dlocate. Shade and sweet water! Stephan -- | Stephan Seitz E-Mail: s...@fsing.rootsland.net | | PGP Public Keys: http://fsing.rootsland.net/~stse/pgp.html | signature.asc Description: Digital signature
Re: aptitude wants to remove 'locate'
On Sun, Jun 14, 2009 at 07:48:41PM +0200, Sven Joachim wrote: 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. Thank you. I now understand. 'mlocate' was already installed but I had overlooked the line about /usr/bin/locate using /etc/alternatives to actually point to mlocate. Did the 'locate' database get purged when 'locate' was removed? 'mlocate' stores different info so it uses its own. -- A doctor can bury his mistakes but an architect can only advise his client to plant vines. -- Frank Lloyd Wright Rick Pasottor...@niof.nethttp://www.niof.net -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Re: aptitude wants to remove 'locate'
On 2009-06-14 23:06 +0200, Rick Pasotto wrote: 'mlocate' was already installed but I had overlooked the line about /usr/bin/locate using /etc/alternatives to actually point to mlocate. Did the 'locate' database get purged when 'locate' was removed? No, it¹ gets purged when the locate package is, ehm, purged. 'mlocate' stores different info so it uses its own. Yes, therefore it is fine to purge the locate package. Sven ¹ The version that was used by locate.findutils, that is. -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Re: aptitude wants to remove 'locate'
On Sun, Jun 14, 2009 at 01:13:50PM -0400, Rick Pasotto r...@niof.net was heard to say: However, when I enter 'aptitude why-not locate' I'm told Unable to find a reason to remove locate. Just FYI, why-not tells you what would actively prevent the installation of a package (i.e., what conflicts with it). It would probably be better named what-conflicts. Daniel -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org