AppCafe not listing anything under TrueOS-Base or Major


#1

This is a NEW install of TrueOS

FreeBSD WStation 12.0-CURRENT FreeBSD 12.0-CURRENT #10 d26791952(trueos-stable-17.12): Sat Dec 9 18:10:09 UTC 2017 root@chimera:/usr/obj/usr/src/amd64.amd64/sys/GENERIC amd64

I am not sure where to go to get details of upgrades I have applied under TrueOS. It has only been installed about a week and I have applied at least 2 updates.

The system seems to be running fine but when I open AppCafe to install apps it shows NOTHING available to choose from to install. All I see is “No Packages Found”

Initially it was working because I installed some things like LibreOffice and HPLIP. I have a laptop on the same network running TrueOS and it is able to bring up the app list just fine.

WEB is connecting to Internet because I am writing this on the machine. Unfortunately using QupZilla because I cannot request FireFox or Chrome.

Any Suggestions?
What port(s) does AppCafe use to “call home” for a list of available apps etc… ?
Where is home?

-Ben


#2

open a terminal, and type these 2 commands

about

cat /usr/local/etc/trueos.conf

post the info here


#3

OOOOHHhhhhhhhh… Cool!

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

boot environment now (N) … 12.0-CURRENT-up-20180328_081208 NR 2018-03-28
after restart ® … 12.0-CURRENT-up-20180328_081208 NR 2018-03-28
boot loader …………………………………… BSD
type ……………………… BIOS
CPU ………………………………………………………… Intel® Core™2 Duo CPU E8600 @ 3.33GHz
number of cores ……………… 2
host ……………………………………………………… WStation9
memory ………………………………………………… 4100 MB available, 2902 MB free
OS git branch ……………………………………………………………………………………… trueos-stable-17.12
OS git revision ………………………………………………………………………………… d26791952
OS kernel build time ………………………………………………………… Sat 2017 Dec 9 18:10:09 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 ………………… PRODUCTION
TrueOS version …………………………… TrueOS-Desktop-201712111405
uptime ………………………………………………… 1 day, 18:14
user …………………………………………………… strben

More (TrueOS Desktop):

desktop environment …… Lumina
sound card driver ………… pcm1: <NVIDIA (0x0051) (HDMI/DP 8ch)> (play) default
wireless driver ……………… 
X11 drivers ………………………… nvidia_drv.so
            • -8< -

** [user@WStation] ~% cat /usr/local/etc/trueos.conf**
** # TrueOS Configuration Defaults**

** # Default package set to pull updates from**
** # STABLE - Default - Best for users that want stability **
** # UNSTABLE - Cutting edge packages - For advanced users / testers**
** # CUSTOM - Also set the "PACKAGE_URL: " variable to manually point to an alternate repository**
** PACKAGE_SET: PRODUCTION**

** # Set the number of automatic boot-environments to create / keep**
** MAXBE: 5**


#4

try these in the shell

sudo pc-updatemanager confcheck
sudo pc-updatemanager syncconf
sudo pc-updatemanager pkgcheck

it should tell you to

pc-updatemanager pkgupgrade

you can’t install packages with an upgrade pending


#5

The first two commands worked fine with 1 line replies:

[user@WStation] ~% sudo pc-updatemanager confcheck                                                                        
Boot-strapping updater...OK                                                                                                      
[user@WStation] ~% sudo pc-updatemanager syncconf
Boot-strapping updater...OK

But the last shows some kind of database error which repeated and scrolled too many times. All lines I could see read like the following:

. . .
pkg-static: sqlite error while executing iterator in file pkgdb_iterator.c:1035: database disk image is malformed
pkg-static: sqlite error while executing iterator in file pkgdb_iterator.c:1035: database disk image is malformed
pkg-static: sqlite error while executing iterator in file pkgdb_iterator.c:1035: database disk image is malformed
pkg-static: sqlite error while executing iterator in file pkgdb_iterator.c:1035: database disk image is malformed
pkg-static: sqlite error while executing iterator in file pkgdb_iterator.c:1035: database disk image is malformed
pkg-static: sqlite error while executing iterator in file pkgdb_iterator.c:1035: database disk image is malformed
pkg-static: sqlite error while executing iterator in file pkgdb_iterator.c:1035: database disk image is malformed
pkg-static: sqlite error while executing iterator in file pkgdb_iterator.c:1035: database disk image is malformed
pkg-static: sqlite error while executing iterator in file pkgdb_iterator.c:1035: database disk image is malformed
All packages are up to date!

#6

Try he following;

sudo pkg update -f


#7

Thanks RodMyers!

