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

Files list file for package "..." is missing final newline

Hi there, previously had a rig running off a USB. So plugged in an SSD and ran the following command:

dd if=/dev/sdb of=/dev/sda bs=10M count=800 status=progress

(checking /dev/sdb was the USB and /dev/sda was the SSD). Then ran:

shutdown -r now

However, I am seeing the following:

No /hive/miners/nbminer/h-manifest.conf

As well as (repeated for all miners)

dpkg: unrecoverable fatal error, aborting:
files list file for package ‘hive-miners-phoenixminer-5.7b’ is missing final newline
E: Sub-process /usr/bin/dpkg returned an error code (2)

I have tried running:

hpkg remove miners

And:

sudo dpkg --configure -a
sudo apt clean &&
sudo apt autoremove && 
sudo apt update &&
sudo apt dist-upgrade

As well as:

sudo apt-get install --reinstall hive-miners-xmrig-new-xmrig-6.14.1
sudo apt-get install --reinstall hive-miners-xmrig-new-xmrig-6.12.1
sudo apt-get install --reinstall hive-miners-phoenixminer-5.7b

Also tried a force upgrade (that failed with similar errors as above).

Any help much appreciated.

Currently trying the following command:

hive-replace https://download.hiveos.farm/hiveos-stable-clonedeploy-image.zip

Where I get:

20+0 records in
20+0 records out
20971520 bytes (21 MB, 20 MiB) copied, 0.0381713 s, 549 MB/s
mount: /hive-config: wrong fs type, bad option, bad superblock on /dev/loop0, missing codepage or helper program, or other error. ****
Config was not written to sda1
Image writing to sda is successfull!
Your rig is configured and ready to work under Hive OS.

After this command it’s not even booting.

I had a similar error message to the final newline one, but just re-running the dd command from my removable usb did the trick. Though just make sure you have any edits to files on the ssd stored elsewhere before you run the dd command or you’ll be recreating those from scratch. I had customized my shell a bit and now I’m redoing that. :slight_smile:

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