version=pmwiki-2.2.130 ordered=1 urlencoded=1 agent=w3m/0.5.3+git20210102 author=jrmu charset=UTF-8 csum= ctime=1597745287 host=38.87.162.8 name=Openbsd.Pkg rev=6 targets=Dns.Overview,Unbound.Configure text=(:title Openbsd Packages:)%0a%0aIf you are unfamiliar with [[https://www.openbsd.org/faq/faq15.html|OpenBSD's package system]], please read the FAQ first.%0a%0aTo install a package (like nvi):%0a%0a[@%0a$ doas pkg_add nvi%0a@]%0a%0aTo delete a package:%0a%0a[@%0a$ doas pkg_delete nvi%0a@]%0a%0aTo delete unused dependencies:%0a%0a[@%0a$ doas pkg_delete -a%0a@]%0a%0aTo find a package from repositories:%0a%0a[@%0a$ doas pkg_info -Q nvi%0a@]%0a%0aTo learn more about a package:%0a%0a[@%0a$ doas pkg_info nvi%0a@]%0a%0a!! Troubleshooting%0a%0a!!! /etc/installurl%0a%0aOn occasion, you may encounter errors:%0a%0a[@%0a$ doas pkg_add package%0ahttps://cdn.openbsd.org/pub/OpenBSD/7.1/packages-stable/amd64/: ftp: cdn.openbsd.org: no address associated with name%0ahttps://cdn.openbsd.org/pub/OpenBSD/7.1/packages/amd64/: ftp: cdn.openbsd.org: no address associated with name%0ahttps://cdn.openbsd.org/pub/OpenBSD/7.1/packages/amd64/: empty%0aCan't find package%0a@]%0a%0aIn the above, your system can't [[dns/overview|resolve the name]] @@cdn.openbsd.org@@. This could be due to your [[https://man.openbsd.org/resolv.conf|local nameservers]], or it could be due to a mirror having issues.%0a%0aTo change the mirror, edit @@/etc/installurl@@ to use a different mirror from the list of [[https://openbsd.org/ftp.html|OpenBSD mirrors]].%0a%0aIf the issue is your local nameservers, you may want to configure [[unbound/configure|unbound]].%0a time=1654993926 title=Openbsd Packages author:1654993926=jrmu diff:1654993926:1654762129:=23,24c23,24%0a%3c To find a package from repositories:%0a%3c %0a---%0a> To find a package from repositories%0a> %0a29,34d28%0a%3c To learn more about a package:%0a%3c %0a%3c [@%0a%3c $ doas pkg_info nvi%0a%3c @]%0a%3c %0a43,45c37,39%0a%3c https://cdn.openbsd.org/pub/OpenBSD/7.1/packages-stable/amd64/: ftp: cdn.openbsd.org: no address associated with name%0a%3c https://cdn.openbsd.org/pub/OpenBSD/7.1/packages/amd64/: ftp: cdn.openbsd.org: no address associated with name%0a%3c https://cdn.openbsd.org/pub/OpenBSD/7.1/packages/amd64/: empty%0a---%0a> https://example.com/pub/OpenBSD/7.1/packages-stable/amd64/: ftp: example.com: no address associated with name%0a> https://example.com/pub/OpenBSD/7.1/packages/amd64/: ftp: example.com: no address associated with name%0a> https://example.com/pub/OpenBSD/7.1/packages/amd64/: empty%0a49,50c43,44%0a%3c In the above, your system can't [[dns/overview|resolve the name]] @@cdn.openbsd.org@@. This could be due to your [[https://man.openbsd.org/resolv.conf|local nameservers]], or it could be due to a mirror having issues.%0a%3c %0a---%0a> In the above, your system can't [[dns/overview|resolve the name]] example.com. This could be due to your local nameservers, or it could be due to a mirror having issues.%0a> %0a52,53d45%0a%3c %0a%3c If the issue is your local nameservers, you may want to configure [[unbound/configure|unbound]].%0a host:1654993926=38.87.162.8 author:1654762129=jrmu diff:1654762129:1621147284:=28,45d27%0a%3c %0a%3c !! Troubleshooting%0a%3c %0a%3c !!! /etc/installurl%0a%3c %0a%3c On occasion, you may encounter errors:%0a%3c %0a%3c [@%0a%3c $ doas pkg_add package%0a%3c https://example.com/pub/OpenBSD/7.1/packages-stable/amd64/: ftp: example.com: no address associated with name%0a%3c https://example.com/pub/OpenBSD/7.1/packages/amd64/: ftp: example.com: no address associated with name%0a%3c https://example.com/pub/OpenBSD/7.1/packages/amd64/: empty%0a%3c Can't find package%0a%3c @]%0a%3c %0a%3c In the above, your system can't [[dns/overview|resolve the name]] example.com. This could be due to your local nameservers, or it could be due to a mirror having issues.%0a%3c %0a%3c To change the mirror, edit @@/etc/installurl@@ to use a different mirror from the list of [[https://openbsd.org/ftp.html|OpenBSD mirrors]].%0a host:1654762129=38.87.162.8 author:1621147284=mkf diff:1621147284:1621146749:minor=24d23%0a%3c %0a host:1621147284=91.185.156.66 author:1621146749=mkf csum:1621146749=pkg_info -Q diff:1621146749:1612940369:=21,26c21%0a%3c @]%0a%3c %0a%3c To find a package from repositories%0a%3c [@%0a%3c $ doas pkg_info -Q nvi%0a%3c @]%0a---%0a> @]%0a\ No newline at end of file%0a host:1621146749=91.185.156.66 author:1612940369=jrmu diff:1612940369:1597745287:=1,4d0%0a%3c (:title Openbsd Packages:)%0a%3c %0a%3c If you are unfamiliar with [[https://www.openbsd.org/faq/faq15.html|OpenBSD's package system]], please read the FAQ first.%0a%3c %0a host:1612940369=198.251.81.119 author:1597745287=jrmu diff:1597745287:1597745287:=1,17d0%0a%3c To install a package (like nvi):%0a%3c %0a%3c [@%0a%3c $ doas pkg_add nvi%0a%3c @]%0a%3c %0a%3c To delete a package:%0a%3c %0a%3c [@%0a%3c $ doas pkg_delete nvi%0a%3c @]%0a%3c %0a%3c To delete unused dependencies:%0a%3c %0a%3c [@%0a%3c $ doas pkg_delete -a%0a%3c @]%0a\ No newline at end of file%0a host:1597745287=38.81.163.143