Installing mysql-server on 4.4.35-bone14

21 views
Skip to first unread message

ferdster

unread,
Nov 30, 2016, 4:27:03 PM11/30/16
to BeagleBoard
I used this guide to make the sd card:

When I try to 'apt-get install mysql-server' two errors come up.

1. 
debconf: unable to initialize frontend: Dialog
debconf: (No usable dialog-like program is installed, so the dialog based frontend cannot be used. at /usr/share/perl5/Debconf/FrontEnd/Dialog.pm line 76.)
debconf: falling back to frontend: Readline

This one seems ok as it simply doesn't show the nice setup GUI.

2.
df: unrecognized option '--portability'
BusyBox v1.22.1 (Debian 1:1.22.0-9+deb8u1) multi-call binary.

Usage: df [-Pkmhai] [-B SIZE] [FILESYSTEM]...

Print filesystem usage statistics

        -P      POSIX output format
        -k      1024-byte blocks (default)
        -m      1M-byte blocks
        -h      Human readable (e.g. 1K 243M 2G)
        -a      Show all filesystems
        -i      Inodes
        -B SIZE Blocksize

ERROR: There's not enough space in /var/lib/mysql/
dpkg: error processing archive /var/cache/apt/archives/mysql-server-5.5_5.5.53-0+deb8u1_armhf.deb (--unpack):
 subprocess new pre-installation script returned error exit status 1

This one causes the whole install to fail because it can't check the amount of free space. I think I need to update df from coreutils, which I tried, but it still didn't support the --portability flag. I most likely did not update df correctly.

Thanks.

Robert Nelson

unread,
Nov 30, 2016, 4:37:46 PM11/30/16
to Beagle Board, Ferdi Tjandra
You installed the very small rootfs, this relies on BusyBox for a few
commands, i've now nuked the df link:

https://github.com/RobertCNelson/omap-image-builder/commit/93bbf0939302a0db6dfaa71caf5c61a161d66101

sudo rm -f /usr/local/bin/df

and it now should install fine..

Regards,

--
Robert Nelson
https://rcn-ee.com/

ferdster

unread,
Dec 2, 2016, 3:12:09 PM12/2/16
to BeagleBoard, ftja...@gmail.com
Thanks. I ended up deleting a bunch of others (logger, find, readlink, egrep, grep, cp). But I now have mysql, lighttpd, and php installed.
Reply all
Reply to author
Forward
0 new messages