Update station keeps failing part way through

Everything related to Installing and maintaining software with pkg(pkgng).
Post Reply
AppleMike
Posts: 17
Joined: Sat Jun 13, 2020 10:26 am
Has thanked: 0
Been thanked: 1 time

Update station keeps failing part way through

Post by AppleMike »

Hi,

As title, update station tells me I have several packages to update, but at around 50-60 files updated out of 800 it falls over, and the details button does nothing. Now it goes to starting update station and it never actually opens.

is there anything I could try on the command line to see more details about what is happening?

User avatar
ericbsd
Developer
Posts: 1540
Joined: Mon Nov 19, 2012 7:54 pm
Has thanked: 50 times
Been thanked: 80 times

Re: Update station keeps failing part way through

Post by ericbsd »

Run the sudo update-station command in a terminal will probably give you what is missing.

AppleMike
Posts: 17
Joined: Sat Jun 13, 2020 10:26 am
Has thanked: 0
Been thanked: 1 time

Re: Update station keeps failing part way through

Post by AppleMike »

Unable to init server: Could not connect to 127.0.0.1: Connection refused

So now what do I look for please, do I need to kill a duplicate zombie task?

ghostbsd-pc /usr/home/mike]$ ps -aux | grep update
root 4183 0.0 0.1 13236 4316 - I Tue20 0:00.00 sudo update-station
root 4195 0.0 0.6 64632 48236 - I Tue20 0:00.42 /usr/local/bin/python3.7 /usr/local/bin/update-station
root 14240 0.0 0.1 13236 4340 - I 21:19 0:00.01 sudo update-station check-now
root 14241 0.0 0.5 55212 41136 - I 21:19 0:00.35 /usr/local/bin/python3.7 /usr/local/bin/update-station check-now
mike 14953 0.0 0.0 11012 2384 1 S+ 21:29 0:00.00 grep update


do I kill them all and start again?

AppleMike
Posts: 17
Joined: Sat Jun 13, 2020 10:26 am
Has thanked: 0
Been thanked: 1 time

Re: Update station keeps failing part way through

Post by AppleMike »

I killed the original and duplicate instances of update station and python update script, then started again, it was very slow, but eventually updated everything, so sort of fixed, but dont know why.

zau
Posts: 6
Joined: Mon Apr 20, 2020 1:46 pm
Has thanked: 0
Been thanked: 0

Re: Update station keeps failing part way through

Post by zau »

I had the same problem and I ran pkg update -f and pkg upgrade -f to fix the problem(s).

Post Reply