Closed zhmihotmail closed 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
Okay, thank you
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 !!!