2015-07-07 5 views
0

Я пытаюсь создать образ debian и установить определенные приложения, все неинтерактивно. Почти все работает, но, увы, почти ...Apt-get install bluez и bluetooth для debian noninteractively

Я chroot в мой рабочий каталог и попытаться установить bluez и bluetooth:

apt-get install -y bluez 
apt-get install -y bluetooth 

Однако, я получаю следующее сообщение об ошибке после установки bluez

Failed to read /proc/cmdline. Ignoring: No such file or directory 
[....] Reloading system message bus config...Failed to open connection to "system" message bus: Failed to connect to socket /var/run/dbus/system_bus_socket: No such file or directory 
invoke-rc.d: initscript dbus, action "force-reload" failed. 
Failed to 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 is not configured yet. 

И вот bluetooth возвращает ошибку, заявив, что bluez - это зависимость, которая не была настроена.

Помощь ценятся

ответ

1

/proc/cmdline не виден в вашем CHROOT среды, которая вызывает BlueZ пакет не настроить.

Вы можете пропускать прок смонтировать /etc/fstab:

/proc /srv/chroot/wheezy/proc auto bind 0 0 

Посмотрите на раздел Псевдо файловых систем на here

0

Я думаю, что перед компиляцией Bluez он должен быть настроен, надежда ниже команды работает

sudo ./configure --prefix =/usr --mandir =/usr/share/man --sysconfdir =/etc --localstatedir =/var --disable-systemd --enable-experimental --enable-supporter- режим