dircolors issue

Questions about applications and software
Forum rules
Before you post please read how to get help
Post Reply
User avatar
z1p101
Level 1
Level 1
Posts: 31
Joined: Tue Jul 24, 2012 7:29 pm

dircolors issue

Post by z1p101 »

Hi

I currently use Mint 15 Cinnamon and I am getting this error message every time I open a terminal.

Code: Select all

/usr/bin/dircolors: line 1: syntax error near unexpected token `newline'
/usr/bin/dircolors: line 1: `<SearchPlugin xmlns="http://www.mozilla.org/2006/browser/search/" xmlns:os="http://a9.com/-/spec/opensearch/1.1/">'
I still get a prompt afterwards but it is annoying. I could not find any dircolor config files and none of its environment variables are set that I could see. The text line that the error is showing is pretty much the first line of every file in /lib/firefox-addons/searchplugins/*. Also, I only get color output from 'ls' if I use the --color flag.

Any quick fix ideas not involving 'sed'?

Thanks in advance.
User avatar
xenopeek
Level 25
Level 25
Posts: 25146
Joined: Wed Jul 06, 2011 3:58 am
Location: The Netherlands

Re: dircolors issue

Post by xenopeek »

dircolors comes from coreutils package. I'd try reinstalling it:

Code: Select all

sudo apt-get install --reinstall coreutils
Or perhaps you have something incorrect in your .bashrc file, or in /etc/bash.bashrc?
Image
User avatar
z1p101
Level 1
Level 1
Posts: 31
Joined: Tue Jul 24, 2012 7:29 pm

Re: dircolors issue

Post by z1p101 »

Re install coreutils worked.

Thank you.
Post Reply

Return to “Software & Applications”