listings.sty shadows newer listings.sty of texlive-latex-recommended

Bug #1598568 reported by Eus
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
fpc (Debian)
Fix Released
Unknown
fpc (Ubuntu)
Fix Released
Undecided
Unassigned

Bug Description

fpc-3.0.0 installs the following:
/usr/share/texmf/tex/latex/fpc-3.0.0/listings.sty

That shadows the one installed by texlive-latex-recommended at:
/usr/share/texlive/texmf-dist/tex/latex/listings/listings.sty

Specifically, "kpsewhich listings.sty" returns that of fpc-3.0.0.

When executing LaTeX on a document that uses package listings, LaTeX uses that of fpc-3.0.0, which is older than that of texlive. So, LaTeX fails because, for example, "\lstset{breakatwhitespace=true}" gives an error. If fpc-3.0.0 is purged, LaTeX can successfully produce the PDF.

What about if fpc-3.0.0 uses symbolic links to the listings.sty of texlive if texlive-latex-recommended happens to be installed already? Perhaps by packaging the following files separately from fpc-3.0.0 so that the package can be marked to conflict with texlive-latex-recommended?

/usr/share/texmf/tex/latex/fpc-3.0.0/listings.sty
/usr/share/texmf/tex/latex/fpc-3.0.0/lstdoc.sty
/usr/share/texmf/tex/latex/fpc-3.0.0/lstlang1.sty
/usr/share/texmf/tex/latex/fpc-3.0.0/lstlang2.sty
/usr/share/texmf/tex/latex/fpc-3.0.0/lstlang3.sty
/usr/share/texmf/tex/latex/fpc-3.0.0/lstmisc.sty

Thanks.

Changed in fpc (Debian):
status: Unknown → Fix Released
Revision history for this message
Paul Gevers (paul-climbing) wrote :

Fixed released per sync from Debian of 3.0.0+dfsg-7.

Changed in fpc (Ubuntu):
status: New → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.