qubic-li / hiveos

40 stars 10 forks source link

It is unnecessary to force hiveos update, which will make hiveos unable to run normally. In the end, you can only re-flash the hiveos image. #5

Closed zhmihotmail closed 7 months ago

zhmihotmail commented 7 months ago

Check ts

if ! command -v ts &> /dev/null; then echo "Program ts (moreutils) - not installed. Moreutils is required. Install:" sudo sed -i '/^deb http:\/\/archive.ubuntu.com\/ubuntu\ jammy\ main$/d' /etc/apt/sources.list && sudo sed -i '/^deb http:\/\/archive.ubuntu.com\/ubuntu\ jammy\ InRelease$/d' /etc/apt/sources.list && apt update && apt install moreutils -y echo "Program ts (moreutils) - has been installed." fi

After using the update script, my hiveos cannot display the console normally !!!

Worm commented 7 months ago

It is required to install Moreutils (ts - command), but:

If you have already added the repository: http://archive.ubuntu.com/ubuntu jammy, please be cautious as conflicts may arise and HiveOs could become corrupted. ☝️ If the eloword package has been installed, first execute /hive/sbin/hive-replace --beta --yes, and then proceed to install 'moreutils' with apt install moreutils.

You may try to restore your HiveOS with the following command: wget https://download.hiveos.farm/repo/binary/hive_0.6-225_amd64.deb && dpkg -i hive_0.6-225_amd64.deb.

If this hasn't helped, try the following command: wget https://download.hiveos.farm/hive-replace -O /tmp/hive-replace && chmod +x /tmp/hive-replace && cd /tmp && ./hive-replace -y --beta

zhmihotmail commented 7 months ago

Okay, thank you