Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Nest install - add-apt-repository fails #1349

Closed
mgiugliano opened this issue Nov 26, 2019 · 2 comments · Fixed by #1410
Closed

Nest install - add-apt-repository fails #1349

mgiugliano opened this issue Nov 26, 2019 · 2 comments · Fixed by #1410
Assignees
Labels
I: No breaking change Previously written code will work as before, no one should note anything changing (aside the fix) S: Normal Handle this with default priority T: Maintenance Work to keep up the quality of the code and documentation. ZC: Documentation DO NOT USE THIS LABEL ZP: Pending DO NOT USE THIS LABEL

Comments

@mgiugliano
Copy link

On Debian, the command indicated in the documentation:

sudo add-apt-repository ppa:nest-simulator/nest

fails, returning the error:

gpg: keybox '/tmp/tmp2gyoggo5/pubring.gpg' created
gpg: failed to start the dirmngr '/usr/bin/dirmngr': No such file or directory
gpg: connecting dirmngr at '/tmp/tmp2gyoggo5/S.dirmngr' failed: No such file or directory
gpg: keyserver receive failed: No dirmngr

Moreover, the command add-apt-repository was not immediately available but it had to be first added by

sudo apt-get install software-properties-common

@steffengraber
Copy link
Contributor

Hi @mgiugliano

The Ubuntu ppa packages are initially intended for Ubuntu. We are working on packages to be used for Debian and Ubuntu.
Nevertheless the packages can be used under Debian with a little more effort.

sudo apt install devscripts build-essential software-properties-common dpkg-dev
sudo add-apt-repository --enable-source ppa:nest-simulator/nest

This will create a new apt repository entry in /etc/apt/sources.list.d/pogo-dev-ubuntu-stable-disco.list.
Disable the binary package repository in the file (comment it out).
Next, you need to import the PPA GPG key and rebuild the packacge

sudo apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv-keys CF7539642ABD23CBCA8D487F0B8B6C5EC02D7DD
sudo apt update
sudo apt source --build nest

If there are dependencies missing, apt will tell you. Please install them.
After the rebuild, there is an debian ready package. Install it with

sudo dpkg --install nest_2.18.0-0~201911260924~ubuntu20.04.1_amd64.deb
Test it:


python3
>>>import nest

Of course you have to adapt names and paths to your system.

@jessica-mitchell please note this for the documentation

@steffengraber
Copy link
Contributor

@sarakonradi please note this for the documentation

@jougs jougs assigned jougs and sarakonradi and unassigned jougs Jan 27, 2020
@jougs jougs added ZC: Documentation DO NOT USE THIS LABEL I: No breaking change Previously written code will work as before, no one should note anything changing (aside the fix) ZP: Pending DO NOT USE THIS LABEL S: Normal Handle this with default priority T: Maintenance Work to keep up the quality of the code and documentation. labels Jan 27, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
I: No breaking change Previously written code will work as before, no one should note anything changing (aside the fix) S: Normal Handle this with default priority T: Maintenance Work to keep up the quality of the code and documentation. ZC: Documentation DO NOT USE THIS LABEL ZP: Pending DO NOT USE THIS LABEL
Projects
Status: Done
Development

Successfully merging a pull request may close this issue.

4 participants