linux - Apt-get install bluez and bluetooth for debian noninteractively -
i'm trying build image of debian , install applications, non-interactively. works, alas, ...
i chroot
working directory , try install bluez
, bluetooth
:
apt-get install -y bluez apt-get install -y bluetooth
however, following error after installing bluez
failed read /proc/cmdline. ignoring: no such file or directory [....] reloading system message bus config...failed open connection "system" message bus: failed connect socket /var/run/dbus/system_bus_socket: no such file or directory invoke-rc.d: initscript dbus, action "force-reload" failed. failed read /proc/cmdline. ignoring: no such file or directory [....] starting bluetooth:/sbin/start-stop-daemon: nothing in /proc - not mounted? invoke-rc.d: initscript bluetooth, action "start" failed. dpkg: error processing package bluez (--configure): subprocess installed post-installation script returned error exit status 2 dpkg: dependency problems prevent configuration of bluetooth: bluetooth depends on bluez; however: package bluez not configured yet.
and bluetooth
returns error saying bluez
dependency has not been configured.
help appreciated
/proc/cmdline
not visible in chroot environment causing bluez package fail configure.
you may missing proc mount /etc/fstab
:
/proc /srv/chroot/wheezy/proc auto bind 0 0
look @ section pseudo filesystems on here
Comments
Post a Comment