Установите Zerotier на Ubuntu с armhf аппаратными средствами

У меня есть проблема при попытке установить zerotier один на Ubuntu, которые работают на armhf плате (Оранжевое Пи) использование инструкции от этого сайта:

curl -s https://install.zerotier.com/ | bash

Но это дает мне много ошибок и наконец отказавший следующим образом:

N: Skipping acquire of configured file 'main/binary-armhf/Packages' as repository 'http://download.zerotier.com/debian/xenial xenial InRelease' doesn't support architecture 'armhf'
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Unable to locate package zerotier-one

*** Package installation failed! Unfortunately there may not be a package
*** for your architecture or distribution. For the source go to:
*** github.com/zerotier/ZeroTierOne

Я знаю, что другие люди делают это, и это работает с ними, но я являюсь новым в ubnutu.


Я пытаюсь использовать репозиторий для Debian Jessie в Ubuntu, Гостеприимной на armf: Поскольку первое решение и я получаем ошибку следующим образом:

orangepi@OrangePI:~$ sudo sh -c 'echo "deb http://download.zerotier.com/debian/jessie jessie main #ZeroTier" > /etc/apt/sources.list.d/zerotier.list'[sudo] password for orangepi: 
orangepi@OrangePI:~$ sudo sh -c 'echo "deb http://download.zerotier.com/debian/jessie jessie main #ZeroTier" > /etc/apt/sources.list.d/zerotier.list'
orangepi@OrangePI:~$ wget -O - 'https://raw.githubusercontent.com/zerotier/ZeroTierOne/master/doc/contact%40zerotier.com.gpg' | sudo apt-key add -
--2017-02-09 15:05:40--  https://raw.githubusercontent.com/zerotier/ZeroTierOne/master/doc/contact%40zerotier.com.gpg
Resolving raw.githubusercontent.com (raw.githubusercontent.com)... 151.101.140.133
Connecting to raw.githubusercontent.com (raw.githubusercontent.com)|151.101.140.133|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 3175 (3.1K) [text/plain]
Saving to: ‘STDOUT’

- 100%[============================================================================>]   3.10K  --.-KB/s    in 0s      

2017-02-09 15:05:41 (7.19 MB/s) - written to stdout [3175/3175]

OK
orangepi@OrangePI:~$ sudo apt update
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/
orangepi@OrangePI:~$ sudo apt install zerotier-one
Reading package lists... Done
Building dependency tree       
Reading state information... Done
E: Unable to locate package zerotier-one
orangepi@OrangePI:~$ 

So I try to build the software from source: 
And I get an error also as follows:

  orangepi@OrangePI:~$ sudo apt install git build-essential checkinstall libnatpmp-dev libminiupnpc-dev
[sudo] password for orangepi: 
Reading package lists... Done
Building dependency tree       
Reading state information... Done
build-essential is already the newest version (12.1ubuntu2).
git is already the newest version (1:2.7.4-0ubuntu1).
The following packages were automatically installed and are no longer required:
  chromium-codecs-ffmpeg-extra console-data libspeechd2
Use 'sudo apt autoremove' to remove them.
Suggested packages:
  minissdpd natpmp-utils
The following NEW packages will be installed:
  checkinstall libminiupnpc-dev libminiupnpc10 libnatpmp-dev libnatpmp1
0 upgraded, 5 newly installed, 0 to remove and 120 not upgraded.
Need to get 183 kB of archives.
After this operation, 720 kB of additional disk space will be used.
Err:1 ht..://ports.ubuntu.com/ubuntu-ports xenial/universe armhf checkinstall armhf 1.6.2-4ubuntu1
  Connection failed [IP: 91.189.88.150 80]
Err:2 ht..://ports.ubuntu.com/ubuntu-ports xenial/main armhf libminiupnpc10 armhf 1.9.20140610-2ubuntu2
  Connection failed [IP: 91.189.88.150 80]
Err:3 ht..://ports.ubuntu.com/ubuntu-ports xenial/main armhf libminiupnpc-dev armhf 1.9.20140610-2ubuntu2
  Connection failed [IP: 91.189.88.150 80]
