On Thu, 2 May 2024 at 14:09, Peter Humphrey <pe...@prh.myzen.co.uk> wrote:

> On Thursday, 2 May 2024 13:55:42 BST Jorge Almeida wrote:
> > I have
> > /var/lib/bin
> > in my $PATH (both as root and as normal user)
>
> > Anyone with the same problem/weirdness?
>
> Nope. Have you tried 'grep -r var/lib/bin /etc' ?
>
> I tried now:
/etc/profile.env:export
PATH='/usr/local/sbin:/usr/local/bin:/usr/bin:/opt/bin:/usr/lib/llvm/17/bin:/var/lib/bin'
/etc/environment.d/10-gentoo-env.conf:PATH=/usr/local/sbin:/usr/local/bin:/usr/bin:/opt/bin:/usr/lib/llvm/17/bin:/var/lib/bin
/etc/env.d/99xstow:PATH=/var/lib/bin
/etc/csh.env:setenv PATH
'/usr/local/sbin:/usr/local/bin:/usr/bin:/opt/bin:/usr/lib/llvm/17/bin:/var/lib/bin'

So, it seems I have at least one package which I wouldn't expect to
have: app-admin/xstow

I seem to remember I installed a long time ago. It is in the world file,
hence emerge -c wouldn't clean it. I don't have csh but think I had it once
upon a time. Removing...

Ok, done, and the PATH is fine now.

Thanks,

Jorge

Reply via email to