View Single Post
  #7   (View Single Post)  
Old 17th November 2020
TheTKS TheTKS is offline
Port Guard
 
Join Date: Sep 2018
Location: Canada
Posts: 43
Default

Quote:
Originally Posted by bradley View Post
That -U makes sense to me. If I'm not mistaken, it wasn't available in earlier versions. Wondering if there are reasons for using only -u? What I'd use next time after a sysupgrade and reboot:

Code:
fw_update
pkg_add -vvvvviUu
pkg_delete -a
pkg_check -vvvvv
sysmerge
First a firmware update, -vvvvv is for output, which I like to read, -i is interactive mode (asks questions if there is something difficult), -a is for deleting unused dependencies and pkg_check I like to use for checking the consistency of all the installed packages (and indeed I had some dependency issues pointed out by pkg_check, a gtk package wanted to have the whole mate desktop, but it's ok now).
I also saw fw_update run during sysupgrade, so you shouldn’t need to run it.

I’ll have to take a closer look at these pkg_add/delete/check steps the next time I get ready for a sysupgrade.

I did see a bunch of output running pkg_add -u, at first thinking that there might have been some errors. It turns out not, but one thing I learned is that pkg_add might leave a bunch of messages to delete a bunch of files which don’t exist. You should look at each one, to make sure.

TKS
Reply With Quote