Page 1 of 1

pkg update differs to update station

Posted: Tue May 04, 2021 9:18 am
by nevets
Hi, am running 1st May iso new installation...
Is there a reason that
# sudo pkg update -f
reports no updates available, yet
System > Control Centre > Update Station
finds lots to update.
I thought they'd always be in agreement and use the same source.

The url in /etc/pkg/GhostBSD.conf points to
http://pkg.us.ghostbsd.org/stable/${ABI}/latest

The iso was from the download page
http://www.ghostbsd.org/download

Thanks,
Steve

Re: pkg update differs to update station

Posted: Tue May 04, 2021 9:27 am
by ericbsd
sudo pkg update -f update repos data not packages. sudo pkg upgrade is the command.

All that said user should use Update Station because if the upgrade is not properly, you will have problems.

Re: pkg update differs to update station

Posted: Tue May 04, 2021 10:22 am
by nevets
ericbsd wrote: Tue May 04, 2021 9:27 am sudo pkg update -f update repos data not packages. sudo pkg upgrade is the command.

All that said user should use Update Station because if the upgrade is not properly, you will have problems.
Thanks Eric,
Yep, that's true... perhaps I'm having a oldtimer's moment... I thought that if there are available updates, running update -f would let me know, so that I might then run upgrade if I wished for all or some of them?
No worries,
Steve

Re: pkg update differs to update station

Posted: Tue May 04, 2021 10:26 am
by ericbsd
pkg update -f will complain if there is a kernel mismatch, if there is kernel mismatch pkg upgrade -f need to be used.