Partition table corrupted in MyBookLive Duo 8TB

hello,

the first corrupt of table partition it was after use apt-get upgrade 

the seconde corrupt after install tor project and after restart it won’t able to start …

but i don’t know how to use gdksik what command i need to use please help me …

It’s hard to say because I don’t know which partition table is good. If the backup table is good I would go

First I would verify the disk and do any recommended fixes

gdisk /dev/sda

r

v

If that doesn’t work and the backup table is good 

gdisk /dev/sda

r

b

c

f

w

If the main table is good

gdisk /dev/sda

r

b

e

f

w

These are my best guesses based on what I see. I am by no means an expert with gdisk