Upgrade Borked System

Need support for GhostBSD. Ask here if your question does not fit elsewhere.
frogprince
Posts: 61
Joined: Mon Jul 10, 2017 9:50 pm
Has thanked: 4 times
Been thanked: 2 times

Upgrade Borked System

Post by frogprince » Sun Jul 22, 2018 11:15 pm

After the last upgrade, I find that Clementine and Mate Terminal will not open at all, and Firefox completely disappeared. Reinstalling Firefox put it back on the menu, but it still will not start. Running pkg update and pkg upgrade as root claims that everything is ok. Please help?
Vas you efer in Zinzinnati? Asus F1A75-M, AMD A8-3870 APU, 6 GB DDR3/120 GB SSD, GeForce 210, missing front drive panel just like its owner.

User avatar
ericbsd
Developer
Posts: 1391
Joined: Mon Nov 19, 2012 7:54 pm
Has thanked: 36 times
Been thanked: 46 times

Re: Upgrade Borked System

Post by ericbsd » Mon Jul 23, 2018 8:32 am

try installing it back mate-terminal, or something like terminator and run clementine, firefox, and mate-terminal, there is probably a dependency that did not upgrade properly. You will need to reinstall it.
These users thanked the author ericbsd for the post:
Casper (Mon Jul 23, 2018 9:48 pm)
Rating: 50%

frogprince
Posts: 61
Joined: Mon Jul 10, 2017 9:50 pm
Has thanked: 4 times
Been thanked: 2 times

Re: Upgrade Borked System

Post by frogprince » Tue Jul 24, 2018 9:48 pm

Eric: thanks for responding quickly! I took your advice and used Octopkg to uninstall Firefox, Clementine, and Mate-terminal, and rebooted. I then used Octopkg again to reinstall all three, but to no avail. Firefox opens a black window with the cursor, but no spinning wheel indicating an application loading, and no home page. Clementine and Mate-terminal would not load at all. So I opened Xterm, and ran pkg remove on all three, and then pkg install again.

When running pkg remove, I got this message:
[4/5] Deinstalling firefox-61.0_1,1...
rmdir:
/usr/local/lib/firefox: Directory not empty

When reinstalling firefox, I got:
Message from firefox-61.0_1,1:

------------------------------------------------------------------------------
------------------------------------------------------------------------------

