机顶盒安装脚本任务,好像不太正常,APP能发现设备,绑定提示设备已绑定,大神帮看看
发表于 : 16 9月 2019, 21:42
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!
--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!