Thread View: gmane.linux.debian.user
7 messages
7 total messages
Started by Rick Pasotto
Sun, 14 Jun 2009 13:13
aptitude wants to remove 'locate'
Author: Rick Pasotto
Date: Sun, 14 Jun 2009 13:13
Date: Sun, 14 Jun 2009 13:13
22 lines
845 bytes
845 bytes
'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. However, when I enter 'aptitude why-not locate' I'm told "Unable to find a reason to remove locate." 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? Thanks. -- "I will persist until I succeed. I was not delivered into this world in defeat, nor does failure course in my veins. I am not a sheep waiting to be prodded by my shepherd. I am a lion and I refuse to talk, to walk, to sleep with the sheep. The slaughterhouse of failure is not my destiny. I will persist until I succeed." -- OG Mandino Rick Pasotto rick@niof.net http://www.niof.net
Re: aptitude wants to remove 'locate'
Author: Rick Pasotto
Date: Sun, 14 Jun 2009 17:06
Date: Sun, 14 Jun 2009 17:06
35 lines
1403 bytes
1403 bytes
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 Pasotto rick@niof.net http://www.niof.net
Re: aptitude wants to remove 'locate'
Author: Sven Joachim
Date: Sun, 14 Jun 2009 19:48
Date: Sun, 14 Jun 2009 19:48
23 lines
843 bytes
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
Re: aptitude wants to remove 'locate'
Author: Stephan Seitz
Date: Sun, 14 Jun 2009 19:52
Date: Sun, 14 Jun 2009 19:52
46 lines
1364 bytes
1364 bytes
--7JfCtLOvnd9MIVvH Content-Type: text/plain; charset=utf-8; format=flowed Content-Disposition: inline Content-Transfer-Encoding: quoted-printable 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: stse@fsing.rootsland.net | | PGP Public Keys: http://fsing.rootsland.net/~stse/pgp.html | --7JfCtLOvnd9MIVvH Content-Type: application/pgp-signature; name="signature.asc" Content-Description: Digital signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.9 (GNU/Linux) iEYEARECAAYFAko1ONIACgkQXse+NwPOAZ6pGACfcBpUWq6JT7OspRNiSYfga6kw mVQAoJq1xfFUw2S/7Chtza1MEpqDr1bK =3pWa -----END PGP SIGNATURE----- --7JfCtLOvnd9MIVvH--
Re: aptitude wants to remove 'locate'
Author: Andrei Popescu
Date: Sun, 14 Jun 2009 20:50
Date: Sun, 14 Jun 2009 20:50
38 lines
1173 bytes
1173 bytes
--APlYHCtpeOhspHkB Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable 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) --APlYHCtpeOhspHkB Content-Type: application/pgp-signature; name="signature.asc" Content-Description: Digital signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.9 (GNU/Linux) iQEcBAEBCAAGBQJKNThLAAoJEHNWs3jeoi3p3PwH/itL+pdEXybViIKcAIv2UY8F hJEgBDNwcYYqgZ+f5pt0QXGG9kvebmrrJQKgdQxKMPPczQ1DvgL3oyMC8ywE+oc/ mBg+738SnIonURgs2XzD3vLOeMP/6fYTsSsMLSzazNgahAzNywSxJIAKLFCY86eZ uqH/9IZsi+dUs2sSj+zemP3y8mdhD0UlLVE/EXwAzL5Oe5Cb0VEH7pibSeq15nsv Y9tyvtFj7aGq6r/Z29IXTxADUtlx6danPlj9Ny1Y8KEHkgHb/ZT5RH72Bc5I1UWJ cNBNP8xeMFXET17xsNC16XY1dzOialsiNOPIUaFvak4Z/R96k6QbwKLt5b2EzpEü2A -----END PGP SIGNATURE----- --APlYHCtpeOhspHkB--
Re: aptitude wants to remove 'locate'
Author: Daniel Burrows
Date: Sun, 14 Jun 2009 21:18
Date: Sun, 14 Jun 2009 21:18
10 lines
377 bytes
377 bytes
On Sun, Jun 14, 2009 at 01:13:50PM -0400, Rick Pasotto <rick@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
Re: aptitude wants to remove 'locate'
Author: Sven Joachim
Date: Sun, 14 Jun 2009 23:18
Date: Sun, 14 Jun 2009 23:18
24 lines
655 bytes
655 bytes
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-REQUEST@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
Thread Navigation
This is a paginated view of messages in the thread with full content displayed inline.
Messages are displayed in chronological order, with the original post highlighted in green.
Use pagination controls to navigate through all messages in large threads.
Back to All Threads