0

Everytime I open a new terminal session, there's an error that greets me:

/usr/bin/lesspipe: 1: /usr/bin/lesspipe: basename: not found
/usr/bin/lesspipe: 295: [: =: unexpected operator
junjie@Amamangi:~$

They were not there when I installed this OS some days ago.. and I believe this was a by-product of something I installed. The first time I saw them, I just ignored them because I was busy, until OCD attacked me today.

I'm new in Ubuntu and I hope someone can point me in the right direction so I can remove this eyesore.

3
  • Does basename --version work? basename is part of the coreutils package, so you could try reinstalling that if the binary has been deleted Dec 31, 2015 at 13:39
  • @steeldriver nope, it doesn't. Terminal says The program 'basename' is currently not installed.
    – Junjie
    Dec 31, 2015 at 14:28
  • Then try reinstalling the coreutils package - either from Software Center or from the terminal using sudo apt-get install --reinstall coreutils Dec 31, 2015 at 14:33

1 Answer 1

1

It looks like your basename program has gone missing: you should be able to restore it by reinstalling the coreutils package, either from Software Center or from the terminal using

sudo apt-get install --reinstall coreutils

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .