# Package Keyval Error: allcolors undefined

I am using the following template for writing a document in Latex but i am getting an error Package Keyval Error: allcolors undefined..

\documentclass[a4paper,fontsize=12pt,headings=normal]{scrartcl}

\usepackage[latin1]{inputenc}
\usepackage[T1]{fontenc}
\usepackage{lmodern}
%\usepackage[english]{babel}  % Use this if you are writing in English.
\usepackage[ngerman]{babel} % Use this if you are writing in German.
\usepackage{amsmath}
\usepackage{graphicx}
\usepackage{booktabs}
\usepackage{ae}
\usepackage{titlesec}
\usepackage[hang]{footmisc}

% Some settings
\setlength{\footnotemargin}{0cm}
\setlength{\parindent}{0cm}
\setlength{\parskip}{1.5ex}
% \titlespacing{ command }{ left }{ before-sep }{ after-sep }[ right-sep ]
\titlespacing{\section}{0pt}{2ex}{0ex}
\titlespacing{\subsection}{0pt}{2ex}{0ex}

% Pdf annotation (Metadata for pdf document)
\hypersetup{pdfauthor={Forename Surename}}

\begin{document}
University XYZ\hfill \today\\ % Date can also be set by hand (replace \today)
Faculty of Electrical Engg

\begin{center}
\sffamily\bfseries\large
%
% = Title ====================================
Template of Writing a Document in latex
% ============================================
%
\vspace{0.4cm}
\rmfamily\mdseries\normalsize
--- Arbeitsplan zur Masterarbeit --- % Or Master's/Bachelor's Thesis Work Plan
\end{center}
%
% = Student ==================================
Bearbeiter: ABC\\ % Student
% ============================================

% Load content from the file content.tex
\input{content}

% References as defined in the BibTeX file references.bib
\small
%\bibliographystyle{apalike}
\bibliography{references}

\end{document}

• No problem here when I comment out \input{content} and \bibliography{references} (since we don't have those). – Werner Nov 25 '14 at 20:04
• @Werner: May be i am getting the error because i do not have the required package installed in my machine. The template is actually a working template but its giving me error in my machine. I am new to Latex so, i don't know how can i resolve the matter (i have already searched over internet.) – skm Nov 25 '14 at 20:05
• – Werner Nov 25 '14 at 20:12
• @Werner: Sorry, as i mentioned that i am new to this thing so, only thing i could understand is that i should update my package manager and packages but when i am trying to run tlmgr update --list through the terminal (root user) then, it says that the command not found. – skm Nov 25 '14 at 20:19
• Are you running TeX Live? What OS are you using? – Werner Nov 25 '14 at 20:20

Option allcolors was added to hyperref in version 2011-02-05 v6.82a. Therefore you need to update hyperref.
TeX distributions from Linux distributions are often very old and programs like tlmgr are disabled to avoid interference with the Linux packaging system.
• thanks for your answer. The same kind of suggestion is given in the above comments but the problem is that i am not able to update it through terminal. Terminal says No command 'tlmgr'. – skm Nov 25 '14 at 20:43