Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 9 Jun 2014 12:23:53 +0200
From:      Kurt Jaeger <lists@opsec.eu>
To:        Fabian Keil <freebsd-listen@fabiankeil.de>
Cc:        FreeBSD Ports <freebsd-ports@freebsd.org>
Subject:   Re: pkg: wrong architecture: freebsd:10:x86:64 instead of freebsd:11:x86:64
Message-ID:  <20140609102353.GN2341@home.opsec.eu>
In-Reply-To: <20140609121601.36208635@fabiankeil.de>
References:  <20140609121601.36208635@fabiankeil.de>

next in thread | previous in thread | raw e-mail | index | archive | help
Hi!

> I'm looking for a way to let "pkg add" install packages that are
> known to work but supposedly have the "wrong" architecture:
> 
> root@privoxy-jail / #pkg add /var/ports/packages/ImageMagick-6.8.0.7_7,1.txz
> Installing ImageMagick-6.8.0.7_7,1...Installing libXrender-0.9.8_2...Installing libX11-1.6.2_2,1...Installing kbproto-1.0.6...pkg: wrong architecture: freebsd:10:x86:64 instead of freebsd:11:x86:64
> 
> Failed to install the following 1 package(s): /var/ports/packages/ImageMagick-6.8.0.7_7,1.txz
> 
> I prefer not to recompile the port just to bump a version field
> that doesn't matter.
> 
> Any suggestions?

Have you tested, whether

cd /tmp
mkdir tt
cd tt
tar xf /var/ports/packages/ImageMagick-6.8.0.7_7,1.txz

and editing ./+COMPACT_MANIFEST and ./+MANIFEST to fix the version
and packing again would work ?

-- 
pi@opsec.eu            +49 171 3101372                         6 years to go !



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20140609102353.GN2341>