[LON-CAPA-admin] LONCAPA-prerequisites: HTML-parser conflicts

Stuart Raeburn raeburn at msu.edu
Mon Mar 31 21:48:47 EDT 2008


LON-CAPA uses a customized HTML-Parser perl module (the rpm is  
perl-HTML-Parser_loncapa-3.56-1.0.fc7.lc on Fedora 7).

The changes in the parser are limited to a few lines in hparser.c in  
the original source.  There is a test to determine if LON-CAPA's  
custom HTML-Parser has been installed in the ./UPDATE script used to  
install the LON-CAPA application (as described in  

As you discovered, a conflict can occur when attempting to install  
LONCAPA-prerequisites if HTML-Parser has already been installed on the  
system.  Under normal circumstances this conflict is not encountered  
because HTML-Parser is not present on the minimal system recommended  
for installation of LON-CAPA on a server.  However, when installing on  
a laptop, a minimal Fedora install is unlikely to have been used.  In  
that case, removing the HTML-Parser rpm before
installing LONCAPA-prerequisites is necessary.

Future perl-HTML-Parser_loncapa rpms built for Fedora/RHEL/Centos  
could most likely avoid this problem by including:

Obsoletes: perl-HTML-Parser

in the .spec for the rpm when building the perl-HTML-Parser_loncapa rpm.

Stuart Raeburn

Quoting Stefan Bisitz <st.bisitz at fh-wolfenbuettel.de>:

> Hi,
> I tried to install loncapa on a laptop. I successfully installed Fedora
> 7 and followed the steps in the installation guide. No errors, etc.
> The installing process of LONCAPA-prerequisites is stopped due to the
> following error:
> --------
> Transaction Check Error:
> file /usr/share/man/man3/HTML::Entities.3pm.gz from install of
> perl-HTML-Parser_loncapa-3.56-1.0.fc7.lc conflicts with file from
> package perl-HTML-Parser-loncapa-3.56-1.fc7
> --------
> I remember that there has been such a conflict before but the only thing
> I could find is
> http://mail.lon-capa.org/pipermail/lon-capa-admin/2006-November/001564.html
> Do I need to remove manually the stand HTML-parser package? And if, why?
> Any idea?
> Thanks,
> Stefan Bisitz
> _______________________________________________
> LON-CAPA-admin mailing list
> LON-CAPA-admin at mail.lon-capa.org
> http://mail.lon-capa.org/mailman/listinfo/lon-capa-admin

More information about the LON-CAPA-admin mailing list