DaemonForums  

Go Back   DaemonForums > OpenBSD > OpenBSD Packages and Ports

OpenBSD Packages and Ports Installation and upgrading of packages and ports on OpenBSD.

Reply
 
Thread Tools Display Modes
  #1   (View Single Post)  
Old 1st April 2020
stanl stanl is offline
Real Name: Stan
Package Pilot
 
Join Date: Jun 2019
Location: New York
Posts: 163
Default Unable to install packages on new installation

I've installed 6.6 release on another Thinkpad x220. The install went with no problem but when I try to use pkg_add I get the following:

pkg_add -vvv htop

https://cdn.openbsd.org/pub/OpenBSD/...stable/amd64/: ftp:connect: Invalid argument

https://cdn.openbsd.org/pub/OpenBSD/...ckages/amd64/: ftp:connect: Invalid argument

https://cdn.openbsd.org/pub/OpenBSD/...ckages/amd64/: empty

Can't find htop

Can't load quirk: Can't locate OpenBSD/quirks.pm in @INC (you may need to install the OpenBSD:: Quirks module) (@INC contains: /usr/local/libdata/perl5/site_perl/amd64-openbsd /usr/local/libdata/perl5/site_perl /usr/libdata/perl5/amd64-openbsd /usr/libdata/perl5) at /usr/libdata/perl5/OpenBSD/AddDelete.pm line 350

Unfortunately, I know nothing about perl or installing modules. I've also never had to do this before after installing OpenBSD.

Any help will be appreciated.
Reply With Quote
  #2   (View Single Post)  
Old 1st April 2020
jggimi's Avatar
jggimi jggimi is offline
More noise than signal
 
Join Date: May 2008
Location: USA
Posts: 7,984
Default

It appears (from what was posted) that there is a network problem with your connection to your nearest CDN. Temporarily, use another mirror near you, setting a PKG_PATH environment variable to the appropriate URL, as described in the pkg_add(1) man page. The complete list of mirrors is found at http://www.openbsd.org/ftp.html


If that works, then you can make the selected mirror permanent, if you wish, by editing your installurl(5) file.
Reply With Quote
  #3   (View Single Post)  
Old 2nd April 2020
stanl stanl is offline
Real Name: Stan
Package Pilot
 
Join Date: Jun 2019
Location: New York
Posts: 163
Default

Thank you, jggimi. This is the second time you've helped me out. Or is it the third?
As always, it is appreciated.
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Packages for installation and Ports for upgrade from Release to Stable lea0342 OpenBSD Packages and Ports 11 20th October 2017 08:43 PM
Unable to install 5.9 release betweendayandnight OpenBSD Installation and Upgrading 7 19th February 2016 12:16 PM
unable to install HP printer sacerdos_daemonis OpenBSD General 25 5th January 2015 01:20 PM
Unable to install on Alienware m17x BlackSun FreeBSD Installation and Upgrading 3 10th November 2010 01:35 AM
unable to get packages/INDEX file from selected media... clovis FreeBSD Installation and Upgrading 5 11th August 2010 07:39 PM


All times are GMT. The time now is 07:40 AM.


Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Content copyright © 2007-2010, the authors
Daemon image copyright ©1988, Marshall Kirk McKusick