Upgrade Borked System
Re: Upgrade Borked System
Thanks... but will this set things right once again... I lost ability to use the GUI software management tool, Firefox, SQLite and likely some things I have yet to discover. Why a Firefox install would or should remove & replace so much software is boggling. Yes my LINUX roots are showing... I upgrade Firefox in that and get exactly what I ask for.. not kill my system. Thankfully the server continues to work. I am heading off to parts unknown for a few and I'll have access to what I planned.
It's bothersome that the pkg install, doesn't manage the dependencies or at least tell you what to load. My ROOTS are really Sun Solaris... and although I have dumped Oracle Solaris for Linux... the GhostBSD was the ONLY version of BSD I ever had any success with. I was almost ready to say I like it.
Built this system to evaluate ZFS vs BTRFS. BTRFS runs just as fast within my limits to test upload throughput of 10Mbps. The disk I/O is fine... my needs are constricted by what I can get for reasonable $$. Fiber would be nice but at 5X the cost... nay nay
After this disaster.. my trust is broken..
Dave -
It's bothersome that the pkg install, doesn't manage the dependencies or at least tell you what to load. My ROOTS are really Sun Solaris... and although I have dumped Oracle Solaris for Linux... the GhostBSD was the ONLY version of BSD I ever had any success with. I was almost ready to say I like it.
Built this system to evaluate ZFS vs BTRFS. BTRFS runs just as fast within my limits to test upload throughput of 10Mbps. The disk I/O is fine... my needs are constricted by what I can get for reasonable $$. Fiber would be nice but at 5X the cost... nay nay
After this disaster.. my trust is broken..
Dave -
- Powerwagon77
- Posts: 18
- Joined: Sat Jul 07, 2018 2:14 pm
Re: Upgrade Borked System
I'm not sure what has happened during your updates. I can see a few things that have run afoul on my systems, too, and can only tell you what fixed things for me. I haven't suffered any ill effects from updates, so I may not be in the same boat. I can sympathise with your frustration, though. As for BTRFS, it isn't that much better. I had a mirror go south on me and it was such a pain to get thing back. Red Hat dropped support for it last year, so caveat emptor.
I'm just glad that this distro is here since things like wireless just work.
The 2 commands should 1) examine the installed packages, finding hash sum errors, and then 2) reinstall those packages to, hopefully, straighten things out. Scripts may run as part of the package install, but that shouldn't have a negative impact. Note that I said shouldn't.
So without further ado, with "SMF backup" in hand, here is the proper csh version of what I'd intended.
HTH!
I'm just glad that this distro is here since things like wireless just work.
The 2 commands should 1) examine the installed packages, finding hash sum errors, and then 2) reinstall those packages to, hopefully, straighten things out. Scripts may run as part of the package install, but that shouldn't have a negative impact. Note that I said shouldn't.
So without further ado, with "SMF backup" in hand, here is the proper csh version of what I'd intended.
Code: Select all
pkg check -s |& cut -d: -f1 |grep -v Checking |uniq > /tmp/sad-packages.txt
Code: Select all
foreach i (`cat /tmp/sad-packages.txt`)
echo " "
echo $i
pkg install -fy $i
end
Re: Upgrade Borked System
Firefox & Thunderbird (Mozilla) stopped working reportedly because of SQLite library that wasn't up to date. I have attempted to reload those however the library in the repository must be wrong, or whatever. I have moved to Web Browser and Evolution to resolve my needs. It will do fine. Don't care if it's Mozilla stuff or other as long as it works. Firefox is a little better on my self signed SSL stuff. I'm sure by October someone will have fixed this.
- Powerwagon77
- Posts: 18
- Joined: Sat Jul 07, 2018 2:14 pm
Re: Upgrade Borked System
If you want to see if something is out of place and may resolve itself, you could run
to force an update of the repo metadata, then
as root. It will check dependencies and install missing ones (according to the man page). The package 'sqlite3' appears to be a dependency for a ton of stuff and that may be the missing package. I was able to nuke the sqlite3 package on this machine and it found and fixed it. The previous command only validated what is already installed.
When I did the metadata refresh on my system, it found 158 new packages. I'll report back after a reboot if my system has issues.
Edit: Everything appears to still be working
Code: Select all
pkg update -f
Code: Select all
pkg check -d
When I did the metadata refresh on my system, it found 158 new packages. I'll report back after a reboot if my system has issues.
Edit: Everything appears to still be working
- Powerwagon77
- Posts: 18
- Joined: Sat Jul 07, 2018 2:14 pm
Re: Upgrade Borked System
I just checked and both open just fine for me.
- Powerwagon77
- Posts: 18
- Joined: Sat Jul 07, 2018 2:14 pm
Re: Upgrade Borked System
Outstanding! I'm glad it worked!!
-
- Posts: 74
- Joined: Mon Jul 10, 2017 9:50 pm
- Location: Cincinnati, OH
Re: Upgrade Borked System
Powerwagon77: I tried this again using bash as noted, but same result.
Please note that I'm running the default shell fish.
Welcome to fish, the friendly interactive shell
mikeb@ghostmate ~> bash
[mikeb@ghostmate /usr/home/mikeb]$ su
Password:
root@ghostmate:/usr/home/mikeb # pkg check -s 2>&1 | cut -d: -f1 |grep -v Checking |uniq > /tmp/sad-packages.txt
Ambiguous output redirect.
Please note that I'm running the default shell fish.
Welcome to fish, the friendly interactive shell
mikeb@ghostmate ~> bash
[mikeb@ghostmate /usr/home/mikeb]$ su
Password:
root@ghostmate:/usr/home/mikeb # pkg check -s 2>&1 | cut -d: -f1 |grep -v Checking |uniq > /tmp/sad-packages.txt
Ambiguous output redirect.
Vas you efer in Zinzinnati? GhostBSD running on a Lenovo 500X Ideapad procured from local resale shop because I'm cheap.
- Powerwagon77
- Posts: 18
- Joined: Sat Jul 07, 2018 2:14 pm
Re: Upgrade Borked System
Yes, it was a bit of a jumble. Sorry about that.
Do these, 4 things in order, as root:
This should have been my original post...
Do these, 4 things in order, as root:
Code: Select all
pkg update -f
Code: Select all
pkg check -d
Code: Select all
pkg check -s |& cut -d: -f1 |grep -v Checking |uniq > /tmp/sad-packages.txt
Code: Select all
foreach i (`cat /tmp/sad-packages.txt`)
echo " "
echo $i
pkg install -fy $i
end