Solved portsdb error: uninitialized constant PkgDBTools::DBError

Greetings,

I'm running FreeBSD 13.2-RELEASE-p1.

I was recently going through the update process for my ports, starting off with updating the ports tree with 'portsnap fetch update.'

Code:
[carltonfsck@FreeBSD:~ ] $ sudo portsnap fetch update
Looking up portsnap.FreeBSD.org mirrors... 5 mirrors found.
Fetching snapshot tag from dualstack.aws.portsnap.freebsd.org... done.
Fetching snapshot metadata... done.
Updating from Sat Jul 22 21:43:12 EDT 2023 to Sun Jul 23 15:52:01 EDT 2023.
Fetching 5 metadata patches... done.
Applying metadata patches... done.
Fetching 0 metadata files... done.
Fetching 101 patches.
(101/101) 100.00%  done.
done.
Applying patches...
done.
Fetching 1 new ports or files... done.
Removing old files and directories... done.
Extracting new files:
/usr/ports/MOVED
/usr/ports/archivers/dzip/
/usr/ports/archivers/xmill/
/usr/ports/audio/gsequencer/
/usr/ports/audio/libfishsound/
/usr/ports/audio/snack/
/usr/ports/audio/x42-plugins-lv2/
/usr/ports/audio/yoshimi/
/usr/ports/benchmarks/ramspeed/
/usr/ports/cad/opentimer/

{ trimmed for brevity }

/usr/ports/www/gitea/
/usr/ports/www/htmlcxx/
/usr/ports/www/restinio/
/usr/ports/www/webtrees21/
/usr/ports/x11-toolkits/fxscintilla/
/usr/ports/x11-toolkits/tktable/
/usr/ports/x11-wm/blackbox/
/usr/ports/x11-wm/hyprland/
/usr/ports/x11/wl-clipboard/
/usr/ports/x11/xsnow/
Building new INDEX files... done.
[carltonfsck@FreeBSD:~ ] $

From there, I executed portsdb -Fu as I always do and received the following error...

Code:
[carltonfsck@FreeBSD:~ ] $ sudo portsdb -Fu
Password:
portsdb: uninitialized constant PkgDBTools:: DBError

        raise DBError, "No driver is available!"
              ^^^^^^^
Did you mean?  LoadError

[carltonfsck@FreeBSD:~ ] $

Anyone seeing this error? Wasn't able to find anything related to it in my search. Did something change??


Thanks in advance!!

--Cf
Carltonfsck
 
Hey, Charlie_

Looks like that did it! Thanks so much! Any idea what caused it and/or what that solution you provided does?


Regards,

--Cf
Carltonfsck
 
Back
Top