Package ImageMagick-6.5.1-2.i386.rpm is not signed

Post any defects you find in the released or beta versions of the ImageMagick software here. Include the ImageMagick version, OS, and any command-line required to reproduce the problem. Got a patch for a bug? Post it here.
Post Reply
raftcomm

Package ImageMagick-6.5.1-2.i386.rpm is not signed

Post by raftcomm »

Hi there,

Im turning to this forum as the web hosting company has basically left it to our own devices to get this working.

At present, im trying to install imagemagick via command line onto our Linux Server hosted on Godaddy.com.

Ive tried downloading the rpm files and tried to install it but run into quite a few failed pre-requisities.

1) Is there an easy way to download these required pre-requisities?

Code: Select all

[root@ip-97-74-116-98 modelarmour]# rpm -Uvh ImageMagick-6.5.1-2.i386.rpm
error: Failed dependencies:
        libICE.so.6 is needed by ImageMagick-6.5.1-1.i386
        libSM.so.6 is needed by ImageMagick-6.5.1-1.i386
        libXext.so.6 is needed by ImageMagick-6.5.1-1.i386
        libXt.so.6 is needed by ImageMagick-6.5.1-1.i386
        libgdk_pixbuf-2.0.so.0 is needed by ImageMagick-6.5.1-1.i386
        libgs.so.8 is needed by ImageMagick-6.5.1-1.i386
        liblcms.so.1 is needed by ImageMagick-6.5.1-1.i386
        librsvg-2.so.2 is needed by ImageMagick-6.5.1-1.i386
        libwmflite-0.2.so.7 is needed by ImageMagick-6.5.1-1.i386
2) When using the standard install command (yum install packagename) provided by the web hosting company, i constantly end up with this error message:

Package ImageMagick-6.5.1-2.i386.rpm is not signed

One of my photo gallery heavily depends on ImageMagick so would appreciate any help you can provide.

Cheers,
Jeremy
User avatar
magick
Site Admin
Posts: 11064
Joined: 2003-05-31T11:32:55-07:00

Re: Package ImageMagick-6.5.1-2.i386.rpm is not signed

Post by magick »

Try building from the source RPM:
  • rpmbuild --rebuild ImageMagick-6.5.1-2.src.rpm
You can install any dependencies like this:
  • yum install ghostscript-devel djvulibre-devel libwmf-devel jasper-devel
for example.
User avatar
fmw42
Posts: 25562
Joined: 2007-07-02T17:14:51-07:00
Authentication code: 1152
Location: Sunnyvale, California, USA

Re: Package ImageMagick-6.5.1-2.i386.rpm is not signed

Post by fmw42 »

Godaddy already has a terribly old version of IM installed. But they are not very cooperative about helping with it. But I wish they had a more current version available for general use.

This is what I get from calling these files from my web site at Godaddy

<?php
system("/usr/local/bin/convert -version");
?>

returns
Version: ImageMagick 6.2.7 06/08/06 Q16 http://www.imagemagick.org Copyright: Copyright (C) 1999-2006 ImageMagick Studio LLC


<?php
$IM_version=shell_exec("/usr/local/bin/convert -version");
echo $IM_version
?>

returns
Version: ImageMagick 6.2.7 06/08/06 Q16 http://www.imagemagick.org Copyright: Copyright (C) 1999-2006 ImageMagick Studio LLC


<?php
exec("/usr/local/bin/convert -version",$out,$returnval);
print_r($out[0]);
?>

returns
Version: ImageMagick 6.2.7 06/08/06 Q16 http://www.imagemagick.org
raftcomm

Re: Package ImageMagick-6.5.1-2.i386.rpm is not signed

Post by raftcomm »

magick wrote:Try building from the source RPM:
  • rpmbuild --rebuild ImageMagick-6.5.1-2.src.rpm
You can install any dependencies like this:
  • yum install ghostscript-devel djvulibre-devel libwmf-devel jasper-devel
