Я недавно установил cubieboard с установленной Linaro Ubuntu 12.04.
Кажется, все в порядке, когда я пытаюсь запустить эти команды:
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
Не знаю, почему это происходит! Жду вашей помощи.
Вы не должны смешивать количественные и точные репозитории. Просто не надо.
—
Брайам