Hi all,
some days ago I successfully built the image mentioned above (Build environment is Ubuntu 14.04/64 bit). The only remarkable issue was the ever-repeating "firstrun" script, which was easily solved with the method mentioned here: http://forum.armbian.com/index.php/topic/1100-post-install-scripts-on-every-reboot/#entry8509
(may be ALL of the scripts should be changed this way?)
But today, after checking out the actual "master", I see a lot of failed copy and sed commands until the debootstrap-ng script finally fails at Mali-libdri2.
The 1st occurrence of an error was during installation of "ramlog". I've inserted a breakpoint and looked into the image. "dpkg.log" reads
2016-05-13 07:45:53 startup archives install 2016-05-13 07:45:53 install ramlog:all <none> 2.0.0 2016-05-13 07:45:53 status half-installed ramlog:all 2.0.0 2016-05-13 07:45:53 status unpacked ramlog:all 2.0.0 2016-05-13 07:45:53 status unpacked ramlog:all 2.0.0
I manually issued the dpkg -i with the following result:
dpkg -i /tmp/ramlog_2.0.0_all.deb Selecting previously unselected package ramlog. (Reading database ... 9890 files and directories currently installed.) Unpacking ramlog (from /tmp/ramlog_2.0.0_all.deb) ... dpkg: dependency problems prevent configuration of ramlog: ramlog depends on lsof; however: Package lsof is not installed. ramlog depends on rsync; however: Package rsync is not installed. dpkg: error processing ramlog (--install): dependency problems - leaving unconfigured Errors were encountered while processing: ramlog
I have tried to deactivate the apt-cache by inserting the somewhat hidden command "NO_APT_CACHER=yes" in my compile.sh but this didn't help.
(There are more errors following this one, e.g. /etc/default/console-setup is missing as well as /etc/lirc/hardware.conf, /etc/lirc/lircd.conf, /etc/wicd/manager-settings.conf, /etc/default/nodm, /etc/X11/xorg.conf)
Some strange messages in-between, which I think I also saw earlier but as i haven't faced an issue with the image I ignored them:
[ o.k. ] Installing desktop [ XFCE ] /bin/tar: A lone zero block at 70 /bin/tar: A lone zero block at 70 /bin/bash: unzip: command not found
At the very end:
[ o.k. ] Adding support for Mali - acceleration [ sunxi ] E: Unable to locate package mesa-utils-extra E: Unable to locate package libdri2-1 E: Unable to locate package libdri2-dev dpkg: dependency problems prevent configuration of libdri2-1: libdri2-1 depends on libdrm2 (>= 2.3.1); however: Package libdrm2 is not installed. libdri2-1 depends on libx11-6 (>= 2:1.4.99.1); however: Package libx11-6 is not installed. libdri2-1 depends on libxext6; however: Package libxext6 is not installed. dpkg: error processing libdri2-1 (--install): dependency problems - leaving unconfigured Errors were encountered while processing: libdri2-1 [ error ] Installation failed [ Mali - libdri2-1 ]
What should I do now?