<div dir="ltr">Thanks Stuart for the fix.<div><br></div><div>It appears that there may be another problem (not sure if it is related). Now the randomlabel images do not show up. See</div><div><br></div><div>/res/fsu/PhysicsLabs/PHY2048L/Torques/torques.problem<br></div><div><br></div><div>There are 4 randomlabel images and non of them show up.</div><div><br></div><div>Regards,</div><div>-hk</div><div><br></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Sat, Jun 27, 2015 at 12:42 PM, Stuart Raeburn <span dir="ltr"><<a href="mailto:raeburn@msu.edu" target="_blank">raeburn@msu.edu</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi H.K.,<br>
<span class=""><br>
> When I did a yum update, it was not successful. Seems like there is a<br>
> conflict between existing packages that depend on the older version of<br>
> ImageMagick.<br>
<br>
</span>The server/VM for which you attempted to update ImageMagick had<br>
inkscape installed, and the inkscape package had been built with a<br>
specific version of<br>
ImageMagick-c++-devel (6.5.4.7-7), so had a it dependency on the same<br>
version of ImageMagick-c++.<br>
<br>
As LON-CAPA does not require inkscape one solution would be to simply<br>
remove it using: yum remove inkscape<br>
<br>
Alternatively, if you want to retain inkscape, you will need to update<br>
inkscape to a version built with ImageMagick-c++-devel-6.8.9.<br>
<br>
Accordingly, I have added the ImageMagick-c++-devel, ImageMagick-c++,<br>
and ImageMagick-devel packages for <a href="http://6.8.9-7.1.centos6.lc" rel="noreferrer" target="_blank">6.8.9-7.1.centos6.lc</a>, and also<br>
<a href="http://inkscape-0.47-6.1.centos6.lc" rel="noreferrer" target="_blank">inkscape-0.47-6.1.centos6.lc</a> packages to the LON-CAPA yum repositories<br>
for CentOS 6.<br>
<br>
yum clean all<br>
yum update<br>
<br>
should now be successful, unless you have other packages installed<br>
which were also built with ImageMagick-c++-devel.<br>
<br>
Notes:<br>
<br>
1. There was a problem building ImageMagick-devel using the orginal<br>
.spec file for ImageMagick, so I fixed it and replaced the ImageMagick<br>
<a href="http://6.8.9-7.centos6.lc" rel="noreferrer" target="_blank">6.8.9-7.centos6.lc</a> packages added yesterday with ImageMagick<br>
<a href="http://6.8.9-7.1.centos6.lc" rel="noreferrer" target="_blank">6.8.9-7.1.centos6.lc</a> packages built today.<br>
<br>
2. The inkscape package is not installed if you set up a LON-CAPA<br>
instance using the recommended minimal install of Linux, followed by<br>
installation of the LONCAPA-prerequisites rpm.<br>
<br>
3. ImageMagick-c++, ImageMagick-c++-devel, ImageMagick-devel, and<br>
inkscape-0.47-6.1 packages have also been added to the LON-CAPA yum<br>
repositories for Red Hat 6 and Scientific Linux 6.<br>
<span class="im HOEnZb"><br>
<br>
Stuart Raeburn<br>
LON-CAPA Academic Consortium<br>
<br>
<br>
</span><div class="HOEnZb"><div class="h5">Quoting "H. K. Ng" <<a href="mailto:hkng@fsu.edu">hkng@fsu.edu</a>>:<br>
<br>
> Hi Stuart,<br>
><br>
> When I did a yum update, it was not successful. Seems like there is a<br>
> conflict between existing packages that depend on the older version of<br>
> ImageMagick. Part of the message is attached below.<br>
><br>
> -hk<br>
><br>
> Resolving Dependencies<br>
> --> Running transaction check<br>
> ---> Package ImageMagick.x86_64 0:6.5.4.7-7.el6_5 will be updated<br>
> --> Processing Dependency: libMagickCore.so.2()(64bit) for package:<br>
> inkscape-0.47-6.el6.x86_64<br>
> ...<br>
> ...<removed><br>
><br>
> --> Finished Dependency Resolution<br>
> Error: Package: ImageMagick-c++-6.5.4.7-7.el6_5.x86_64 (@updates)<br>
>            Requires: libMagickCore.so.2()(64bit)<br>
>            Removing: ImageMagick-6.5.4.7-7.el6_5.x86_64 (@updates)<br>
>                libMagickCore.so.2()(64bit)<br>
>            Updated By: ImageMagick-6.8.9-7.centos6.lc.x86_64<br>
> (loncapa-updates-basearch)<br>
>                Not found<br>
> Error: Package: inkscape-0.47-6.el6.x86_64 (@base/$releasever)<br>
>            Requires: libMagickCore.so.2()(64bit)<br>
>            Removing: ImageMagick-6.5.4.7-7.el6_5.x86_64 (@updates)<br>
>                libMagickCore.so.2()(64bit)<br>
>            Updated By: ImageMagick-6.8.9-7.centos6.lc.x86_64<br>
> (loncapa-updates-basearch)<br>
>                Not found<br>
> Error: Package: ImageMagick-c++-6.5.4.7-7.el6_5.x86_64 (@updates)<br>
>            Requires: libMagickWand.so.2()(64bit)<br>
>            Removing: ImageMagick-6.5.4.7-7.el6_5.x86_64 (@updates)<br>
>                libMagickWand.so.2()(64bit)<br>
>            Updated By: ImageMagick-6.8.9-7.centos6.lc.x86_64<br>
> (loncapa-updates-basearch)<br>
>                Not found<br>
>  You could try using --skip-broken to work around the problem<br>
>  You could try running: rpm -Va --nofiles --nodigest<br>
><br>
> On Fri, Jun 26, 2015 at 11:18 AM, Stuart Raeburn <<a href="mailto:raeburn@msu.edu">raeburn@msu.edu</a>> wrote:<br>
><br>
>> Hi,<br>
>><br>
>> Packages for ImageMagick and ImageMagick-perl which contain newer<br>
>> versions than those present in the distribution's standard<br>
>> repositories have been added to LON-CAPA's own yum repositories for<br>
>> CentOS, Red Hat, and Scientific Linux 6 (both 64 bit and 32 bit<br>
>> architectures).<br>
>><br>
>> When the CHECKRPMS script (run by cron on alternate nights) next runs<br>
>> it will advise using yum to update ImageMagick and ImageMagick-perl<br>
>> from 6.5.4.7-7.el6 to <a href="http://6.8.9-7.dist6.lc" rel="noreferrer" target="_blank">6.8.9-7.dist6.lc</a> (where dist = centos, rhel, or<br>
>> sl).<br>
>><br>
>> The newer packages create valid postscript when generating PDF<br>
>> printouts in LON-CAPA for resources containing certain types of jpeg<br>
>> images (e.g., see<br>
>> <a href="http://mail.lon-capa.org/pipermail/lon-capa-users/2015-June/004878.html" rel="noreferrer" target="_blank">http://mail.lon-capa.org/pipermail/lon-capa-users/2015-June/004878.html</a><br>
>> ).<br>
>><br>
>> ImageMagick for LON-CAPA servers running other distros: CentOS 5 or 7,<br>
>> Ubuntu 12 or 14, or SLES11 do not need updating, as they already<br>
>> support printout generation for resources of this type.<br>
>><br>
>> In the case of CentOS/Red Hat/Scientific Linux 5, updated ImageMagick<br>
>> rpms which were built previously (June 2014 -- rev. 6.8.8.2) to<br>
>> address a different issue to do with conversion of 8-bit alpha channel<br>
>> png files (see bug 6652 --<br>
>> <a href="http://bugs.loncapa.org/show_bug.cgi?id=6652#c9" rel="noreferrer" target="_blank">http://bugs.loncapa.org/show_bug.cgi?id=6652#c9</a>) can also support<br>
>> conversion of these jpeg images.<br>
>><br>
>> At least one other distro -- Ubuntu 10 LTS -- needs a newer version of<br>
>> ImageMagick to support printout generation for resources containing<br>
>> these types of jpeg images.  However, 10.04 LTS reached end of life on<br>
>> April 30, 2015, so any LON-CAPA domains running servers still using it<br>
>> should consider upgrading to either Ubuntu 12 LTS or 14 LTS.<br>
>><br>
>><br>
>> Stuart Raeburn<br>
>> LON-CAPA Academic Consortium<br>
>><br>
>> _______________________________________________<br>
>> LON-CAPA-admin mailing list<br>
>> <a href="mailto:LON-CAPA-admin@mail.lon-capa.org">LON-CAPA-admin@mail.lon-capa.org</a><br>
>> <a href="http://mail.lon-capa.org/mailman/listinfo/lon-capa-admin" rel="noreferrer" target="_blank">http://mail.lon-capa.org/mailman/listinfo/lon-capa-admin</a><br>
<br>
<br>
_______________________________________________<br>
LON-CAPA-admin mailing list<br>
<a href="mailto:LON-CAPA-admin@mail.lon-capa.org">LON-CAPA-admin@mail.lon-capa.org</a><br>
<a href="http://mail.lon-capa.org/mailman/listinfo/lon-capa-admin" rel="noreferrer" target="_blank">http://mail.lon-capa.org/mailman/listinfo/lon-capa-admin</a><br>
</div></div></blockquote></div><br></div>