Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Update => Re: Error upgrading ImageMagick-5.4.4 with portupgrade

0 views
Skip to first unread message

S. Roberts

unread,
May 4, 2002, 8:30:35 AM5/4/02
to
Hello,
I've got an update to my earlier posting:-
I went ahead with the option:
make NO_CHECKSUM=yes
which appeared to run through the upgrade to ImageMagick-5.4.4.5 without
any errors. But then after running pkg_version -v, I still get:
# pkg_version -v
AbiWord-gnome-1.0.0 = up-to-date with port
ImageMagick-5.4.4 < needs updating (port has
5.4.4.5)
Mesa-3.4.2_2 = up-to-date with port
ORBit-0.5.15_1 = up-to-date with port
a2ps-letterdj-4.13_1 = up-to-date with port
aalib-1.4.r5_1 = up-to-date with port

<snip>
Re-running portupgrade getsme this again:

# portupgrade ImageMagick-5.4.4
---> Upgrading 'ImageMagick-5.4.4' to 'ImageMagick-5.4.4.5'
(graphics/ImageMagick)
---> Building '/usr/ports/graphics/ImageMagick'
===> Cleaning for libiconv-1.7_4
===> Cleaning for bison-1.35_1
===> Cleaning for gettext-0.11.1_2
===> Cleaning for gmake-3.79.1_1
===> Cleaning for libtool-1.3.4_3
===> Cleaning for pkgconfig-0.12.0
===> Cleaning for jbigkit-1.2
===> Cleaning for jpeg-6b_1
===> Cleaning for lcms-1.08
===> Cleaning for libfpx-1.2.0.4
===> Cleaning for libmpeg2-0.2.1
===> Cleaning for libwmf-0.2.2_1
===> Cleaning for png-1.2.2_1
===> Cleaning for tiff-3.5.7
===> Cleaning for python-2.2.1
===> Cleaning for freetype2-2.0.9
===> Cleaning for ghostscript-gnu-7.05
===> Cleaning for libxml2-2.4.21
===> Cleaning for XFree86-3.3.6_11
===> Cleaning for ImageMagick-5.4.4.5
===> Extracting for ImageMagick-5.4.4.5
>> Checksum mismatch for ImageMagick-5.4.4-5.tar.gz.
Make sure the Makefile and distinfo file
(/usr/ports/graphics/ImageMagick/distinfo)
are up to date. If you are absolutely sure you want to override this
check, type "make NO_CHECKSUM=yes [other args]".
*** Error code 1

Stop in /usr/ports/graphics/ImageMagick.
** Command failed: make
** Fix the problem and try again.
** The following packages were not installed or upgraded (*:skipped /
!:failed)
! graphics/ImageMagick (ImageMagick-5.4.4) (checksum mismatch)
#

Something's definitely *not* right here.., I would have thought that if
the make option to ignore checksum validity were wrong, I'd at least get
*some* indication of a failure to upgrade to the new version.

Now figuring I'd simply deinstall the port and re-install, I'm not faced
with:

# make deinstall
===> Deinstalling for ImageMagick-5.4.4.5
===> ImageMagick-5.4.4.5 not installed, skipping
#

So I try another removal method:
# cd /var/db/pkg
# pkg_delete ImageMagick-5.4.4
pkg_delete: package 'ImageMagick-5.4.4' is required by these other
packages
and may not be deinstalled:
apsfilter-7.2.2
#

I'm now somewhat weary of interfering anymore with other installed (and
working) software.., Is anyone else seeing this problem? Can anyone
assist, please?

Stacey


Hi Martin,
Thanks for getting back to me about my query.

In short, "yes"., I was kinda hoping for a pointer to resolving the
mismatching checksums before actually deciding what to do. I am aware
that I can set the makefile option to ignore checksum, but I figure
they're there for some good reason, aren't they?

OT though., I also posted another question on using pgp on my FSDB
server to digitally sign messages and e-mail (using Evolution as the
mail client),and noticed that you have your e-mail done so:-)

Is it possible that you might give me some pointers on using pgpon my
system? In particular, I found that the documentation at www.pgpi.com
takes a somewhat Windows & Mac view of things, and I can't seem to track
down any FSDB-specif HowTo's and/or tutorials.,