for example.
Thanks for that. I tried the rpmbuild command but its saying that the command does not exist.

Ive also tried installing the dependencies as you had mentioned. All went well except for the following ones:

Code: Select all

libgdk_pixbuf-2.0.so.0 is needed by ImageMagick-6.5.1-1.i386
        libgs.so.8 is needed by ImageMagick-6.5.1-1.i386
        liblcms.so.1 is needed by ImageMagick-6.5.1-1.i386
        librsvg-2.so.2 is needed by ImageMagick-6.5.1-1.i386
        libwmflite-0.2.so.7 is needed by ImageMagick-6.5.1-1.i386
Any clues how i can get these?
raftcomm

Re: Package ImageMagick-6.5.1-2.i386.rpm is not signed

Post by raftcomm »

Managed to install the rpmbuild command onto the box but still cant seem to rebuild it. Am getting the following error:

Code: Select all

[root@ip-97-74-116-98 modelarmour]# rpmbuild --rebuild ImageMagick-6.5.1-2.i386.rpm
Installing ImageMagick-6.5.1-2.i386.rpm
error: source package expected, binary found
error: ImageMagick-6.5.1-2.i386.rpm cannot be installed
[root@ip-97-74-116-98 modelarmour]#
Am i doing it against the right rpm file?

If not, can you advise which is the correct one from here?
ftp://ftp.imagemagick.org/pub/ImageMagi ... dora/i386/

Code: Select all

File:ImageMagick-6.5.1-2.i386.rpm  	2025 KB  	11/04/2009  	12:52:00 a.m.
File:ImageMagick-c++-6.5.1-2.i386.rpm 	169 KB 	11/04/2009 	12:52:00 a.m.
File:ImageMagick-c++-devel-6.5.1-2.i386.rpm 	84 KB 	11/04/2009 	12:52:00 a.m.
File:ImageMagick-debuginfo-6.5.1-2.i386.rpm 	5076 KB 	11/04/2009 	12:53:00 a.m.
File:ImageMagick-devel-6.5.1-2.i386.rpm 	74 KB 	11/04/2009 	12:53:00 a.m.
File:ImageMagick-doc-6.5.1-2.i386.rpm 	37 KB 	11/04/2009 	12:53:00 a.m.
File:ImageMagick-perl-6.5.1-2.i386.rpm 	148 KB 	11/04/2009 	12:53:00 a.m.
ImageMagick.rpm 		12/04/2009 	4:57:00 p.m.
File:digest.rdf 	4 KB 	12/04/2009 	6:34:00 p.m.
User avatar
magick
Site Admin
Posts: 11064
Joined: 2003-05-31T11:32:55-07:00

Re: Package ImageMagick-6.5.1-2.i386.rpm is not signed

Post by magick »

The source RPM is in the SRPMs folder of ftp://ftp.imagemagick.org/pub/ImageMagick/linux/.
raftcomm

Re: Package ImageMagick-6.5.1-2.i386.rpm is not signed

Post by raftcomm »

Thanks for point me in the right direction.

I still feel like im missing something as im retrying the rpmbuild command but am getting the following errors now.

Code: Select all

[root@ip-97-74-116-98 modelarmour]# rpmbuild --rebuild ImageMagick-6.5.1-2.src.rpm
Installing ImageMagick-6.5.1-2.src.rpm
warning: user cristy does not exist - using root
warning: group cristy does not exist - using root
error: unpacking of archive failed on file /usr/src/redhat/SOURCES/ImageMagick-6.5.1-2.tar.bz2;49e3b280: cpio: MD5 sum mismatch
error: ImageMagick-6.5.1-2.src.rpm cannot be installed
[root@ip-97-74-116-98 modelarmour]#
I noted that on the pages on the binary files, there is a message digest that needed to be verified. How can this be done if not manually?

