pkg_add not working propely on OpenBSD
Multi tool use
up vote
0
down vote
favorite
Would like to have emacs installed on my server running OpenBSD instead of just vi, reason because I am used to emacs.
I am compleatly new to OpenBSD so I started reading the documentation, after tried pkg_add emacs
, this is the result
https://cdn.openbsd.org/pub/OpenBSD/6.4/packages-stable/amd64/: ftp: cdn.openbsd.org: no address associated with name
https://cdn.openbsd.org/pub/OpenBSD/6.4/packages/amd64/: ftp: cdn.openbsd.org: no address associated with name
https://cdn.openbsd.org/pub/OpenBSD/6.4/packages/amd64/: empty
Can't find emacs
So I go back to documentation, I read that
There is also an ambiguity related to ports with multiple branches.
For instance `pkg_add python' is ambiguous, as there are several versions of
python in the ports tree. So is `pkg_add postfix'. The special form
`pkgname%branch' can be used to restrict matches to a branch matching the
pkgpath(7).
The above ambiguities can be resolved using `pkg_add postfix%stable' and
`pkg_add python%3.4', respectively.
So I try installing python3.4 using (as the documentation) pkg_add python%3.4
, but get the same error as before when trying with emacs.
Now I am certain that there is something wrong in the config of pkg_add
, but what? I have tried running pkg_check
, but it just say everything is ok.
openbsd
add a comment |
up vote
0
down vote
favorite
Would like to have emacs installed on my server running OpenBSD instead of just vi, reason because I am used to emacs.
I am compleatly new to OpenBSD so I started reading the documentation, after tried pkg_add emacs
, this is the result
https://cdn.openbsd.org/pub/OpenBSD/6.4/packages-stable/amd64/: ftp: cdn.openbsd.org: no address associated with name
https://cdn.openbsd.org/pub/OpenBSD/6.4/packages/amd64/: ftp: cdn.openbsd.org: no address associated with name
https://cdn.openbsd.org/pub/OpenBSD/6.4/packages/amd64/: empty
Can't find emacs
So I go back to documentation, I read that
There is also an ambiguity related to ports with multiple branches.
For instance `pkg_add python' is ambiguous, as there are several versions of
python in the ports tree. So is `pkg_add postfix'. The special form
`pkgname%branch' can be used to restrict matches to a branch matching the
pkgpath(7).
The above ambiguities can be resolved using `pkg_add postfix%stable' and
`pkg_add python%3.4', respectively.
So I try installing python3.4 using (as the documentation) pkg_add python%3.4
, but get the same error as before when trying with emacs.
Now I am certain that there is something wrong in the config of pkg_add
, but what? I have tried running pkg_check
, but it just say everything is ok.
openbsd
add a comment |
up vote
0
down vote
favorite
up vote
0
down vote
favorite
Would like to have emacs installed on my server running OpenBSD instead of just vi, reason because I am used to emacs.
I am compleatly new to OpenBSD so I started reading the documentation, after tried pkg_add emacs
, this is the result
https://cdn.openbsd.org/pub/OpenBSD/6.4/packages-stable/amd64/: ftp: cdn.openbsd.org: no address associated with name
https://cdn.openbsd.org/pub/OpenBSD/6.4/packages/amd64/: ftp: cdn.openbsd.org: no address associated with name
https://cdn.openbsd.org/pub/OpenBSD/6.4/packages/amd64/: empty
Can't find emacs
So I go back to documentation, I read that
There is also an ambiguity related to ports with multiple branches.
For instance `pkg_add python' is ambiguous, as there are several versions of
python in the ports tree. So is `pkg_add postfix'. The special form
`pkgname%branch' can be used to restrict matches to a branch matching the
pkgpath(7).
The above ambiguities can be resolved using `pkg_add postfix%stable' and
`pkg_add python%3.4', respectively.
So I try installing python3.4 using (as the documentation) pkg_add python%3.4
, but get the same error as before when trying with emacs.
Now I am certain that there is something wrong in the config of pkg_add
, but what? I have tried running pkg_check
, but it just say everything is ok.
openbsd
Would like to have emacs installed on my server running OpenBSD instead of just vi, reason because I am used to emacs.
I am compleatly new to OpenBSD so I started reading the documentation, after tried pkg_add emacs
, this is the result
https://cdn.openbsd.org/pub/OpenBSD/6.4/packages-stable/amd64/: ftp: cdn.openbsd.org: no address associated with name
https://cdn.openbsd.org/pub/OpenBSD/6.4/packages/amd64/: ftp: cdn.openbsd.org: no address associated with name
https://cdn.openbsd.org/pub/OpenBSD/6.4/packages/amd64/: empty
Can't find emacs
So I go back to documentation, I read that
There is also an ambiguity related to ports with multiple branches.
For instance `pkg_add python' is ambiguous, as there are several versions of
python in the ports tree. So is `pkg_add postfix'. The special form
`pkgname%branch' can be used to restrict matches to a branch matching the
pkgpath(7).
The above ambiguities can be resolved using `pkg_add postfix%stable' and
`pkg_add python%3.4', respectively.
So I try installing python3.4 using (as the documentation) pkg_add python%3.4
, but get the same error as before when trying with emacs.
Now I am certain that there is something wrong in the config of pkg_add
, but what? I have tried running pkg_check
, but it just say everything is ok.
openbsd
openbsd
asked Nov 25 at 13:27
Salviati
1012
1012
add a comment |
add a comment |
1 Answer
1
active
oldest
votes
up vote
0
down vote
Is your network properly configured? pkg_add
can't seem to resolve cdn.openbsd.org
(hence no address associated with name
), which likely means you either have no DNS server configured (it should be in /etc/resolv.conf
, which usually is written by dhclient
if you use DHCP to configure a network interface) or you have it configured but can't reach it because your network connection is down. Check if your network is up and properly configured and check if you have a nameserver in /etc/resolv.conf
.
add a comment |
1 Answer
1
active
oldest
votes
1 Answer
1
active
oldest
votes
active
oldest
votes
active
oldest
votes
up vote
0
down vote
Is your network properly configured? pkg_add
can't seem to resolve cdn.openbsd.org
(hence no address associated with name
), which likely means you either have no DNS server configured (it should be in /etc/resolv.conf
, which usually is written by dhclient
if you use DHCP to configure a network interface) or you have it configured but can't reach it because your network connection is down. Check if your network is up and properly configured and check if you have a nameserver in /etc/resolv.conf
.
add a comment |
up vote
0
down vote
Is your network properly configured? pkg_add
can't seem to resolve cdn.openbsd.org
(hence no address associated with name
), which likely means you either have no DNS server configured (it should be in /etc/resolv.conf
, which usually is written by dhclient
if you use DHCP to configure a network interface) or you have it configured but can't reach it because your network connection is down. Check if your network is up and properly configured and check if you have a nameserver in /etc/resolv.conf
.
add a comment |
up vote
0
down vote
up vote
0
down vote
Is your network properly configured? pkg_add
can't seem to resolve cdn.openbsd.org
(hence no address associated with name
), which likely means you either have no DNS server configured (it should be in /etc/resolv.conf
, which usually is written by dhclient
if you use DHCP to configure a network interface) or you have it configured but can't reach it because your network connection is down. Check if your network is up and properly configured and check if you have a nameserver in /etc/resolv.conf
.
Is your network properly configured? pkg_add
can't seem to resolve cdn.openbsd.org
(hence no address associated with name
), which likely means you either have no DNS server configured (it should be in /etc/resolv.conf
, which usually is written by dhclient
if you use DHCP to configure a network interface) or you have it configured but can't reach it because your network connection is down. Check if your network is up and properly configured and check if you have a nameserver in /etc/resolv.conf
.
answered 2 days ago
Zé Loff
1012
1012
add a comment |
add a comment |
Thanks for contributing an answer to Super User!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Some of your past answers have not been well-received, and you're in danger of being blocked from answering.
Please pay close attention to the following guidance:
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fsuperuser.com%2fquestions%2f1378218%2fpkg-add-not-working-propely-on-openbsd%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
xITs,B0WS,Qn QrFFX6fg0Zi7bAd iQjDippUB87eA,zAGNCGs 4WM ZFhq9P6NLHtWqnLwXF j60oaoOJbrKiBj1lHEvje6mL