机顶盒安装脚本任务,好像不太正常,APP能发现设备,绑定提示设备已绑定,大神帮看看

版主: 论坛版主

回复
alpchen
中学生
帖子: 85
注册时间: 周二 3月 26, 2019 10:59 am

机顶盒安装脚本任务,好像不太正常,APP能发现设备,绑定提示设备已绑定,大神帮看看

帖子 alpchen » 周一 9月 16, 2019 9:42 pm

root@amlogic:~# wget https://raw.githubusercontent.com/qingh ... install.sh -O install.sh&&sudo bash install.sh
--2019-09-16 13:34:21-- https://raw.githubusercontent.com/qingh ... install.sh
Resolving raw.githubusercontent.com (raw.githubusercontent.com)... 151.101.0.133, 151.101.64.133, 151.101.128.133, ...
Connecting to raw.githubusercontent.com (raw.githubusercontent.com)|151.101.0.133|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 51042 (50K) [text/plain]
Saving to: ‘install.sh’

install.sh 100%[=======================================================================================================>] 49.85K 781 B/s in 65s

2019-09-16 13:35:33 (781 B/s) - ‘install.sh’ saved [51042/51042]

Find apt
Reading package lists... Done
Building dependency tree
Reading state information... Done
apt-transport-https is already the newest version (1.6.12).
curl is already the newest version (7.58.0-2ubuntu3.8).
wget is already the newest version (1.19.4-1ubuntu2.2).
pciutils is already the newest version (1:3.5.2-1ubuntu1.1).
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
--2019-09-16 13:35:37-- https://raw.githubusercontent.com/Bonus ... s/info.txt
Resolving raw.githubusercontent.com (raw.githubusercontent.com)... 151.101.0.133, 151.101.64.133, 151.101.128.133, ...
Connecting to raw.githubusercontent.com (raw.githubusercontent.com)|151.101.0.133|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 238 [text/plain]
Saving to: ‘tmp/info.txt’

tmp/info.txt 100%[=======================================================================================================>] 238 --.-KB/s in 0s

2019-09-16 13:35:48 (7.36 MB/s) - ‘tmp/info.txt’ saved [238/238]

removed 'tmp/info.txt'
Would you like to install teleprot for remote debugging by developers?
If not, the program has problems, you need to solve all the problems you encounter
您是否愿意安装teleport ,供开发人员远程调试.
如果否,程序出了问题,您需要自己解决所有遇到的问题,默认YES
[Default YES/N]:y
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 1225 100 1225 0 0 3009 0 --:--:-- --:--:-- --:--:-- 3009
teleport already latest
Reading package lists... Done
E: Could not get lock /var/lib/apt/lists/lock - open (11: Resource temporarily unavailable)
E: Unable to lock directory /var/lib/apt/lists/
Find apt
Reading package lists... Done
Building dependency tree
Reading state information... Done
apt-transport-https is already the newest version (1.6.12).
curl is already the newest version (7.58.0-2ubuntu3.8).
wget is already the newest version (1.19.4-1ubuntu2.2).
pciutils is already the newest version (1:3.5.2-1ubuntu1.1).
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 659 100 659 0 0 1565 0 --:--:-- --:--:-- --:--:-- 1565
OK
deb https://mirrors.aliyun.com/kubernetes/apt/ kubernetes-xenial main
Reading package lists... Done
E: Could not get lock /var/lib/apt/lists/lock - open (11: Resource temporarily unavailable)
E: Unable to lock directory /var/lib/apt/lists/
E: Unable to locate package kubelet
E: Unable to locate package kubeadm
E: Unable to locate package kubectl
E: Unable to locate package kubernetes-cni
E: No packages found
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Unable to locate package kubeadm
E: Unable to locate package kubectl
E: Unable to locate package kubelet
E: Unable to locate package kubernetes-cni
E: Unable to locate package kubelet
E: Unable to locate package kubeadm
E: Unable to locate package kubectl
E: Unable to locate package kubernetes-cni
E: No packages found
[2019-09-16 13:38:57] [error] k8s install fail!

头像
wusheng
硕士研究生
帖子: 260
注册时间: 周四 11月 01, 2018 6:13 pm

Re: 机顶盒安装脚本任务,好像不太正常,APP能发现设备,绑定提示设备已绑定,大神帮看看

帖子 wusheng » 周二 9月 17, 2019 10:53 am

重启一下再安装
或者sudo rm /var/lib/apt/lists/lock
有未记录问题联系https://t.me/wusheng

alpchen
中学生
帖子: 85
注册时间: 周二 3月 26, 2019 10:59 am

Re: 机顶盒安装脚本任务,好像不太正常,APP能发现设备,绑定提示设备已绑定,大神帮看看

帖子 alpchen » 周二 9月 17, 2019 4:27 pm

