revpi-factory-reset dtoverlay no such file

Topics about the Software of Revolution Pi
Post Reply
jenskastensson
Posts: 40
Joined: 27 Feb 2018, 15:47
Answers: 0

revpi-factory-reset dtoverlay no such file

Post by jenskastensson »

Hello,
I have this error message when I run factory-reset, what could be the problem? See screenshot https://drive.google.com/file/d/1kIojlW ... sp=sharing
Kindly Jens
User avatar
lukas
Expert
Posts: 186
Joined: 13 Feb 2017, 10:29
Answers: 0

Re: revpi-factory-reset dtoverlay no such file

Post by lukas »

The program /usr/bin/dtoverlay doesn't exist on the machine in question. It is part of the package "libraspberrypi-bin" and that package is installed by default on our customized Raspbian image. Apparently you're using a different image, which one is it? If it is a Debian variant, be sure to "apt-get install libraspberrypi-bin" and try again. Hope that helps.
jenskastensson
Posts: 40
Joined: 27 Feb 2018, 15:47
Answers: 0

Re: revpi-factory-reset dtoverlay no such file

Post by jenskastensson »

Thank you for the answer,
It seems the libraspberrypi-bin 1.20180924-1 is installed but there's an update available. The update seems to fix the issue Does this makes sense to you?

Before update:
pi@RevPi10557:~ $ sudo revpi-factory-reset core
/usr/sbin/revpi-factory-reset: line 34: /usr/bin/dtoverlay: No such file or directory
Password:
Hostname: RevPi10557
MAC Address eth0:
Reboot to activate the MAC Address
Be sure to write down the password if you have lost the sticker
on your RevPi!
pi@RevPi10557:~ $ dpkg -l libraspberrypi-bin
Desired=Unknown/Install/Remove/Purge/Hold
| Status=Not/Inst/Conf-files/Unpacked/halF-conf/Half-inst/trig-aWait/Trig-pend
|/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad)
||/ Name Version Architecture Description
+++-=====================================-=======================-=======================-===============================================================================
ii libraspberrypi-bin 1.20180924-1 armhf Miscellaneous Raspberry Pi utilities
pi@RevPi10557:~ $ sudo apt-get install -s libraspberrypi-bin
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following additional packages will be installed:
libraspberrypi-dev libraspberrypi-doc libraspberrypi0 raspberrypi-bootloader
The following packages will be upgraded:
libraspberrypi-bin libraspberrypi-dev libraspberrypi-doc libraspberrypi0 raspberrypi-bootloader
5 upgraded, 0 newly installed, 0 to remove and 51 not upgraded.
Inst libraspberrypi-doc [1.20180924-1] (1.20181112-1 Raspberry Pi Foundation:stable [armhf]) []
Inst libraspberrypi-dev [1.20180924-1] (1.20181112-1 Raspberry Pi Foundation:stable [armhf]) []
Inst libraspberrypi-bin [1.20180924-1] (1.20181112-1 Raspberry Pi Foundation:stable [armhf]) []
Inst libraspberrypi0 [1.20180924-1] (1.20181112-1 Raspberry Pi Foundation:stable [armhf]) []
Inst raspberrypi-bootloader [1.20180924-1] (1.20181112-1 Raspberry Pi Foundation:stable [armhf])
Conf libraspberrypi-doc (1.20181112-1 Raspberry Pi Foundation:stable [armhf])
Conf libraspberrypi-dev (1.20181112-1 Raspberry Pi Foundation:stable [armhf])
Conf libraspberrypi-bin (1.20181112-1 Raspberry Pi Foundation:stable [armhf])
Conf libraspberrypi0 (1.20181112-1 Raspberry Pi Foundation:stable [armhf])
Conf raspberrypi-bootloader (1.20181112-1 Raspberry Pi Foundation:stable [armhf])
pi@RevPi10557:~ $



Then after the apt-get upgrade the problem is gone

pi@RevPi10557:~ $ dpkg -l libraspberrypi-bin
Desired=Unknown/Install/Remove/Purge/Hold
| Status=Not/Inst/Conf-files/Unpacked/halF-conf/Half-inst/trig-aWait/Trig-pend
|/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad)
||/ Name Version Architecture Description
+++-=====================================-=======================-=======================-===============================================================================
ii libraspberrypi-bin 1.20181112-1 armhf Miscellaneous Raspberry Pi utilities
pi@RevPi10557:~ $ sudo revpi-factory-reset core
Password:
Hostname: RevPi10557
MAC Address eth0:
Reboot to activate the MAC Address
Be sure to write down the password if you have lost the sticker
on your RevPi!
Post Reply