[user@WStation] ~% sudo pkg update -f
Updating trueos-base repository catalogue...
Fetching meta.txz: 100%    1 KiB   1.5kB/s    00:01    
Fetching packagesite.txz: 100%   56 KiB  57.3kB/s    00:01    
Processing entries: 100%
trueos-base repository update completed. 805 packages processed.
Updating trueos-major repository catalogue...
pkg-static: sqlite error while executing iterator in file pkgdb_iterator.c:1035: database disk image is malformed
Fetching meta.txz: 100%    1 KiB   1.5kB/s    00:01    
Fetching packagesite.txz: 100%    6 MiB 463.6kB/s    00:13    
Processing entries: 100%
trueos-major repository update completed. 28759 packages processed.
All repositories are up to date.

Looks like the update fixed it!

[user@WStation] ~% sudo pc-updatemanager pkgcheck
Boot-strapping updater...OK
Updating the pkg database...
Updating trueos-base repository catalogue...
trueos-base repository is up to date.
Updating trueos-major repository catalogue...
trueos-major repository is up to date.
All repositories are up to date.
New version of pkg detected; it needs to be installed first.
The following 1 package(s) will be affected (of 0 checked):

Installed packages to be UPGRADED:
        pkg: 1.10.1 -> 1.10.5 [trueos-major]

Number of packages to be upgraded: 1

3 MiB to be downloaded.
The following updates are available:
------------------------------------
NAME: System package updates
TYPE: PKGUPDATE
 
To install: "pc-updatemanager pkgupdate"

Happy Resurection Day RodMyers
Things are right again in the World!
-Ben


#8

Hello, got the same issue, tried that one and:
% sudo pkg update -f
Password:
Updating trueos-base repository catalogue…
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
repository trueos-base has no meta file, using default settings
pkg-static: /pkg.cdn.trueos.org/master/amd64-base/packagesite.txz: Not Found
Unable to update repository trueos-base
Updating trueos-major repository catalogue…
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: /pkg.cdn.trueos.org/master/amd64/meta.txz: Not Found
repository trueos-major has no meta file, using default settings
pkg-static: /pkg.cdn.trueos.org/master/amd64/packagesite.txz: Not Found
Unable to update repository trueos-major
Error updating repositories!
%
(removed the http from the link so it lets me post)

Then:
% sudo pc-updatemanager pkgupdate
Boot-strapping updater…OK
Boot-strapping latest PKGNG
fetch: /pkg.cdn.trueos.org/master/amd64/Latest/pkg.txz: Not Found

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

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

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

ERROR: Failed bootstrapping latest PKG
%

It seems that something odd is happening with the sqlite db that holds the repository info.
Unfortunately my last boot environments are to old. So I need to figure out this one.

Any ideas, suggestions and tips are greatly appreciated.

Thanks

Mark.


#9

type “about” in a terminal, if it shows like OP, then you are using a depreciated version. Had you done your due diligence in searching discourse , this issue was discussed, ad neaseum, there is NO upgrade path.

taken from the telegram channel;

The TrueOS “desktop” edition has been discontinued and TrueOS is now a distribution platform (with it’s own server-focused release images as well).

TrueOS Download Site: https://pkg.trueos.org/

TrueOS Mailing Lists (google groups)

For desktop alternatives we recommend:

For people that want more details about the differences between Project Trident, TrueOS, and FreeBSD: There is an information page all about that on the Project Trident website: https://project-trident.org/information/heritage/

There is NO upgrade path for that version, which you are running. You have 2 options for desktop.

Project Trident, which is the natural progression or GhostBSD, as per the info I posted above.

And since FreeBSD has changed their boot loader code from forth to LUA, installing into a Boot Environment (BE), is no acceptable either


#10

Now, that explains some things…
% about

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

boot environment now (N) … 12.0-CURRENT-up-20180813_17100 NR 2018-08-13
after restart ® … 12.0-CURRENT-up-20180813_17100 NR 2018-08-13
boot loader …………………………………… BSD
type ……………………… EFI
CPU ………………………………………………………… Intel® Core™ i5-2540M CPU @ 2.60GHz
number of cores ……………… 4
host ……………………………………………………… archon.valhalla
memory ………………………………………………… 8192 MB available, 3638 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 ………………………………………………… 6:39
user …………………………………………………… armour

More (TrueOS Desktop):

desktop environment …… Lumina
sound card driver ………… pcm0: <Conexant CX20590 (Analog 2.0+HP/2.0)> (play/rec) default
wireless driver ……………… iwn0
X11 drivers ………………………… intel_drv.so

I am very much I love with TrueOS, but have not been on the latest news. Will then back up and start from scratch. Thanks for the help.

Mark