tar:以前のエラーのため失敗して終了しました。

tar:以前のエラーのため失敗して終了しました。

私は走る

$ cat /etc/*-release
PRETTY_NAME="Debian GNU/Linux 12 (bookworm)"
NAME="Debian GNU/Linux"
VERSION_ID="12"
VERSION="12 (bookworm)"
VERSION_CODENAME=bookworm
ID=debian
HOME_URL="https://www.debian.org/"
SUPPORT_URL="https://www.debian.org/support"
BUG_REPORT_URL="https://bugs.debian.org/"

残念ながら、xzファイルを抽出することはできません。

$ wget -c https://storage.googleapis.com/flutter_infra_release/releases/stable/linux/flutter_linux_3.19.5-stable.tar.xz
--2024-04-17 11:21:57--  https://storage.googleapis.com/flutter_infra_release/releases/stable/linux/flutter_linux_3.19.5-stable.tar.xz
Resolving storage.googleapis.com (storage.googleapis.com)... 172.217.167.91, 142.250.71.91, 142.250.66.251, ...
Connecting to storage.googleapis.com (storage.googleapis.com)|172.217.167.91|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 665630904 (635M) [application/x-tar]
Saving to: ‘flutter_linux_3.19.5-stable.tar.xz’

flutter_linux_3.19.5-stable.tar.xz   100%[===================================================================>] 634.79M  6.06MB/s    in 1m 55s  

2024-04-17 11:23:53 (5.51 MB/s) - ‘flutter_linux_3.19.5-stable.tar.xz’ saved [665630904/665630904]

$ tar xf flutter_linux_3.19.5-stable.tar.xz /usr/bin/
tar: /usr/bin: Not found in archive
tar: Exiting with failure status due to previous errors

$ sudo tar xf flutter_linux_3.19.5-stable.tar.xz /usr/bin/
tar: /usr/bin: Not found in archive
tar: Exiting with failure status due to previous errors

$ sudo tar -xf flutter_linux_3.19.5-stable.tar.xz /usr/bin/
tar: /usr/bin: Not found in archive
tar: Exiting with failure status due to previous errors

私が逃したものは何ですか?

答え1

-C消えたsudo tar -xf flutter_linux_3.19.5-stable.tar.xz -C /usr/bin/

関連情報