Running Latex file on the basis of the latest Tex-Live might lead to problems such as
! LaTeX Error: File `pgfornament.sty' not found.
- This is resulted from loss of some package file. We can use package manager of Tex-live tlmgr to solve this problem.
- Open our terminal and run
tlmgr update --self -all
Or just run
tlmgr update --self
tlmgr install pgfornament
- Most of these types of problems can be solved by using this method.