|
OpenBSD Packages and Ports Installation and upgrading of packages and ports on OpenBSD. |
|
Thread Tools | Display Modes |
|
|||
7.3 repository problems..
I installed 7.3 yesterday, ( installed OK), but couldn't install extra software, so I waited until today to see if it was just offline for updating, but, tried again just now, & still lots of necessary program packages missing - any one else having problems?
Programs I was trying to add - firefox(-esr) - mpv - mc - pysolfc - I did manage to install mpg123 yesterday, but that was all.
__________________
Linux since 1999, & also a BSD user. |
|
||||
What is the content of /etc/installurl? Can you ping that site?
A fresh 7.3 system using https://cdn.openbsd.org/pub/OpenBSD can pull in all the named applications for me. |
|
|||
I have the exact same in my /etc/installurl, & yet still can't install them - lots of 'can't resolve' lines!
I've never had so many as this before, only ever an occasional, which was resolved after a few hours of waiting; this is now 2 days! (ping: non-recoverable failure in name resolution) I've even just tried Code:
export PKG_PATH=http://ftp.openbsd.org/pub/OpenBSD/7.3/packages/amd64/
__________________
Linux since 1999, & also a BSD user. Last edited by bsd-keith; 13th April 2023 at 05:26 PM. |
|
|||
The weird thing is that it can install mpg123, but is having these other 'can't resolve' problems....
I'll give your suggestions a try.....
__________________
Linux since 1999, & also a BSD user. |
|
|||
/etc/resolv.conf = nameserver 192.168.0.1 # urtwn0
ifconfig | grep AUTOCONF = urtwn0 rcctl check dhcpleased = ok rcctl check resolvd = ok Plus > ping 8.8.8.8 is working OK Also tried (suggested from LQ) pkg_add -u = ok pkg_add check = ok EDIT: So it looks like I need another (external) nameserver in resolv.conf - will add, & try again...
__________________
Linux since 1999, & also a BSD user. |
|
|||
Added https://cdn.openbsd.org/pub/OpenBSD as first nameserver in /etc/resolv.conf - but still no joy (even after reboot).
Added it to .profile, & we're getting somewhere (after a reboot), now running pkg_add -u (libcrypto & libssl 'minor is too small') BUT...still won't install mc or lynx - still 'can't resolve' problem persists!!! ping openbsd.org - works
__________________
Linux since 1999, & also a BSD user. Last edited by bsd-keith; 14th April 2023 at 09:49 AM. |
|
||||
Quote:
Quote:
Is the domain name server at 192.168.0.1 under your control, or is that a server managed by your ISP? |
|
|||
I'm guessing 192.168.0.1 is via my ISP router - I'll try adding 199.185.178.80 to resolve.conf
Thanks for your time... Edit: Still no-go even after a reboot... pkg_add mc Can't install python-3.10.10p0 because of libraries library crypto.50.2 not found (etc.) PKG_PATH=http://ftp.openbsd.org/pub/OpenBSD/7.3/packages/amd64/
__________________
Linux since 1999, & also a BSD user. Last edited by bsd-keith; 14th April 2023 at 12:01 PM. |
|
||||
I think you may be confused, because that doesn't make any sense to me.
Think of a domain name server as an address book. Name servers receive domain name queries we give them -- such as daemonforums.org -- and reply with the domain name's IP address -- such as 65.109.3.37 -- so our computers can send packets to the address. There are free and public domain name servers such as Google's 8.8.8.8 or Quad9's 9.9.9.9. Your ISP may manage the domain name server at 192.168.0.1, if that private address is not under your own control. |
|
||||
When I say mismatch, I mean that you are using the wrong package repository. My guess is you have an incorrect PKG_PATH environment variable defined. If you have a PKG_PATH it overrides anything in /etc/installurl.
/etc/installurl will automatically use the correct repository (or repositories) for the release and flavor of the installed OS. PKG_PATH gives the admin the ability to provision all of that manually. Or, as I believe may have happened here, mis-configure it. |
|
|||
Well, I'll take your word for it..... though how it has come about, I haven't got a clue!
I'll go & download another .img file, & re install; hopefully that will cure everything.... Thanks again for your help.
__________________
Linux since 1999, & also a BSD user. |
|
|||
I think I now know what was wrong, & it was my fault all along, I had installed 7.3-BETA.....
So, I'm guessing that was the reason for the mis matched repositories. My apologies, & many thanks for trying to help me with this...
__________________
Linux since 1999, & also a BSD user. |
|
||||
For future reference:
Quote:
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Security 10 malicious Python packages exposed in latest repository attack | J65nko | News | 0 | 9th August 2022 09:45 PM |
Vi/Vim problems | sorkom | OpenBSD Packages and Ports | 7 | 8th February 2016 01:51 PM |
mplayer & mplayer-share-1.1.1 not available on the repository | Martillo | NetBSD Package System (pkgsrc) | 5 | 5th November 2013 11:37 AM |
PC-BSD Announces Package Repository for PC-BSD and FreeBSD 9.1 | shep | News | 2 | 7th April 2013 02:02 PM |
Own repository for Debian/Ubuntu on FreeBSD server | Lexus45 | FreeBSD General | 2 | 26th January 2012 05:09 AM |