ophub / amlogic-s9xxx-armbian

Support for Armbian in Amlogic, Rockchip and Allwinner boxes. Support a311d, s922x, s905x3, s905x2, s912, s905d, s905x, s905w, s905, s905l, rk3588, rk3568, rk3399, rk3328, h6, etc.
GNU General Public License v2.0
5.8k stars 1.86k forks source link

执行armbian-config提示-bash: armbian-config: command not found #550

Closed uifor closed 2 years ago

uifor commented 2 years ago

image

ophub commented 2 years ago

哪个版本的固件? cat /etc/ophub-release

uifor commented 2 years ago

哪个版本的固件? cat /etc/ophub-release

VERSION_CODEID='ubuntu' VERSION_CODENAME='jammy' KERNEL_VERSION='5.15.57' PACKAGED_DATE='2022-07-28' FDTFILE='meson-gxl-s905d-phicomm-n1.dtb' UBOOT_OVERLOAD='u-boot-n1.bin' MAINLINE_UBOOT='' ANDROID_UBOOT='/usr/lib/u-boot/u-boot-2015-phicomm-n1.bin' MYBOX_UBOOT='/usr/lib/u-boot/mybox-bootloader.img' SOC='s905d' K510='0'

ophub commented 2 years ago

系统安装了几个月了?还是刚安装的?

uifor commented 2 years ago

系统安装了几个月了?还是刚安装的? 八月初左右安装的

ophub commented 2 years ago

重启试试,看看文件在不在

ls /usr/sbin/armbian-config

uifor commented 2 years ago

重启试试 ls: cannot access '/usr/sbin/armbian-config': No such file or directory 有重启过好几次了,本来是像用armbian-config去选择network,BTinstall,安装蓝牙组件,发现那个蓝牙不起作用的

ophub commented 2 years ago

文件怎么没了呢?

lsblk
ls -l /usr/sbin/armbian*
uifor commented 2 years ago

文件怎么没了呢?

lsblk
ls -l /usr/sbin/armbian*

本来就没有的,没有动过呀 -rwxr-xr-x 1 root root 2217 Jul 28 15:26 applygnupgdefaults -rwxr-xr-x 1 root root 4545 Jul 28 15:26 armbian-ddbr -rwxr-xr-x 1 root root 5253 Jul 28 15:26 armbian-docker -rwxr-xr-x 1 root root 3841 Jul 28 15:26 armbian-fix -rwxr-xr-x 1 root root 16949 Jul 28 15:26 armbian-install -rwxr-xr-x 1 root root 4834 Jul 28 15:26 armbian-kernel -rwxr-xr-x 1 root root 6257 Jul 28 15:26 armbian-led -rwxr-xr-x 1 root root 10650 Jul 28 15:26 armbian-software -rwxr-xr-x 1 root root 4705 Jul 28 15:26 armbian-swap -rwxr-xr-x 1 root root 4077 Jul 28 15:26 armbian-sync -rwxr-xr-x 1 root root 13604 Jul 28 15:26 armbian-update -rwxr-xr-x 1 root root 58520 Jul 28 15:26 arp -rwxr-xr-x 1 root root 18552 Jul 28 15:26 arpd 其他的指令都有,唯独armbian-config,这个文件能够通过你那边发送给我嘛

uifor commented 2 years ago

文件怎么没了呢?

lsblk
ls -l /usr/sbin/armbian*

之前看到你回到过一个类似的问题 image 我尝试者把armbian-sync替换成armbian-config,发现链接打开是404 https://raw.githubusercontent.com/ophub/amlogic-s9xxx-armbian/main/build-armbian/common-files/rootfs/usr/sbin/armbian-config

ophub commented 2 years ago

armbian-config.zip

解压,上传到/usr/sbin 给执行权限:chmod +x /usr/sbin/armbian-config

uifor commented 2 years ago

chmod +x /usr/sbin/armbian-config

image 执行后没有任何反应是怎么回事呢

ophub commented 2 years ago

ls -l /usr/lib/armbian-config

uifor commented 2 years ago

ls -l /usr/lib/armbian-config

root@armbian:~# ls -l /usr/lib/armbian-config ls: cannot access '/usr/lib/armbian-config': No such file or directory

ophub commented 2 years ago

Snip20220910_1

不知道你删除了多少文件,建议你重装吧

ophub commented 2 years ago

难道你的分区挂载错了?看看 df -hT

uifor commented 2 years ago

df -hT Filesystem Type Size Used Avail Use% Mounted on tmpfs tmpfs 181M 5.3M 176M 3% /run /dev/mmcblk2p2 ext4 6.4G 2.8G 3.3G 47% / tmpfs tmpfs 905M 0 905M 0% /dev/shm tmpfs tmpfs 5.0M 4.0K 5.0M 1% /run/lock tmpfs tmpfs 905M 16K 905M 1% /var/tmp /dev/mmcblk2p1 vfat 511M 106M 406M 21% /boot tmpfs tmpfs 181M 0 181M 0% /run/user/0

没有删除过东西,只有把python3.10换成3.9,你现在安装的是什么版本,我等会看看

ophub commented 2 years ago

挂载也没问题,但是文件你怎么丢了这么多呢,执行过什么操作呢? 我Jammy和Bullseye,Focal这几个版本都在使用

Snip20220910_2

Snip20220910_3

xcray commented 2 years ago

怀疑又是分区布局的问题