wusheng 写了:
周二 9月 17, 2019 10:53 am
重启一下再安装
或者sudo rm /var/lib/apt/lists/lock
重启,重新安装了,APP绑定,还是提示dev has been bound,日志如下:
root@amlogic:~# wget https://raw.githubusercontent.com/qingh ... install.sh -O install.sh&&sudo bash install.sh
--2019-09-17 08:03:44-- https://raw.githubusercontent.com/qingh ... install.sh
Resolving raw.githubusercontent.com (raw.githubusercontent.com)... 151.101.0.133, 151.101.64.133, 151.101.128.133, ...
Connecting to raw.githubusercontent.com (raw.githubusercontent.com)|151.101.0.133|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 51042 (50K) [text/plain]
Saving to: ‘install.sh’

install.sh 100%[=======================================================================================================>] 49.85K 38.3KB/s in 1.3s

2019-09-17 08:03:48 (38.3 KB/s) - ‘install.sh’ saved [51042/51042]

Find apt
Reading package lists... Done
Building dependency tree
Reading state information... Done
apt-transport-https is already the newest version (1.6.12).
curl is already the newest version (7.58.0-2ubuntu3.8).
wget is already the newest version (1.19.4-1ubuntu2.2).
pciutils is already the newest version (1:3.5.2-1ubuntu1.1).
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
--2019-09-17 08:03:51-- https://raw.githubusercontent.com/Bonus ... s/info.txt
Resolving raw.githubusercontent.com (raw.githubusercontent.com)... 151.101.0.133, 151.101.64.133, 151.101.128.133, ...
Connecting to raw.githubusercontent.com (raw.githubusercontent.com)|151.101.0.133|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 238 [text/plain]
Saving to: ‘tmp/info.txt’

tmp/info.txt 100%[=======================================================================================================>] 238 --.-KB/s in 0s

2019-09-17 08:03:52 (8.51 MB/s) - ‘tmp/info.txt’ saved [238/238]