Would appreciate further assistance and thanks for the patience so far.
User avatar
magick
Site Admin
Posts: 11064
Joined: 2003-05-31T11:32:55-07:00

Re: Package ImageMagick-6.5.1-2.i386.rpm is not signed

Post by magick »

We cannot reproduce the problem you reported. Your rpmbuild command works for us without complaint. You have yet another option. Grab the ImageMagick source from ftp://ftp.imagemagick.org/pub/ImageMagick and type:
  • tar xvfz ImageMagick-6.5.1-2.tar.gz
    cd ImageMagick-6.5.1-2
    ./configure
    make
    make install
raftcomm

Re: Package ImageMagick-6.5.1-2.i386.rpm is not signed

Post by raftcomm »

I will definitely try it with the source files as you have suggested however would this resolve the dependency issues which i mentioned in my previous post?

Just to recap, these were the dependencies i was getting despite trying your earlier suggestion to install all dependencies using the yum install *-devel command.

Code: Select all

error: Failed dependencies:
        libgdk_pixbuf-2.0.so.0 is needed by ImageMagick-6.5.1-1.i386
        libgs.so.8 is needed by ImageMagick-6.5.1-1.i386
        liblcms.so.1 is needed by ImageMagick-6.5.1-1.i386
        librsvg-2.so.2 is needed by ImageMagick-6.5.1-1.i386
        libwmflite-0.2.so.7 is needed by ImageMagick-6.5.1-1.i386
When i tried the command, for example for one of these files, i got this error:

Code: Select all

[root@ip-97-74-116-98 modelarmour]# yum install libgs-devel
Repository base is listed more than once in the configuration
turbopanel-base           100% |=========================|  951 B    00:00
turbopanel-fc7            100% |=========================|  951 B    00:00
base                      100% |=========================| 2.1 kB    00:00
updates-released          100% |=========================| 2.3 kB    00:00
Setting up Install Process
Parsing package install arguments
No package libgs-devel available.
Nothing to do
[root@ip-97-74-116-98 modelarmour]#
This occured for all the files mentioned.

Even if the installation works and completes with errors, i had tested out the application that utilises ImageMagick and it failed as it couldnt resize images into thumbnails. Im guessing this is related to these dependencies not being resolved?
raftcomm

Re: Package ImageMagick-6.5.1-2.i386.rpm is not signed

Post by raftcomm »

magick wrote:We cannot reproduce the problem you reported. Your rpmbuild command works for us without complaint. You have yet another option. Grab the ImageMagick source from ftp://ftp.imagemagick.org/pub/ImageMagick and type:
  • tar xvfz ImageMagick-6.5.1-2.tar.gz
    cd ImageMagick-6.5.1-2
    ./configure
    make
    make install
Incidentally, i tried as you had suggested but as expected, the installation completed but when applications started using it, it couldnt perform functions like re-sizing images into thumbnails. When trying it out, i get the following error:

Code: Select all

Error creating thumbnail! Error code: 127

Command:

"/usr/local/bin/mogrify" -strip -resize "200x" -resize "x125<" -gravity center -crop 200x125+0+0 -quality 80 -unsharp 10 '/home/modelarmor/public_html/gallery/data/500/thumbs/IMG_4982.JPG'
Any tips on how i can resolve those dependencies?
User avatar
magick
Site Admin
Posts: 11064
Joined: 2003-05-31T11:32:55-07:00

Re: Package ImageMagick-6.5.1-2.i386.rpm is not signed

Post by magick »

If the problem is with your application we can't help you. If its ImageMagick, we can. Let's see if ImageMagick work properly. Try your command with a test image:
  • convert logo: logo.jpg
    /usr/local/bin/mogrify -strip -resize 200x -resize x125< -gravity center -crop 200x125+0+0 -quality 80 -unsharp 10 logo.jpg
Now inspect logo.jpg. Did the mogrify command work properly? If so, ImageMagick is installed and working as expected.
Post Reply