Some features available on other platforms are not implemented:
• Native audio (OSS backend is incomplete, doesn't support WebRTC)
• Encrypted Media Extensions (requires Widevine CDM binary)
• Process snadboxing (requires Capsicum backend)
• Reduced memory usage (requires mozjemalloc)
• Performance profiling (requires GeckoProfiler)
• Gamepad API (requires libusbhid backend)
• WebVR (requires open source runtime)
• TCP fast open
----------------------------------------------------------------------------------
----------------------------------------------------------------------------------
To select non-default audio backend open about:config page and create
media.cubeb.backend preference. Supported values are: also, jack, pulse,
pulse-rust, oss, sndio. Current used backend can be inspected on
about:support page.
-----------------------------------------------------------------------------------
-----------------------------------------------------------------------------------
smb:// issues (Gvfs/GIO option):
Network group, machine, and share browsing does not work correctly.

sftp:// (Gvfs/GIO option):
Only sftp access using public key authentication works. To easily
setup public key authentication to "remote_host":

ssh-keygen
cat "/.ssh/id_rsa.pub | ssh remote_host "cat>> .ssh/authorized_keys"

The SSH server on remote_host must allow pub key authentication.

When installing Clementine, I got:
pkg: no packages available to install matching 'clementine' have been found in the repositories

When installing Mate-terminal, I got:
No such key 'background-color' in schema 'org.mate.terminal.profiles' as specified in override file '/usr/local/share/glib-2.0/schemas/92_org.mate-terminal.gschema.override'; ignoring override for this key.
No such key 'foreground-color' in schema 'org.mate.terminal.profiles' as specified in override file '/usr/local/share/glib-2.0/schemas/92_org.mate-terminal.gschema.override'; ignoring override for this key.

To send this message, I installed palemoon, but that browser would not connect to https://ghostbsd.org. I then installed epiphany, and that worked.

I also found that the system would not automount a usb drive.

I'm really puzzled; Ghost has run flawlessly for me for a number of months now. Any suggestions are welcome.
Vas you efer in Zinzinnati? Asus F1A75-M, AMD A8-3870 APU, 6 GB DDR3/120 GB SSD, GeForce 210, missing front drive panel just like its owner.

User avatar
ericbsd
Developer
Posts: 1391
Joined: Mon Nov 19, 2012 7:54 pm
Has thanked: 36 times
Been thanked: 46 times

Re: Upgrade Borked System

Post by ericbsd » Tue Jul 24, 2018 10:26 pm

That has nothing to do with mate-terminal.

Code: Select all

No such key 'background-color' in schema 'org.mate.terminal.profiles' as specified in override file '/usr/local/share/glib-2.0/schemas/92_org.mate-terminal.gschema.override'; ignoring override for this key.
No such key 'foreground-color' in schema 'org.mate.terminal.profiles' as specified in override file '/usr/local/share/glib-2.0/schemas/92_org.mate-terminal.gschema.override'; ignoring override for this key.
that is glib schemas configuration has failed.

you need to run mate-terminal in a terminal and give the output. Same for clementine and firefox. That is the output I need.

frogprince
Posts: 61
Joined: Mon Jul 10, 2017 9:50 pm
Has thanked: 4 times
Been thanked: 2 times

Re: Upgrade Borked System

Post by frogprince » Wed Jul 25, 2018 12:25 pm

OK, here's what I got. As before, Firefox opened a blank black window, which
I then killed. The other two would not open a window:

Code: Select all

Welcome to fish, the friendly interactive shell
mikeb@ghostmate ~> firefox
1532531664260   addons.xpi-utils        WARN    updateMetadata: Add-on {972ce4c6-7e08-4474-a285-3208198ce6fd} is invalid: [Exception... "Component returned failure code: 0x80004005 (NS_ERROR_FAILURE) [nsIZipReader.open]"  nsresult: "0x80004005 (NS_ERROR_FAILURE)"  location: "JS frame :: resource://gre/modules/addons/XPIInstall.jsm :: XPIPackage :: line 357"  data: no] Stack trace: XPIPackage()@resource://gre/modules/addons/XPIInstall.jsm:357
get()@resource://gre/modules/addons/XPIInstall.jsm:241
loadManifestFromFile()@resource://gre/modules/addons/XPIInstall.jsm:967
syncLoadManifestFromFile()@resource://gre/modules/addons/XPIInstall.jsm:981
updateMetadata()@resource://gre/modules/addons/XPIDatabase.jsm:2576
processFileChanges()@resource://gre/modules/addons/XPIDatabase.jsm:2793
checkForChanges()@resource://gre/modules/addons/XPIProvider.jsm:2139
startup()@resource://gre/modules/addons/XPIProvider.jsm:1591
callProvider()@resource://gre/modules/AddonManager.jsm:207
_startProvider()@resource://gre/modules/AddonManager.jsm:655
startup()@resource://gre/modules/AddonManager.jsm:819
startup()@resource://gre/modules/AddonManager.jsm:2885
observe()@jar:file:///usr/local/lib/firefox/omni.ja!/components/addonManager.js:66
1532531664264   addons.xpi-utils        WARN    Could not uninstall invalid item from locked install location
fish: “firefox” terminated by signal SIGKILL (Forced quit)

Code: Select all

mikeb@ghostmate ~> clementine-player
/usr/local/lib/libavcodec.so.58: Shared object has no run-time symbol table

Code: Select all

mikeb@ghostmate ~> mate-terminal
fish: “mate-terminal” terminated by signal SIGSEGV (Address boundary error)
edited by: ericbsd
Vas you efer in Zinzinnati? Asus F1A75-M, AMD A8-3870 APU, 6 GB DDR3/120 GB SSD, GeForce 210, missing front drive panel just like its owner.

User avatar
ericbsd
Developer
Posts: 1391
Joined: Mon Nov 19, 2012 7:54 pm
Has thanked: 36 times
Been thanked: 46 times

Re: Upgrade Borked System

Post by ericbsd » Wed Jul 25, 2018 1:48 pm

For Firefox, it looks like addons.xpi-utils is at fault. You might need to edit out xpi-utils from ~/.mozilla/firefox/njzzjgxl.default/addons.json. of remove addons.json and addonStartup.json.lz4.

Note: njzzjgxl.default will be different.

User avatar
ericbsd
Developer
Posts: 1391
Joined: Mon Nov 19, 2012 7:54 pm
Has thanked: 36 times
Been thanked: 46 times

Re: Upgrade Borked System

Post by ericbsd » Wed Jul 25, 2018 1:57 pm

Could you give me the output of "gdb mate-terminal"?

frogprince
Posts: 61
Joined: Mon Jul 10, 2017 9:50 pm
Has thanked: 4 times
Been thanked: 2 times

Re: Upgrade Borked System

Post by frogprince » Thu Jul 26, 2018 3:39 pm

Erich: For Firefox, I cannot find xpi-utils with either Caja search or locate. Perhaps that's the problem?
Should I try to install Firefox from the Mozilla web site?
For mate-terminal, I get
mikeb@ghostmate ~> gdb mate-terminal
GNU gdb 6.1.1 [FreeBSD]
Copyright 2004 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB. Type "show warranty" for details.
This GDB was configured as "amd64-marcel-freebsd"...(no debugging symbols found)...
(gdb)
Vas you efer in Zinzinnati? Asus F1A75-M, AMD A8-3870 APU, 6 GB DDR3/120 GB SSD, GeForce 210, missing front drive panel just like its owner.

User avatar
ericbsd
Developer
Posts: 1391
Joined: Mon Nov 19, 2012 7:54 pm
Has thanked: 36 times
Been thanked: 46 times

Re: Upgrade Borked System

Post by ericbsd » Thu Jul 26, 2018 3:48 pm

Actually, for Firefox if you remove ~/.mozilla/firefox/ should be fine, but that will reset everything.

Code: Select all

rm -r ~/.mozilla/firefox/
These users thanked the author ericbsd for the post:
frogprince (Tue Aug 07, 2018 12:00 pm)
Rating: 50%

frogprince
Posts: 61
Joined: Mon Jul 10, 2017 9:50 pm
Has thanked: 4 times
Been thanked: 2 times

Re: Upgrade Borked System

Post by frogprince » Thu Jul 26, 2018 5:57 pm

OK, I tried the above, but when I open Firefox, I still get just a black window and cannot add the toolbars or search; there is no url window.
Vas you efer in Zinzinnati? Asus F1A75-M, AMD A8-3870 APU, 6 GB DDR3/120 GB SSD, GeForce 210, missing front drive panel just like its owner.

Post Reply