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

Selfupgrade && sreboot (failed, exitcode=100)

I recently tried to upgrade my rig but keep getting this error, I haven’t tried to force just yet. Any ideas?

Current version: 0.6-212@220102
Hit:1 Index of /repo/binary/ InRelease
Hit:2 Index of /repo/binary/ InRelease
Reading package lists…
Stopping miners
Sending Ctrl+C to screen session 10018
Waiting 15s for miners to exit. . . . . . . . . . . . . . .
Stopping screen session 10018


Reading package lists…
Building dependency tree…
Reading state information…
hive-lib is already the newest version (0.6-19).
hive-opt is already the newest version (0.6-52).
The following additional packages will be installed:
openssl
The following packages will be upgraded:
hive hive-opt-algomap openssl
3 upgraded, 0 newly installed, 0 to remove and 19 not upgraded.
Need to get 0 B/6992 kB of archives.
After this operation, 1491 kB of additional disk space will be used.
dpkg: unrecoverable fatal error, aborting:
files list file for package ‘hwinfo’ is missing final newline
E: Sub-process /usr/bin/dpkg returned an error code (2)
(exitcode=100)

Checking miners packages
Reading package lists…
Building dependency tree…
Reading state information…
hive-miners-t-rex is already the newest version (0.6-90).
hive-miners-gminer is already the newest version (0.6-153).
hive-miners-nbminer is already the newest version (0.6-82).
The following package was automatically installed and is no longer required:
hive-miners-lolminer-1.38
Use ‘apt autoremove’ to remove it.
The following additional packages will be installed:
hive-miners-lolminer-1.39
The following NEW packages will be installed:
hive-miners-lolminer-1.39
The following packages will be upgraded:
hive-miners-lolminer hive-miners-teamredminer
2 upgraded, 1 newly installed, 0 to remove and 20 not upgraded.
Need to get 0 B/6183 kB of archives.
After this operation, 0 B of additional disk space will be used.
Selecting previously unselected package hive-miners-lolminer-1.39.
dpkg: unrecoverable fatal error, aborting:
files list file for package ‘hwinfo’ is missing final newline
E: Sub-process /usr/bin/dpkg returned an error code (2)
(exitcode=100)
Checking miners version packages
Reading package lists…
Building dependency tree…
Reading state information…
hive-miners-nbminer-40.1 is already the newest version (0.6-01).
hive-miners-teamredminer-0.9.0 is already the newest version (0.6-01).
hive-miners-gminer-2.73 is already the newest version (0.6-01).
hive-miners-gminer-2.74 is already the newest version (0.6-01).
hive-miners-gminer-2.70 is already the newest version (0.6-01).
hive-miners-t-rex-0.24.2 is already the newest version (0.6-01).
hive-miners-t-rex-0.24.5 is already the newest version (0.6-01).
hive-miners-lolminer-1.38 is already the newest version (0.6-01).
0 upgraded, 0 newly installed, 0 to remove and 22 not upgraded.


Restarting autofan and watchdog
Starting miners
Starting lolminer
Upgrade failed

try running selfupgrade from shell and see if it errors

same error

dpkg: unrecoverable fatal error, aborting:
files list file for package ‘hwinfo’ is missing final newline
E: Sub-process /usr/bin/dpkg returned an error code (2)
(exitcode=100)

Checking miners version packages
Reading package lists… Done
Building dependency tree
Reading state information… Done
hive-miners-nbminer-40.1 is already the newest version (0.6-01).
hive-miners-teamredminer-0.9.0 is already the newest version (0.6-01).
hive-miners-gminer-2.73 is already the newest version (0.6-01).
hive-miners-gminer-2.74 is already the newest version (0.6-01).
hive-miners-gminer-2.70 is already the newest version (0.6-01).
hive-miners-t-rex-0.24.2 is already the newest version (0.6-01).
hive-miners-t-rex-0.24.5 is already the newest version (0.6-01).
hive-miners-lolminer-1.38 is already the newest version (0.6-01).
0 upgraded, 0 newly installed, 0 to remove and 22 not upgraded.


Restarting autofan and watchdog
Starting miners
Starting lolminer
Upgrade failed

try rebooting first?

Already tried, also tried with --force both from web and shell, exact same error.

possible dpkg is corrupted, you can try doing a hive-replace -s and see if youre able to upgrade after.

What does that command do? I wouldn’t like to end up with and unstable OS, I already had to use beta version in orden to run my 6700xt gpus

according to other linux forums, the hwinfo info files, is corrupted, I’ll have to purge and reinstalling it with apt, I’ll have to wait until i get physical access to the rig, that package has important dependencies

It will reflash was the latest stable image, leaving your config in tact, should only take around 5-20 minutes depending on internet speed and drive speed. No need to have physical access or try to reinstall apps when reflashing the whole thing is easier.

No need for the beta image either, 6700xts have long been supported by the stable. Alternatively you can use hive-replace —beta if you wanted, but I believe the stable has more updated drivers at this point in time.

1 Like

hive-replace doesn’t work, neither apt purge hwinfo, i think the file system is corrupted, I’ll have to flash a new usb drive. I’ve been using the beta image for almost 6 months, back then the stable version won´t even detect my ASUS 6700XT.

So I flashed a new USB and you were right, latest stable image works with mi ASUS 6700XT.

Nice. Dpkg working as intended now? Able to upgrade?

Yes, it’s a freshly imaged new usb, everything working fine now.
Thank you!

1 Like

This topic was automatically closed 416 days after the last reply. New replies are no longer allowed.