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

aarch64.ipk安装失败(架构不兼容) #44

Closed
vonl1 opened this issue Sep 18, 2021 · 7 comments
Closed

aarch64.ipk安装失败(架构不兼容) #44

vonl1 opened this issue Sep 18, 2021 · 7 comments
Labels
question Further information is requested

Comments

@vonl1
Copy link

vonl1 commented Sep 18, 2021

路由器型号:小米ax3600,openwrt固件使用的是:https://github.com/Boos4721/updater/tree/OpenWrt

命令行输出:
2021-09-18 20:31:20 (7.84 MB/s) - 'aliyundrive-webdav_0.1.27-1_aarch64_generic.ipk' saved [2122875/2122875]

root@OpenWrt:~# opkg install aliyundrive-webdav_0.1.27-1_aarch64_generic.ipk
Unknown package 'aliyundrive-webdav'.
Collected errors:

  • pkg_hash_fetch_best_installation_candidate: Packages for aliyundrive-webdav found, but incompatible with the architectures configured
  • opkg_install_cmd: Cannot install package aliyundrive-webdav.

root@OpenWrt:~# uname -m
aarch64

@messense
Copy link
Owner

opkg print-architecture 看下

@vonl1
Copy link
Author

vonl1 commented Sep 18, 2021

root@OpenWrt:~# opkg print-architecture
arch all 1
arch noarch 1
arch aarch64_cortex-a53 10

@messense
Copy link
Owner

messense commented Sep 18, 2021

可以先修改下 /etc/opkg.conf 增加

arch all 1
arch noarch 1
arch aarch64_cortex-a53 10
arch aarch64_generic 100

再安装。

@vonl1
Copy link
Author

vonl1 commented Sep 18, 2021

vim /etc/opkg.conf 文件内容如下:

dest root /
dest ram /tmp
lists_dir ext /var/opkg-lists
option overlay_root /overlay
option check_signature

arch all 1
arch noarch 1
arch aarch64_cortex-a53 10
arch aach64_generic 100

然后安装的时候还是同样的问题

@messense
Copy link
Owner

上面有个错别字,应该是 arch aarch64_generic 100 少了个 r

@vonl1
Copy link
Author

vonl1 commented Sep 18, 2021

好的,安装成功,谢谢开发者

@vonl1 vonl1 closed this as completed Sep 18, 2021
@messense messense added the question Further information is requested label Sep 18, 2021
@messense
Copy link
Owner

aarch64_cortex-a53 加了 https://github.com/messense/aliyundrive-webdav/releases/download/v0.1.27/aliyundrive-webdav_0.1.27-1_aarch64_cortex-a53.ipk

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests

2 participants