Я недавно настроил cubieboard с установленной Ubuntu 12.04 Linaro.
Все, кажется, хорошо, когда я пытаюсь выполнить эти команды:
linaro@cubieboard:~$ sudo add-apt-repository ppa:unit3/bfgminer
sudo: unable to resolve host cubieboard
You are about to add the following PPA to your system:
A CPU+GPU+FPGA miner for bitcoins (and other compatible coins), by Luke Dashjr and others:
https://github.com/luke-jr/bfgminer
More info: https://launchpad.net/~unit3/+archive/bfgminer
Press [ENTER] to continue or ctrl-c to cancel adding it
gpg: keyring `/tmp/tmpko9l37/secring.gpg' created
gpg: keyring `/tmp/tmpko9l37/pubring.gpg' created
gpg: requesting key 0AE7FCDA from hkp server keyserver.ubuntu.com
gpg: /tmp/tmpko9l37/trustdb.gpg: trustdb created
gpg: key 0AE7FCDA: public key "Launchpad PPA for Graeme" imported
gpg: Total number processed: 1
gpg: imported: 1 (RSA: 1)
OK
Затем:
linaro@cubieboard:~$ sudo apt-get update
sudo: unable to resolve host cubieboard
Ign http://ppa.launchpad.net quantal InRelease
Ign http://ports.ubuntu.com quantal InRelease
Ign http://ppa.launchpad.net quantal InRelease
Hit http://ports.ubuntu.com quantal Release.gpg
Ign http://ppa.launchpad.net precise InRelease
Hit http://ports.ubuntu.com quantal Release
Hit http://ppa.launchpad.net quantal Release.gpg
Hit http://ppa.launchpad.net quantal Release.gpg
Get:1 http://ppa.launchpad.net precise Release.gpg [316 B]
Hit http://ppa.launchpad.net quantal Release
Hit http://ports.ubuntu.com quantal/main Sources
Hit http://ppa.launchpad.net quantal Release
Hit http://ports.ubuntu.com quantal/universe Sources
Get:2 http://ppa.launchpad.net precise Release [11.9 kB]
Hit http://ports.ubuntu.com quantal/main armhf Packages
Hit http://ports.ubuntu.com quantal/universe armhf Packages
Hit http://ppa.launchpad.net quantal/main Sources
Hit http://ports.ubuntu.com quantal/main Translation-en
Hit http://ppa.launchpad.net quantal/main armhf Packages
Hit http://ports.ubuntu.com quantal/universe Translation-en
Hit http://ppa.launchpad.net quantal/main Sources
Hit http://ppa.launchpad.net quantal/main armhf Packages
Get:3 http://ppa.launchpad.net precise/main Sources [653 B]
Get:4 http://ppa.launchpad.net precise/main armhf Packages [14 B]
Ign http://ppa.launchpad.net quantal/main Translation-en
Ign http://ppa.launchpad.net quantal/main Translation-en
Ign http://ppa.launchpad.net precise/main Translation-en
Fetched 12.8 kB in 3s (4033 B/s)
Reading package lists... Done
И:
linaro@cubieboard:~$ sudo apt-get upgrade
sudo: unable to resolve host cubieboard
Reading package lists... Done
Building dependency tree
Reading state information... Done
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
После этого я получаю ошибку при попытке установить bfgminer:
linaro@cubieboard:~$ sudo apt-get install bfgminer
sudo: unable to resolve host cubieboard
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Unable to locate package bfgminer
Я добавил bfgminer репозитории прежде к/etc/apt/sources.list файлу:
deb http://ports.ubuntu.com/ubuntu-ports/ quantal main universe
deb-src http://ports.ubuntu.com/ubuntu-ports/ quantal main universe
deb http://ppa.launchpad.net/unit3/bfgminer/ubuntu quantal main
deb-src http://ppa.launchpad.net/unit3/bfgminer/ubuntu quantal main
Не знайте, почему это происходит! Ожидание справки.
Кажется, с bfgminer есть некоторые проблемы с зависимостями. Для принудительной установки попробуйте следующее:
Загрузите bfgminer из launchpad
Откройте терминал и введите sudo dpkg --force-all -i bfgminer_3.2.1-0precise1_i386.deb
И sudo apt-get install libjansson4
Источник: Ошибка github на bfgminer . Обновлен пакет для Ubuntu 12.04