What package provides pgfplots.sty?
The pgfplots.sty
file should be provided by the texlive-pictures
package on 14.04
$ cat /etc/lsb-release
DISTRIB_ID=Ubuntu
DISTRIB_RELEASE=14.04
DISTRIB_CODENAME=trusty
DISTRIB_DESCRIPTION="Ubuntu 14.04 LTS"
$
$ dpkg -S pgfplots.sty
texlive-pictures: /usr/share/texlive/texmf-dist/tex/latex/pgfplots/pgfplots.sty
$