pkg: wrong architecture: freebsd:10:x86:64 instead of freebsd:11:x86:64

Kurt Jaeger lists at opsec.eu
Mon Jun 9 10:23:56 UTC 2014


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 at 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 at opsec.eu            +49 171 3101372                         6 years to go !


More information about the freebsd-ports mailing list