pkg update differs to update station

Everything related to Installing and maintaining software.
Post Reply
nevets
Posts: 35
Joined: Tue Jun 23, 2020 3:54 am
Has thanked: 3 times
Been thanked: 7 times

pkg update differs to update station

Post 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

User avatar
ericbsd
Developer
Posts: 1754
Joined: Mon Nov 19, 2012 7:54 pm
Has thanked: 62 times
Been thanked: 126 times

Re: pkg update differs to update station

Post 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.
These users thanked the author ericbsd for the post:
grahamperrin (Sun Jun 13, 2021 8:25 am)
Rating: 25%

nevets
Posts: 35
Joined: Tue Jun 23, 2020 3:54 am
Has thanked: 3 times
Been thanked: 7 times

Re: pkg update differs to update station

Post 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

User avatar
ericbsd
Developer
Posts: 1754
Joined: Mon Nov 19, 2012 7:54 pm
Has thanked: 62 times
Been thanked: 126 times

Re: pkg update differs to update station

Post 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.

Post Reply