removed 'tmp/info.txt'
Would you like to install teleprot for remote debugging by developers?
If not, the program has problems, you need to solve all the problems you encounter
您是否愿意安装teleport ,供开发人员远程调试.
如果否,程序出了问题,您需要自己解决所有遇到的问题,默认YES
[Default YES/N]:yes
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 1225 100 1225 0 0 2247 0 --:--:-- --:--:-- --:--:-- 2243
teleport already latest
Get:1 https://mirrors.tuna.tsinghua.edu.cn/do ... nux/ubuntu bionic InRelease [64.4 kB]
Get:2 http://ports.ubuntu.com bionic InRelease [242 kB]
Get:4 https://mirrors.tuna.tsinghua.edu.cn/do ... nux/ubuntu bionic/stable armhf Packages [8,145 B]
Get:5 https://mirrors.tuna.tsinghua.edu.cn/do ... nux/ubuntu bionic/stable arm64 Packages [8,138 B]
Get:6 https://mirrors.aliyun.com/kubernetes/apt kubernetes-xenial InRelease [8,993 B]
Ign:7 https://mirrors.aliyun.com/kubernetes/apt kubernetes-xenial/main arm64 Packages
Ign:8 https://mirrors.aliyun.com/kubernetes/apt kubernetes-xenial/main armhf Packages
Get:7 https://mirrors.aliyun.com/kubernetes/apt kubernetes-xenial/main arm64 Packages [27.6 kB]
Get:8 https://mirrors.aliyun.com/kubernetes/apt kubernetes-xenial/main armhf Packages [27.6 kB]
Get:3 https://apt.armbian.com bionic InRelease [18.3 kB]
Get:9 https://apt.armbian.com bionic/main arm64 Packages [109 kB]
Get:10 http://ports.ubuntu.com bionic-security InRelease [88.7 kB]
Get:11 https://apt.armbian.com bionic/main armhf Packages [139 kB]
Get:12 http://ports.ubuntu.com bionic-updates InRelease [88.7 kB]
Get:13 http://ports.ubuntu.com bionic-backports InRelease [74.6 kB]
Get:14 https://apt.armbian.com bionic/bionic-utils arm64 Packages [5,128 B]
Get:15 https://apt.armbian.com bionic/bionic-utils armhf Packages [5,127 B]
Get:16 https://apt.armbian.com bionic/bionic-desktop arm64 Packages [382 B]
Get:17 https://apt.armbian.com bionic/bionic-desktop armhf Packages [1,676 B]
Get:18 http://ports.ubuntu.com bionic/main armhf Packages [1,277 kB]
Get:19 http://ports.ubuntu.com bionic/main arm64 Packages [1,285 kB]
Get:20 http://ports.ubuntu.com bionic/restricted arm64 Packages [572 B]
Get:21 http://ports.ubuntu.com bionic/restricted armhf Packages [12.5 kB]
Get:22 http://ports.ubuntu.com bionic/universe arm64 Packages [11.0 MB]
Get:23 http://ports.ubuntu.com bionic/universe armhf Packages [11.0 MB]
Get:24 http://ports.ubuntu.com bionic/multiverse arm64 Packages [153 kB]
Get:25 http://ports.ubuntu.com bionic/multiverse armhf Packages [157 kB]
Get:26 http://ports.ubuntu.com bionic-security/main armhf Packages [417 kB]
Get:27 http://ports.ubuntu.com bionic-security/main arm64 Packages [450 kB]
Get:28 http://ports.ubuntu.com bionic-security/restricted arm64 Packages [581 B]
Get:29 http://ports.ubuntu.com bionic-security/restricted armhf Packages [5,013 B]
Get:30 http://ports.ubuntu.com bionic-security/universe armhf Packages [621 kB]
Get:31 http://ports.ubuntu.com bionic-security/universe arm64 Packages [688 kB]
Get:32 http://ports.ubuntu.com bionic-security/multiverse armhf Packages [1,910 B]
Get:33 http://ports.ubuntu.com bionic-security/multiverse arm64 Packages [1,671 B]
Get:34 http://ports.ubuntu.com bionic-updates/main arm64 Packages [726 kB]
Get:35 http://ports.ubuntu.com bionic-updates/main armhf Packages [691 kB]
Get:36 http://ports.ubuntu.com bionic-updates/restricted armhf Packages [10.4 kB]
Get:37 http://ports.ubuntu.com bionic-updates/restricted arm64 Packages [906 B]
Get:38 http://ports.ubuntu.com bionic-updates/universe arm64 Packages [1,153 kB]
Get:39 http://ports.ubuntu.com bionic-updates/universe armhf Packages [1,081 kB]
Get:40 http://ports.ubuntu.com bionic-updates/multiverse armhf Packages [3,810 B]
Get:41 http://ports.ubuntu.com bionic-updates/multiverse arm64 Packages [2,685 B]
Get:42 http://ports.ubuntu.com bionic-backports/main arm64 Packages [2,491 B]
Get:43 http://ports.ubuntu.com bionic-backports/main armhf Packages [2,490 B]
Get:44 http://ports.ubuntu.com bionic-backports/universe armhf Packages [4,224 B]
Get:45 http://ports.ubuntu.com bionic-backports/universe arm64 Packages [4,216 B]
Fetched 31.6 MB in 15min 49s (33.3 kB/s)
Reading package lists... Done
Building dependency tree
Reading state information... Done
213 packages can be upgraded. Run 'apt list --upgradable' to see them.
Reading package lists... Done
Building dependency tree
Reading state information... Done
sysstat is already the newest version (11.6.1-1).
0 upgraded, 0 newly installed, 0 to remove and 213 not upgraded.
arm-3.1: Pulling from bxc_k8s_gcr_io/pause
Digest: sha256:2aac966ece8906a535395f92bb25f0e8e21dac737df75b381e8f9bdd3ed56528
Status: Image is up to date for registry.cn-beijing.aliyuncs.com/bxc_k8s_gcr_io/pause:arm-3.1
v1.12.3: Pulling from bxc_k8s_gcr_io/kube-proxy-arm64
Digest: sha256:c7ff6ac5971e39489b83bff7abc0b75f36b8ea601a68134e9516d32754d68344
Status: Image is up to date for registry.cn-beijing.aliyuncs.com/bxc_k8s_gcr_io/kube-proxy-arm64:v1.12.3
modprobe: FATAL: Module br_netfilter not found in directory /lib/modules/3.14.29
vm.swappiness = 0
net.ipv6.conf.default.forwarding = 1
net.bridge.bridge-nf-call-iptables = 1
net.bridge.bridge-nf-call-ip6tables = 1
net.ipv4.tcp_congestion_control = bbr
net.ipv4.ip_forward = 1
--2019-09-17 08:20:30-- https://raw.githubusercontent.com/Bonus ... t.conflist
Resolving raw.githubusercontent.com (raw.githubusercontent.com)... 151.101.0.133, 151.101.64.133, 151.101.128.133, ...
Connecting to raw.githubusercontent.com (raw.githubusercontent.com)|151.101.0.133|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 427 [text/plain]
Saving to: ‘/opt/bcloud/compute/10-mynet.conflist’

/opt/bcloud/compute/10-mynet.conflist 100%[=======================================================================================================>] 427 --.-KB/s in 0s

2019-09-17 08:20:32 (12.5 MB/s) - ‘/opt/bcloud/compute/10-mynet.conflist’ saved [427/427]

--2019-09-17 08:20:32-- https://raw.githubusercontent.com/Bonus ... pback.conf
Resolving raw.githubusercontent.com (raw.githubusercontent.com)... 151.101.0.133, 151.101.64.133, 151.101.128.133, ...
Connecting to raw.githubusercontent.com (raw.githubusercontent.com)|151.101.0.133|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 54 [text/plain]
Saving to: ‘/opt/bcloud/compute/99-loopback.conf’

/opt/bcloud/compute/99-loopback.conf 100%[=======================================================================================================>] 54 --.-KB/s in 0s

2019-09-17 08:20:33 (1.82 MB/s) - ‘/opt/bcloud/compute/99-loopback.conf’ saved [54/54]

头像
二 猫
论坛管理员
帖子: 1706
注册时间: 周四 11月 01, 2018 6:34 pm

Re: 机顶盒安装脚本任务,好像不太正常,APP能发现设备,绑定提示设备已绑定,大神帮看看

帖子 二 猫 » 周四 9月 19, 2019 2:47 pm

提示dev has been bound 是说明你这个mac已经被绑定过了,跟别人的mac冲突,改一下mac就可以了
BonusCloud.io

回复