You can support us by downloading this article as PDF from the Link below. Download the guide as PDF

Have you encountered the error “/usr/bin/pacman: unrecognized option ‘–color never’” while trying to install or update packages in your Arch Linux system?. This has been an error experienced by many users, especially those using pacaur AUR wrapper to manage system packages.

I got /usr/bin/pacman: unrecognized option ‘–color never’ error while trying to install minikube-bin on Arch:

[pastacode lang=”bash” manual=”—%0A%3D%3D%3E%20Making%20package%3A%20minikube-bin%200.28.0-1%20(Thu%2005%20Jul%202018%2010%3A39%3A08%20AM%20EAT)%0A%3D%3D%3E%20WARNING%3A%20Skipping%20dependency%20checks.%0A%3D%3D%3E%20Retrieving%20sources…%0A%20%20-%3E%20Found%20minikube_0.28.0%0A%3D%3D%3E%20WARNING%3A%20Skipping%20all%20source%20file%20integrity%20checks.%0A%3D%3D%3E%20Extracting%20sources…%0A%3D%3D%3E%20Sources%20are%20ready.%0A%3A%3A%20Building%20minikube-bin%20package(s)…%0A%3D%3D%3E%20Making%20package%3A%20minikube-bin%200.28.0-1%20(Thu%2005%20Jul%202018%2010%3A39%3A08%20AM%20EAT)%0A%3D%3D%3E%20Checking%20runtime%20dependencies…%0A%3D%3D%3E%20Installing%20missing%20dependencies…%0A%2Fusr%2Fbin%2Fpacman%3A%20unrecognized%20option%20′–color%20never’%0A%3D%3D%3E%20ERROR%3A%20’pacman’%20failed%20to%20install%20missing%20dependencies.%0A%3A%3A%20failed%20to%20build%20minikube-bin%20package(%0A—-” message=”” highlight=”” provider=”manual”/]

The fix for this is to enable colors when pacman’s output is on a tty. To do this, open pacman.conf file

$ sudo /etc/pacman.conf

Then uncomment the line # Color like below:

This will allow pacaur to pass the option. Now try installing the package again with pacaur or package manager of your choice.

$ pacaur -S minikube-bin

It should be working now.

You can support us by downloading this article as PDF from the Link below. Download the guide as PDF