Which verison of pgp are you running?
Do you use a gui-based mail client with switches to encrypt/sign
messages/attachments?

Hope you didn't mind muyh heading off-topic too much. Let me know either
way, okay?

Stacey

On Fri, 2002-05-03 at 23:41, Martin Karlsson wrote:
> * S. Roberts <srob...@dsl.pipex.com> [2002-05-03 21.52 +0100]:
> > Hi,
> > I've just run portupgrade for ImageMagick-5.4.4 and got the errors
> > below.
> >
> > # portupgrade -R ImageMagick-5.4.4
> > ---> Upgrading 'ImageMagick-5.4.4' to 'ImageMagick-5.4.4.5'
> > (graphics/ImageMagick)
>
> [...snip...]
>
> > check, type "make NO_CHECKSUM=yes [other args]".
> > *** Error code 1
>
> What are you trying to do? If you think you can trust the tarball,
> then doing:
> 'portupgrade -Rm NO_CHECKSUM=yes ImageMagick-5.4.4'
>
> should work. (man portupgrade is your friend)
>
> If you're trying to _resolve_ the checksum mismatch, I'm sorry, but I
> don't know how to do that.
>
> HTH
> --
> Martin Karlsson - 0x9C924660

--
Stacey Roberts B.Sc. (HONS) Computer Science
Network Systems Engineer


To Unsubscribe: send mail to majo...@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message

Paul Everlund

unread,
May 4, 2002, 9:02:16 AM5/4/02
to
"S. Roberts" wrote:
>
> Hello,
> I've got an update to my earlier posting:-
> I went ahead with the option:
> make NO_CHECKSUM=yes
> which appeared to run through the upgrade to ImageMagick-5.4.4.5 without
> any errors. But then after running pkg_version -v, I still get:
> # pkg_version -v
> AbiWord-gnome-1.0.0 = up-to-date with port
> ImageMagick-5.4.4 < needs updating (port has
> 5.4.4.5)
> Mesa-3.4.2_2 = up-to-date with port
> ORBit-0.5.15_1 = up-to-date with port
> a2ps-letterdj-4.13_1 = up-to-date with port
> aalib-1.4.r5_1 = up-to-date with port
>
> <snip>
> Re-running portupgrade getsme this again:
>
> # portupgrade ImageMagick-5.4.4
> ---> Upgrading 'ImageMagick-5.4.4' to 'ImageMagick-5.4.4.5'
> (graphics/ImageMagick)
> ---> Building '/usr/ports/graphics/ImageMagick'
> ===> Cleaning for libiconv-1.7_4
<snip>

> ===> Cleaning for ImageMagick-5.4.4.5
> ===> Extracting for ImageMagick-5.4.4.5
> >> Checksum mismatch for ImageMagick-5.4.4-5.tar.gz.
> Make sure the Makefile and distinfo file
> (/usr/ports/graphics/ImageMagick/distinfo)
> are up to date. If you are absolutely sure you want to override this
> check, type "make NO_CHECKSUM=yes [other args]".
> *** Error code 1
>
> Stop in /usr/ports/graphics/ImageMagick.
> ** Command failed: make
> ** Fix the problem and try again.
> ** The following packages were not installed or upgraded (*:skipped /
> !:failed)
> ! graphics/ImageMagick (ImageMagick-5.4.4) (checksum mismatch)
> #
>
> Something's definitely *not* right here.., I would have thought that if
> the make option to ignore checksum validity were wrong, I'd at least get
> *some* indication of a failure to upgrade to the new version.

If you've downloaded the *.tar.gz file for ImageMagick, v 5.4.4.5, and beleive
it's the correct one, and want to fix the checksum error, then you could try
to do this:

cd /usr/ports/distfiles

Do a ls and you should see the ImageMagick-5.4.4.5.tar.gz, or something like
that.

Now do this:

md5 ImageMagick-5.4.4.5.tar.gz > ../graphics/ImageMagick/distinfo

Try once more to do your upgrade as you did before...

Did it work ok now?

The paths given above, and maybe the name of the tar.gz file might be wrong,
so fill in the correct values.

A checksum error could also, by the way, indicate that the file is not correct
downloaded, due to a network error or something else.

Best regards,
Paul

0 new messages