I had to reinstall my RPi4 SATA HAT server from scratch.
It was working fine on Ubuntu 20.04 previously.
When I tried to install the rockpi-sata drivers on 20.04.1, it gets stuck at the point after Finished processing dependencies for Adafruit-SSD1306==1.6.2
and eventually generates the subsequent error.
*** Quad SATA Hat Install for Raspberry Pi 3B+/4B+
*** Tested distributions:
*** Raspbian buster 32-bit/64-bit(testing)
*** Ubuntu Server 20.04 armhf and arm64*** Please report problems to setq@radxa.com and we will try to fix.
running install
running bdist_egg
running egg_info
creating Adafruit_SSD1306.egg-info
writing Adafruit_SSD1306.egg-info/PKG-INFO
writing dependency_links to Adafruit_SSD1306.egg-info/dependency_links.txt
writing requirements to Adafruit_SSD1306.egg-info/requires.txt
writing top-level names to Adafruit_SSD1306.egg-info/top_level.txt
writing manifest file âAdafruit_SSD1306.egg-info/SOURCES.txtâ
reading manifest file âAdafruit_SSD1306.egg-info/SOURCES.txtâ
writing manifest file âAdafruit_SSD1306.egg-info/SOURCES.txtâ
installing library code to build/bdist.linux-aarch64/egg
running install_lib
running build_py
creating build
creating build/lib
creating build/lib/Adafruit_SSD1306
copying Adafruit_SSD1306/SSD1306.py -> build/lib/Adafruit_SSD1306
copying Adafruit_SSD1306/init.py -> build/lib/Adafruit_SSD1306
creating build/bdist.linux-aarch64
creating build/bdist.linux-aarch64/egg
creating build/bdist.linux-aarch64/egg/Adafruit_SSD1306
copying build/lib/Adafruit_SSD1306/SSD1306.py -> build/bdist.linux-aarch64/egg/Adafruit_SSD1306
copying build/lib/Adafruit_SSD1306/init.py -> build/bdist.linux-aarch64/egg/Adafruit_SSD1306
byte-compiling build/bdist.linux-aarch64/egg/Adafruit_SSD1306/SSD1306.py to SSD1306.cpython-38.pyc
byte-compiling build/bdist.linux-aarch64/egg/Adafruit_SSD1306/init.py to init.cpython-38.pyc
creating build/bdist.linux-aarch64/egg/EGG-INFO
copying Adafruit_SSD1306.egg-info/PKG-INFO -> build/bdist.linux-aarch64/egg/EGG-INFO
copying Adafruit_SSD1306.egg-info/SOURCES.txt -> build/bdist.linux-aarch64/egg/EGG-INFO
copying Adafruit_SSD1306.egg-info/dependency_links.txt -> build/bdist.linux-aarch64/egg/EGG-INFO
copying Adafruit_SSD1306.egg-info/requires.txt -> build/bdist.linux-aarch64/egg/EGG-INFO
copying Adafruit_SSD1306.egg-info/top_level.txt -> build/bdist.linux-aarch64/egg/EGG-INFO
zip_safe flag not set; analyzing archive contentsâŚ
creating dist
creating âdist/Adafruit_SSD1306-1.6.2-py3.8.eggâ and adding âbuild/bdist.linux-aarch64/eggâ to it
removing âbuild/bdist.linux-aarch64/eggâ (and everything under it)
Processing Adafruit_SSD1306-1.6.2-py3.8.egg
Removing /usr/local/lib/python3.8/dist-packages/Adafruit_SSD1306-1.6.2-py3.8.egg
Copying Adafruit_SSD1306-1.6.2-py3.8.egg to /usr/local/lib/python3.8/dist-packages
Adafruit-SSD1306 1.6.2 is already the active version in easy-install.pthInstalled /usr/local/lib/python3.8/dist-packages/Adafruit_SSD1306-1.6.2-py3.8.egg
Processing dependencies for Adafruit-SSD1306==1.6.2
Searching for Adafruit-GPIO==1.0.5
Best match: Adafruit-GPIO 1.0.5
Processing Adafruit_GPIO-1.0.5-py3.8.egg
Adafruit-GPIO 1.0.5 is already the active version in easy-install.pthUsing /usr/local/lib/python3.8/dist-packages/Adafruit_GPIO-1.0.5-py3.8.egg
Searching for spidev==3.5
Best match: spidev 3.5
Processing spidev-3.5-py3.8-linux-aarch64.egg
spidev 3.5 is already the active version in easy-install.pthUsing /usr/local/lib/python3.8/dist-packages/spidev-3.5-py3.8-linux-aarch64.egg
Searching for Adafruit-PureIO==1.1.5
Best match: Adafruit-PureIO 1.1.5
Processing Adafruit_PureIO-1.1.5-py3.8.egg
Adafruit-PureIO 1.1.5 is already the active version in easy-install.pthUsing /usr/local/lib/python3.8/dist-packages/Adafruit_PureIO-1.1.5-py3.8.egg
Finished processing dependencies for Adafruit-SSD1306==1.6.2
/home/mediadmin/radxaEnd-of-central-directory signature not found. Either this file is not
a zipfile, or it constitutes one disk of a multi-part archive. In the
latter case the central directory and zipfile comment will be found on
the last disk(s) of this archive.
unzip: cannot find zipfile directory in one of /tmp/tmp.TxcLAVCnqn or
/tmp/tmp.TxcLAVCnqn.zip, and cannot find /tmp/tmp.TxcLAVCnqn.ZIP, period.
make: *** /tmp/tmp.EpX4IyWRZa/pigpio-v77: No such file or directory. Stop.
make: *** /tmp/tmp.EpX4IyWRZa/pigpio-v77: No such file or directory. Stop.(Reading database ⌠102367 files and directories currently installed.)
Preparing to unpack /tmp/tmp.MDCk407c9f âŚ
Removed /etc/systemd/system/multi-user.target.wants/rockpi-sata.service.
Unpacking rockpi-sata (0.14) over (0.14) âŚ
Setting up rockpi-sata (0.14) âŚ
Created symlink /etc/systemd/system/multi-user.target.wants/rockpi-sata.service â /lib/systemd/system/rockpi-sata.service.
Job for pigpiod.service failed because the control process exited with error code.
See âsystemctl status pigpiod.serviceâ and âjournalctl -xeâ for details.
dpkg: error processing package rockpi-sata (âinstall):
installed rockpi-sata package post-installation script subprocess returned error exit status 1
Errors were encountered while processing:
rockpi-sata