More
referral
Increase your income with Hive. Invite your friends and earn real cryptocurrency!

Problems updating Hiveos

Suddenly, the system stopped working and did not want to update. I changed the USB drive but the problem persisted. So I decided to use an ssd hard drive but the problem was still the same. How can I solve it?

Error:


selfupgrade --force && sreboot (failed, exitcode=100)

![](https://the.hiveos.farm/assets/a638c70a.svg)

> Cleaning apt lists > Removing apt/dpkg lock files and updates dpkg-query: error: parsing file '/var/lib/dpkg/status' near line 0: > Current version: **@220928** dpkg: error: parsing file '/var/lib/dpkg/status' near line 0: dpkg-query: error: parsing file '/var/lib/dpkg/status' near line 0: Get:1 http://download.hiveos.farm/repo/binary InRelease [1724 B] Get:2 http://download.hiveos.farm/repo/binary Packages [407 kB] Get:3 http://download2.hiveos.farm/repo/binary InRelease [1724 B] Get:4 http://download2.hiveos.farm/repo/binary Packages [407 kB] Fetched 818 kB in 1s (610 kB/s) Reading package lists... E: Encountered a section with no Package: header E: Problem with MergeList /var/lib/dpkg/status E: The package lists or status file could not be parsed or opened. Repository update failed ------------------------------------------------------ > Restarting autofan and watchdog > Starting miners Starting bzminer Upgrade failed Binary file (standard input) matches

what kernel/image are you on?

can you post the output of selfupgrade (without any flags)

i had a similar problem and fount there was a status-old file. Used that one to replace the bad status file.

you can do this

cd /var/lib/dpkg
mv status status.bad
cp status-old status

Sorry, I’m not a very experienced user, I’m not quite sure what you’re asking.
Is this what you soloist me?

11s - selfupgrade --force && sreboot (failed, exitcode=100)

> Cleaning apt lists
> Removing apt/dpkg lock files and updates
dpkg-query: error: parsing file '/var/lib/dpkg/status' near line 0:
> Current version: @220928
dpkg: error: parsing file '/var/lib/dpkg/status' near line 0:
dpkg-query: error: parsing file '/var/lib/dpkg/status' near line 0:
Get:1 http://download.hiveos.farm/repo/binary  InRelease [1724 B]
Get:2 http://download2.hiveos.farm/repo/binary  InRelease [1724 B]
Get:3 http://download2.hiveos.farm/repo/binary  Packages [407 kB]
Get:4 http://download.hiveos.farm/repo/binary  Packages [407 kB]
Fetched 818 kB in 1s (604 kB/s)
Reading package lists...
E: Encountered a section with no Package: header
E: Problem with MergeList /var/lib/dpkg/status
E: The package lists or status file could not be parsed or opened.
Repository update failed
------------------------------------------------------
> Restarting autofan and watchdog
> Starting miners
Starting bzminer
Upgrade failed
Binary file (standard input) matches

![2022-12-27 09.45.14|619x393](upload://k6pFXHoYirH6jjPz76YqEBQ5Q8k.png)
![2022-12-27 09.46.01|573x255](upload://mgrr2jGbJnbg2fmOj1ScMQo34EL.png)

I meant without the force and reboot flags, just selfupgrade by itself.

Can you post a screenshot of your dashboards overview tab? That will have all the answers I’m looking for regarding versions/kernel

if you have some corrupted files theres potential for more, wouldnt be a bad idea to flash the latest stable image either way via:

hive-replace -s -y

The Hive OS system boots correctly and everything works normally. It detects the cards and everything, but when it tries to install the miner it wants to use, it sends constant error messages. So little I can update it. That is the first error that comes up when it starts:

 Error installing hive-miners-bzminer

Reading package lists...
E: Encountered a section with no Package: header
E: Problem with MergeList /var/lib/dpkg/status
E: The package lists or status file could not be parsed or opened.

This would be the hiveos state capture:

try flashing the latest stable image, and then updating from there.

As I mentioned before, I had already tried reinstalling the entire system, I even tried using an SSD disk. But the problem persists. I also tried the beta version of hieos instead of the stable one. The problem is the same in all tests.

try a fresh drive then, sounds like yours is corrupt.

I have used 3 different ones (one of them recently bought). The problem is the same in all. That’s why I’m looking for help since I don’t find sense in this problem.

try a different method of flashing. hiveos installer, balena or rufus

Ok, finally the problem is solved. Use the Hiveos installer. To leave the data, the version that gave me problems was the one that was installed with balenaEtcher.

Thanks for the help.

1 Like