Unable to install xz
Kenneth Wolcott
kennethwolcott at gmail.com
Fri Dec 9 05:29:11 UTC 2022
Hi;
sudo port -v -t upgrade outdated
Fails on xz:
---> Computing dependencies for xz.
---> Fetching archive for xz
---> xz-5.2.9_0.darwin_22.arm64.tbz2 doesn't seem to exist in
/opt/local/var/macports/incoming/verified
---> Attempting to fetch xz-5.2.9_0.darwin_22.arm64.tbz2 from
https://packages.macports.org/xz
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
0 126 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0
---> Attempting to fetch xz-5.2.9_0.darwin_22.arm64.tbz2 from
http://mirror.fcix.net/macports/packages/xz
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
0 153 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0
---> Attempting to fetch xz-5.2.9_0.darwin_22.arm64.tbz2 from
https://ywg.ca.packages.macports.org/mirror/macports/packages/xz
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
0 153 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0
---> Extracting xz
---> Extracting xz-5.2.9.tar.bz2
Executing: 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 -
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 started the process tonight with:
sudo port selfupdate
---> Updating MacPorts base sources using rsync
MacPorts base version 2.8.0 installed,
MacPorts base version 2.8.0 downloaded.
---> Updating the ports tree
---> MacPorts base is already the latest version
The ports tree has been updated. To upgrade your installed ports, you should run
port upgrade outdated
~: port -v -t diagnose
this command returned zero results.
The common error report:
Killed by signal: 9
Error: Failed to extract xz: command execution failed
Happens with many of the ports.
What is wrong with my system?
Thanks,
Ken Wolcott
More information about the macports-users
mailing list