New install, missing repos?


#1

Fresh install, and pkg utility appears DOA.
FreeBSD trueos-1522 12.0-CURRENT FreeBSD 12.0-CURRENT #26 fa797a5a3(trueos-stable-18.03): Mon Mar 26 00:24:47 UTC 2018 root@chimera:/usr/obj/usr/src/amd64.amd64/sys/GENERIC amd64
Boot-strapping updater…OK
Updating the pkg database…
pkg-static: Repository trueos-base load error: access repo file(/var/db/pkg/repo-trueos-base.sqlite) failed: No such file or directory
pkg-static: ----pkg.cdn.trueos.org/master/amd64-base/meta.txz: Not Found
pkg-static: —pkg.cdn.trueos.org/master/amd64-base/packagesite.txz: Not Found
pkg-static: Repository trueos-major load error: access repo file(/var/db/pkg/repo-trueos-major.sqlite) failed: No such file or directory
pkg-static: http://pkg.cdn.trueos.org/master/amd64/meta.txz: Not Found
pkg-static: h-----pkg.cdn.trueos.org/master/amd64/packagesite.txz: Not Found
Updating trueos-base repository catalogue…
repository trueos-base has no meta file, using default settings
Unable to update repository trueos-base
Updating trueos-major repository catalogue…
repository trueos-major has no meta file, using default settings
Unable to update repository trueos-major
Error updating repositories!
The following updates are available:

NAME: System package updates
TYPE: PKGUPDATE

To install: “pc-updatemanager pkgupdate”
Boot-strapping updater…OK
Boot-strapping latest PKGNG
fetch: -----pkg.cdn.trueos.org/master/amd64/Latest/pkg.txz: Not Found

fetch: h----pkg.cdn.trueos.org/master/amd64/Latest/pkg.txz: Not Found

something dippy I managed in setting up the VM, or has something unfortunate happened to the server?

fetch: h----pkg.cdn.trueos.org/master/amd64/Latest/pkg.txz: Not Found

fetch: h----pkg.cdn.trueos.org/master/amd64/Latest/pkg.txz: Not Found

ERROR: Failed bootstrapping latest PKG
No update staged. Please run /usr/local/bin/pc-updatemanager pkgupdate first
[khb@trueos-1522] ~% /usr/local/bin/pc-updatemanager pkgupdate first
ERROR: Must be run as root!
[khb@trueos-1522] ~% sudo /usr/local/bin/pc-updatemanager pkgupdate first
Boot-strapping updater…OK
Boot-strapping latest PKGNG
fetch: h—pkg.cdn.trueos.org/master/amd64/Latest/pkg.txz: Not Found

fetch: h----pkg.cdn.trueos.org/master/amd64/Latest/pkg.txz: Not Found

fetch: http://pkg.cdn.trueos.org/master/amd64/Latest/pkg.txz: Not Found

fetch: h----pkg.cdn.trueos.org/master/amd64/Latest/pkg.txz: Not Found

ERROR: Failed bootstrapping latest PKG
% about

===================
General information

boot environment now (N) … initial NR 2019-03-12
after restart ® … initial NR 2019-03-12
boot loader …………………………………… BSD
type ……………………… BIOS
CPU ………………………………………………………… Intel® Core™ i7-4702MQ CPU @ 2.20GHz
number of cores ……………… 1
host ……………………………………………………… trueos-1522
memory ………………………………………………… 1023 MB available, 67 MB free
OS git branch ……………………………………………………………………………………… trueos-stable-18.03
OS git revision ………………………………………………………………………………… fa797a5a3
OS kernel build time ………………………………………………………… Mon 2018 Mar 26 00:24:47 UTC
OS kernel identity …………………………………………… (uname -i) GENERIC
OS platform (architecture) ……………………… (uname -m) amd64
OS release level ………………………………………………… (uname -r) 12.0-CURRENT
OS version and patch level …… (freebsd-version) 12.0-CURRENT
TrueOS package set ………………… STABLE
TrueOS version …………………………… TrueOS-Desktop-201803131015
uptime ………………………………………………… 38 mins
user …………………………………………………… khb

More (TrueOS Desktop):

desktop environment …… Lumina
sound card driver ………… pcm0: <Intel ICH (82801AA)> (play/rec) default
wireless driver ……………… 
X11 drivers ………………………… vboxvideo_drv.so

#2

Are you trying to run a desktop with a GUI or a headless server?..


#3

This system now is a whole year old. To get a working desktop system on the base of TrueOS it is much easier to try Project Trident or GhostBSD than to put a lot of work into an “obsolete” system.


#4

I agree with @RJules3, it looks like you are trying to update the last release of “TrueOS Legacy Desktop”.
Unfortunately that no longer exists which is why you are getting the “not found” errors.

Your best options are:
Save off your data
Reinstall either Trident or GhostBSD

You’ll want to grab the download from here. The file can be burned to DVD or “dd” to a USB of at least 8GB

https://project-trident.org/download/


#5

The TrueOS system meta.txz you’ll find at the address: http://pkg.cdn.trueos.org/iocage/

And let me emphasize:
This is a server system only. The TrueOS - desktop system is not maintained anymore. Therefore the address http://pkg.cdn.trueos.org/master/amd64/meta.txz is leading nowhere.


#6

Thank you all; I’d noticed the desktop was older than the server … but I hadn’t realized that the desktop was no longer a viable project (being an old sun guy, I wanted to see what the community had done around root zfs and BE, especially in the GUI area). I appreciate the rapid responses!


#7

Take a look at Trident.
root ZFS and BEs are pretty much what you get in FreeBSD proper, some of the GUI tools will manage/limit the number of BEs if you set a limit (basically saves you from destroying them yourself).
Lumina is like any other GUI some like some hate. I find it usable, not too bad (but I do install and use Windowmaker by default just because I’ve been using it for a long time).
Thing I admire most about Lumina is the licensing and the fact that it tries to use just standard X as much as possible instead of all the Linux-isms.