On 2024.04.04 19:55, Eric Wong wrote:
> Josh Steadmon <[email protected]> wrote:
> > Hello all,
> > 
> > I recently had to reinstall my work machine, and after doing so I now
> > get an error when running `lei ls-search`:
> > 
> > `ls-search' is not an lei command
> > 
> > This happens with both version 1.9.0-1+build1 of the Debian "lei"
> > package, and with version 1.9.0 of the Nix "public-inbox" package.
> 
> Are you sure the `lei' in $PATH is pointed to the right
> installation?
> 
> `lei sucks' should give diagnostic info (or similarly broken if
> the lei-daemon is running on an uninstalled version).

Thanks for the pointer to `lei sucks'. It reported that lei was for some
reason trying to load packages from a prior attempt at installing
public-inbox from source, even after deleting the relevant directory.
I'm not sure how that happened, since I installed via apt and AFAICT
there's nothing in my environment that would tell Perl to look in that
location.

In any case, `apt-get purge lei` followed by a reinstall worked after
deleting the old source directory.

Thanks again!

Reply via email to