Unable to install xz

Mick MickBert at posteo.net
Fri Dec 9 08:52:09 UTC 2022


On Thu, Dec 08, 2022 at 09:29:11PM -0800, Kenneth Wolcott wrote:
> Hi;
> 
d> sudo port -v -t upgrade outdated
> 
> Command failed:  cd
> "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_archivers_xz/xz/work"
> && /usr/bin/bzip2 -dc
> '/opt/local/var/macports/distfiles/xz/xz-5.2.9.tar.bz2' | /usr/bin/tar
> -xf -
> Killed by signal: 9
> Error: Failed to extract xz: command execution failed
> 
> Interesting that I can do the "cd; bzip2; tar" command sequence
> manually and it works fine.
>
I am not an expert of macport, but I just gess.
Is it possible that you have different versions of bzip2 and/or tar installed, and PATH pointing to the wrong one while running port command?

What do you get with:
- type bip2
- which bzip2
- bzip2 --version

and same for tar?
--
Mick


More information about the macports-users mailing list