Err:4 ht..://ports.ubuntu.com/ubuntu-ports xenial/main armhf libnatpmp1 armhf 20110808-4
  Connection failed [IP: 91.189.88.150 80]
Err:5 ht..://ports.ubuntu.com/ubuntu-ports xenial/main armhf libnatpmp-dev armhf 20110808-4
  Connection failed [IP: 91.189.88.150 80]
E: Failed to fetch http://ports.ubuntu.com/ubuntu-ports/pool/universe/c/checkinstall/checkinstall_1.6.2-4ubuntu1_armhf.deb  Connection failed [IP: 91.189.88.150 80]

E: Failed to fetch http://ports.ubuntu.com/ubuntu-ports/pool/main/m/miniupnpc/libminiupnpc10_1.9.20140610-2ubuntu2_armhf.deb  Connection failed [IP: 91.189.88.150 80]

E: Failed to fetch http://ports.ubuntu.com/ubuntu-ports/pool/main/m/miniupnpc/libminiupnpc-dev_1.9.20140610-2ubuntu2_armhf.deb  Connection failed [IP: 91.189.88.150 80]

E: Failed to fetch http://ports.ubuntu.com/ubuntu-ports/pool/main/libn/libnatpmp/libnatpmp1_20110808-4_armhf.deb  Connection failed [IP: 91.189.88.150 80]

E: Failed to fetch http://ports.ubuntu.com/ubuntu-ports/pool/main/libn/libnatpmp/libnatpmp-dev_20110808-4_armhf.deb  Connection failed [IP: 91.189.88.150 80]

E: Unable to fetch some archives, maybe run apt-get update or try with --fix-missing?
orangepi@OrangePI:~$ 

На самом деле я плохо знаком с Ubuntu очень жаль, как я действительно знаю о сообщениях об ошибках и большое спасибо David Foerster, поскольку он пытается помочь мне.

2
задан 11 February 2017 в 20:29

3 ответа

То есть вы не прочитали сообщение об ошибке? Если бы вы это сделали, вы бы знали, в чем проблема.

N: Skipping acquire of configured file 'main/binary-armhf/Packages' as repository 'http://download.zerotier.com/debian/xenial xenial InRelease' doesn't support architecture 'armhf' 

Это сообщение говорит вам, что этот репозиторий не поддерживает вашу аппаратную архитектуру 'armhf'. Вам нужно будет найти другой способ установки программного обеспечения. Возможно, спросите на более нулевом форуме, есть ли решение.

1
ответ дан 2 December 2019 в 04:50

Согласно официальные инструкции по установке ZeroTier Каждый доступен для “Intel 32/64-bit (и ARM на Debian/Raspbian) ”. Я ввел по абсолютному адресу вокруг немного, и похоже, что Вы можете, используют репозиторий для Debian Jessie в Ubuntu, Гостеприимной на armf:

sudo sh -c 'echo "deb http://download.zerotier.com/debian/jessie jessie main #ZeroTier" > /etc/apt/sources.list.d/zerotier.list'
wget -O - 'https://raw.githubusercontent.com/zerotier/ZeroTierOne/master/doc/contact%40zerotier.com.gpg' | sudo apt-key add -
sudo apt update
sudo apt install zerotier-one
<час>

, Кроме того, можно попробовать к , создают программное обеспечение из источника :

sudo apt install git build-essential checkinstall libnatpmp-dev libminiupnpc-dev
git clone git@github.com:zerotier/ZeroTierOne.git
cd ZeroTierOne
make
sudo checkinstall
0
ответ дан 2 December 2019 в 04:50

По-видимому, я не должен объяснять предысторию того, почему, но я отправлял пакеты на Launchpad для проекта, который включает ZeroTier в качестве зависимости: https:/ /launchpad.net/~nerdboy/+archive/ubuntu/embedded/+packages

Пакеты .deb предназначены для xenial и bionic и поддерживают armhf (а также arm64, x86_64 и x86). Вы также можете использовать пакеты с исходным кодом и выполнить отладку, если они вам нужны для других выпусков (или debian).

0
ответ дан 11 May 2020 в 19:39

Другие вопросы по тегам:

Похожие вопросы: