chrooted debian에서 xorg-dev를 설치하는 동안 dpkg 오류가 발생했습니다.

chrooted debian에서 xorg-dev를 설치하는 동안 dpkg 오류가 발생했습니다.

나는 안드로이드에서 데비안을 chroot했습니다. xorg-dev가 필요한 Fluxbox 1.3.7을 빌드하려고 합니다. 그래서 ::를 사용하여 xorg-dev를 설치했지만 apt-get instal xorg-dev 매번 다음 오류가 표시됩니다::

root@localhost:/# ls
bin   data  etc   lib         media  opt   root  sbin  sys  usr
boot  dev   home  lost+found  mnt    proc  run   srv   tmp  var
root@localhost:/# apt-get install xorg-dev
Reading package lists... Done
Building dependency tree
Reading state information... Done
xorg-dev is already the newest version.
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
18 not fully installed or removed.
After this operation, 0 B of additional disk space will be used.
Do you want to continue? [Y/n] Y
/usr/sbin/dpkg-preconfigure: unrecognized option '--apt'
Try `ischroot --help' for more information.
Setting up x11-common (1:7.7+7) ...
/var/lib/dpkg/info/x11-common.postinst: 697: /var/lib/dpkg/info/x11-common.postinst: update-rc.d: Permission denied
dpkg: error processing package x11-common (--configure):
 subprocess installed post-installation script returned error exit status 126dpkg: dependency problems prevent configuration of libice6:arm64:
 libice6:arm64 depends on x11-common; however:
  Package x11-common is not configured yet.

dpkg: error processing package libice6:arm64 (--configure):
 dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of libsm6:arm64:
 libsm6:arm64 depends on libice6 (>= 1:1.0.0); however:
  Package libice6:arm64 is not configured yet.

dpkg: error processing package libsm6:arm64 (--configure):
 dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of libxt6:arm64:
 libxt6:arm64 depends on libice6 (>= 1:1.0.0); however:
  Package libice6:arm64 is not configured yet.
 libxt6:arm64 depends on libsm6; however:
  Package libsm6:arm64 is not configured yet.

dpkg: error processing package libxt6:arm64 (--configure):
 dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of libxmu6:arm64:
 libxmu6:arm64 depends on libxt6; however:
  Package libxt6:arm64 is not configured yet.

dpkg: error processing package libxmu6:arm64 (--configure):
 dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of libxaw7:arm64:
 libxaw7:arm64 depends on libxmu6; however:
  Package libxmu6:arm64 is not configured yet.
 libxaw7:arm64 depends on libxt6; however:
  Package libxt6:arm64 is not configured yet.

dpkg: error processing package libxaw7:arm64 (--configure):
 dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of libxss1:arm64:
 libxss1:arm64 depends on x11-common; however:
  Package x11-common is not configured yet.

dpkg: error processing package libxss1:arm64 (--configure):
 dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of libxtst6:arm64:
 libxtst6:arm64 depends on x11-common; however:
  Package x11-common is not configured yet.

dpkg: error processing package libxtst6:arm64 (--configure):
 dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of libxvmc1:arm64:
 libxvmc1:arm64 depends on x11-common; however:
  Package x11-common is not configured yet.

dpkg: error processing package libxvmc1:arm64 (--configure):
 dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of libice-dev:arm64:
 libice-dev:arm64 depends on libice6 (= 2:1.0.9-1+b1); however:
  Package libice6:arm64 is not configured yet.

dpkg: error processing package libice-dev:arm64 (--configure):
 dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of libsm-dev:arm64:
 libsm-dev:arm64 depends on libsm6 (= 2:1.2.2-1+b1); however:
  Package libsm6:arm64 is not configured yet.
 libsm-dev:arm64 depends on libice-dev (>= 1:1.0.0-1); however:
  Package libice-dev:arm64 is not configured yet.

dpkg: error processing package libsm-dev:arm64 (--configure):
 dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of libxt-dev:arm64:
 libxt-dev:arm64 depends on libxt6 (= 1:1.1.4-1+b1); however:
  Package libxt6:arm64 is not configured yet.
 libxt-dev:arm64 depends on libsm-dev; however:
  Package libsm-dev:arm64 is not configured yet.

dpkg: error processing package libxt-dev:arm64 (--configure):
 dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of libxmu-dev:arm64:
 libxmu-dev:arm64 depends on libxt-dev; however:
  Package libxt-dev:arm64 is not configured yet.
 libxmu-dev:arm64 depends on libxmu6 (= 2:1.1.2-1); however:
  Package libxmu6:arm64 is not configured yet.

dpkg: error processing package libxmu-dev:arm64 (--configure):
 dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of libxaw7-dev:arm64:
 libxaw7-dev:arm64 depends on libxaw7 (= 2:1.0.12-2+b1); however:
  Package libxaw7:arm64 is not configured yet.
 libxaw7-dev:arm64 depends on libxmu-dev; however:
  Package libxmu-dev:arm64 is not configured yet.

dpkg: error processing package libxaw7-dev:arm64 (--configure):
 dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of libxss-dev:arm64:
 libxss-dev:arm64 depends on libxss1 (= 1:1.2.2-1); however:
  Package libxss1:arm64 is not configured yet.

dpkg: error processing package libxss-dev:arm64 (--configure):
 dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of libxtst-dev:arm64:
 libxtst-dev:arm64 depends on libxtst6 (= 2:1.2.2-1+b1); however:
  Package libxtst6:arm64 is not configured yet.

dpkg: error processing package libxtst-dev:arm64 (--configure):
 dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of libxvmc-dev:arm64:
 libxvmc-dev:arm64 depends on libxvmc1 (= 2:1.0.8-2+b1); however:
  Package libxvmc1:arm64 is not configured yet.

dpkg: error processing package libxvmc-dev:arm64 (--configure):
 dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of xorg-dev:
 xorg-dev depends on libice-dev; however:
  Package libice-dev:arm64 is not configured yet.
 xorg-dev depends on libsm-dev; however:
  Package libsm-dev:arm64 is not configured yet.
 xorg-dev depends on libxaw7-dev; however:
  Package libxaw7-dev:arm64 is not configured yet.
 xorg-dev depends on libxmu-dev; however:
  Package libxmu-dev:arm64 is not configured yet.
 xorg-dev depends on libxss-dev; however:
  Package libxss-dev:arm64 is not configured yet.
 xorg-dev depends on libxt-dev; however:
  Package libxt-dev:arm64 is not configured yet.
 xorg-dev depends on libxtst-dev; however:
  Package libxtst-dev:arm64 is not configured yet.
 xorg-dev depends on libxvmc-dev; however:
  Package libxvmc-dev:arm64 is not configured yet.

dpkg: error processing package xorg-dev (--configure):
 dependency problems - leaving unconfigured
Errors were encountered while processing:
 x11-common
 libice6:arm64
 libsm6:arm64
 libxt6:arm64
 libxmu6:arm64
 libxaw7:arm64
 libxss1:arm64
 libxtst6:arm64
 libxvmc1:arm64
 libice-dev:arm64
 libsm-dev:arm64
 libxt-dev:arm64
 libxmu-dev:arm64
 libxaw7-dev:arm64
 libxss-dev:arm64
 libxtst-dev:arm64
 libxvmc-dev:arm64
 xorg-dev
E: Sub-process /usr/bin/dpkg returned an error code (1)
root@localhost:/#

답변1

내가 아는 한, 구성되지 않은 패키지가 일부 있습니다.

sudo dpkg --configure -a

다음 순서로 구성합니다.

  1. xserver-xorg
  2. 정리하다
  3. 쿠분투 데스크탑

예를 들어

sudo dpkg --configure xserver-xorg

관련 정보