./dev.sh fails with build failed
samqi opened this issue · comments
Some error occured during build,but some errors were encountered:
Get:113 http://archive.ubuntu.com/ubuntu focal-updates/universe amd64 qpdf amd64 9.1.1-1ubuntu0.1 [475 kB]
debconf: delaying package configuration, since apt-utils is not installed
Fetched 54.9 MB in 15s (3649 kB/s)
(Reading database ... 9619 files and directories currently installed.)
Preparing to unpack .../gcc-10-base_10.5.0-1ubuntu1~20.04_amd64.deb ...
and also
mv: cannot move '/etc/kernel/postinst.d/apt-auto-removal' to a subdirectory of itself, '/etc/kernel/postinst.d/apt-auto-removal.dpkg-remove'
dpkg: error processing archive /var/cache/apt/archives/apt_2.0.10_amd64.deb (--unpack):
new apt package pre-installation script subprocess returned error exit status 1
Errors were encountered while processing:
/var/cache/apt/archives/apt_2.0.10_amd64.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)
The command '/bin/sh -c apt-get update && apt-get upgrade -y' returned a non-zero code: 100
ERROR: Service 'ocr_worker' failed to build : Build failed