Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Bug] 首次下载内核文件报错tar: unrecognized option: no-same-owner #4083

Open
5 of 7 tasks
JIZHENQIANG opened this issue Oct 4, 2024 · 1 comment
Open
5 of 7 tasks
Labels
bug Something isn't working

Comments

@JIZHENQIANG
Copy link

Verify Steps

  • Tracker 我已经在 Issue Tracker 中找过我要提出的问题
  • Branch 我知道 OpenClash 的 Dev 分支切换开关位于插件设置-版本更新中,或者我会手动下载并安装 Dev 分支的 OpenClash
  • Latest 我已经使用最新 Dev 版本测试过,问题依旧存在
  • Relevant 我知道 OpenClash 与 内核(Core)、控制面板(Dashboard)、在线订阅转换(Subconverter)等项目之间无直接关系,仅相互调用
  • Definite 这确实是 OpenClash 出现的问题
  • Contributors 我有能力协助 OpenClash 开发并解决此问题
  • Meaningless 我提交的是无意义的催促更新或修复请求

OpenClash Version

v0.46.038-beta

Bug on Environment

Immortalwrt

OpenWrt Version

ImmortalWrt 23.05-SNAPSHOT r28069-e1d143ce7e

Bug on Platform

Linux-armv6

Describe the Bug

2024-10-04 09:45:15 【Meta】版本内核更新失败,请确认设备闪存空间足够或内核平台正确后再试!
2024-10-04 09:45:15 【Meta】版本内核下载成功,开始更新...
2024-10-04 09:45:12 【Meta】版本内核正在下载,如下载失败请尝试手动下载并上传...

To Reproduce

第一次下载内核出现更新失败,我看了一下脚本根据脚本步骤手动执行,解压步骤出错,无法识别no-same-owner,系统下载安装的解压软件貌似不支持这个命令。

tar zxvf /tmp/clash_meta.tar.gz -C /tmp --no-same-owner >/dev/null 2>&1

/

root@ImmortalWrt:~# tar zxvf /tmp/clash_meta.tar.gz -C /tmp --no-same-owner
tar: unrecognized option: no-same-owner
BusyBox v1.36.1 (2024-09-29 04:17:17 UTC) multi-call binary.

Usage: tar c|x|t [-zahvokO] [-f TARFILE] [-C DIR] [-T FILE] [-X FILE] [FILE]...

Create, extract, or list files from a tar file

        c       Create
        x       Extract
        t       List
        -f FILE Name of TARFILE ('-' for stdin/out)
        -C DIR  Change to DIR before operation
        -v      Verbose
        -O      Extract to stdout
        -o      Don't restore user:group
        -k      Don't replace existing files
        -z      (De)compress using gzip
        -a      (De)compress based on extension
        -h      Follow symlinks
        -T FILE File with names to include
        -X FILE File with glob patterns to exclude

OpenClash Log

2024-10-04 09:45:15 【Meta】版本内核更新失败,请确认设备闪存空间足够或内核平台正确后再试!
2024-10-04 09:45:15 【Meta】版本内核下载成功,开始更新...
2024-10-04 09:45:12 【Meta】版本内核正在下载,如下载失败请尝试手动下载并上传...

OpenClash Config

No response

Expected Behavior

查明原因修复问题

Additional Context

No response

@JIZHENQIANG JIZHENQIANG added the bug Something isn't working label Oct 4, 2024
@vernesong
Copy link
Owner

你先换成-o

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants