[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: dlocate + slocate + findutils problem



Seth R Arnold <sarnold@willamette.edu> writes:

> Hello there. Recently, in frozen, slocate and findutils stopped playing
> politely. So, I uninstalled slocate. (This was a week or two ago.. I emailed
> the maintainer, and he said a fix would be on the way soon... however, there
> are many open bugs on slocate, and none look particularly nice..) 
> 
> Now, I get the following error:
> sarnold@amidala:~$ dlocate homer_j_simpson
> /usr/bin/dlocate: /usr/bin/locate: No such file or directory

findutils does not supply an alternatives for locate, and that hasn't
been a request yet.  Perhaps it should supply locate as an
alternative, but it doesn't yet.  It supplies the one and only locate,
as far as it is concerned.  If slocate supplies locate as an
alternative, then removing slocate probably removes /ur/bin/locate.

You might try reinstalling findutils.

> 
> This isn't good. Here is some output from dpkg, I hope someone can point the
> finger properly, I really don't know which package is broken, or if several
> packages are broken.
> 
> sarnold@amidala:~$ dpkg --status dlocate
> Package: dlocate
> Status: install ok installed
> Priority: optional
> Section: utils
> Installed-Size: 30
> Maintainer: Craig Sanders <cas@taz.net.au>
> Version: 0.5
> Depends: findutils, bash, grep-dctrl (>= 0.11)
> Conflicts: dpkg (= 1.4.1.7), dpkg (= 1.4.1.8), dpkg (= 1.4.1.9)
> Conffiles:
>  /etc/cron.daily/dlocate 77789cc5c29621e87067d265d46df68f
> Description: fast alternative to dpkg -L and dpkg -S
>  uses GNU locate to greatly speed up finding out which package a file
>  belongs to (i.e. a very fast dpkg -S). many other uses, including
>  options to view all files in a package, calculate disk space used, view
>  and check md5sums, list man pages, etc.
> 
> sarnold@amidala:~$ dpkg --status grep-dctrl
> Package: grep-dctrl
> Status: install ok installed
> Priority: optional
> Section: utils
> Installed-Size: 124
> Maintainer: Antti-Juhani Kaijanaho <ajk@debian.org>
> Version: 1.2
> Depends: libc6 (>= 2.1)
> Conffiles:
>  /etc/grep-dctrl.rc 70599513d1d27bf8189eafde3b1d3f22
> Description: Grep Debian package information
>  The grep-dctrl program can answer such questions as
>    "What is the Debian package foo?"
>    "Which version of the Debian package bar is
>      now current?"
>    "Which Debian packages does John Doe maintain?"
>    "Which Debian packages are somehow related to
>      the Scheme programming language?"
>  and with some help
>    "Who maintain the essential packages of a
>      Debian system?"
>  given a useful input file.
>  .
>  It is a specialised grep program that
>  is meant for processing any file which has the
>  general format of a Debian package control file.
>  These include the dpkg available file, the dpkg
>  status file, and the Packages files on a distribution
>  medium (such as a Debian CD-ROM or an FTP site
>  carrying Debian).
> 
> sarnold@amidala:~$ dpkg --status bash      
> Package: bash
> Essential: yes
> Status: install ok installed
> Priority: required
> Section: base
> Installed-Size: 614
> Maintainer: Matthias Klose <doko@debian.org>
> Version: 2.03-5
> Depends: base-files (>= 2.1.12)
> Pre-Depends: libc6 (>= 2.1.2), libncurses5
> Description: The GNU Bourne Again SHell
>  Bash is an sh-compatible command language interpreter that executes
>  commands read from the standard input or from a file.  Bash also
>  incorporates useful features from the Korn and C shells (ksh and csh).
>  .
>  Bash is ultimately intended to be a conformant implementation of the
>  IEEE Posix Shell and Tools specification (IEEE Working Group 1003.2).
> 
> sarnold@amidala:~$ dpkg --status findutils
> Package: findutils
> Essential: yes
> Status: install ok installed
> Priority: required
> Section: base
> Installed-Size: 202
> Maintainer: Kevin Dalley <kevind@rahul.net>
> Version: 4.1-37
> Pre-Depends: libc6 (>= 2.1.2)
> Conffiles:
>  /etc/cron.daily/find 35426668d47dd02a46b5ee19159d1e0c
>  /etc/updatedb.conf 3ac16f548e842540ebdfaf9bebaae21f
> Description: utilities for finding files--find, xargs, and locate
>  These utilities find files meeting specified criteria and perform
>  various actions on the files which are found.
> 
> 
> I hope someone can help pin this thing down. :)
> 
> Thanks!
> 
> -- 
> Seth Arnold | http://www.willamette.edu/~sarnold/
> Hate spam? See http://maps.vix.com/rbl/ for help
> Hi! I'm a .signature virus! Copy me into
> your ~/.signature to help me spread!
> 
> 
> -- 
> To UNSUBSCRIBE, email to debian-devel-request@lists.debian.org
> with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org

-- 
Kevin Dalley
kevind@rahul.net


Reply to: