Problem installing rockpi-sata drivers on Ubuntu 20.04.1

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.pth

Installed /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.pth

Using /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.pth

Using /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.pth

Using /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/radxa

End-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

1 Like
$ sudo i2cdetect -y 1
     0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f
00:          -- -- -- -- -- -- -- -- -- -- -- -- -- 
10: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- 
20: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- 
30: -- -- -- -- -- -- -- -- -- -- -- -- 3c -- -- -- 
40: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- 
50: -- UU -- -- -- -- -- -- -- -- -- -- -- -- -- -- 
60: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- 
70: -- -- -- -- -- -- -- --

It’s just a network issue and the file didn’t download completely. Just try again

Thanks it seems to be working now. Yesterday it kept failing.