udev 하위 프로세스 /usr/bin/dpkg가 오류 코드를 반환합니다(1)

udev 하위 프로세스 /usr/bin/dpkg가 오류 코드를 반환합니다(1)

몇 주 동안 Debian Jessie 8.7에서 아무것도 업데이트/설치할 수 없습니다. apt-get 업그레이드(또는 패키지 설치/제거)를 수행하면 아래와 같은 오류가 발생합니다. 어떤 도움이라도 대단히 감사하겠습니다.

Extracting templates from packages: 100%
Preconfiguring packages ...
Setting up udev (215-17+deb8u7) ...
addgroup: The group `input' already exists as a system group. Exiting.
update-initramfs: deferring update (trigger activated)
insserv: warning: script 'lprng' missing LSB tags and overrides
insserv: warning: script 'lpd' missing LSB tags and overrides
insserv: warning: script 'cupsys' missing LSB tags and overrides
insserv: There is a loop between service minidlna and lprng if stopped
insserv:  loop involving service lprng at depth 2
insserv:  loop involving service minidlna at depth 1
insserv: Stopping lprng depends on minidlna and therefore on system facility `$all' which can not be true!
insserv: Stopping lpd depends on minidlna and therefore on system facility `$all' which can not be true!
insserv: Stopping cupsys depends on minidlna and therefore on system facility `$all' which can not be true!
insserv: exiting now without changing boot order!
update-rc.d: error: insserv rejected the script header
dpkg: error processing package udev (--configure):
 subprocess installed post-installation script returned error exit status 1
Processing triggers for initramfs-tools (0.120+deb8u2) ...
update-initramfs: Generating /boot/initrd.img-3.16.0-4-amd64
W: Possible missing firmware /lib/firmware/rtl_nic/rtl8168g-3.fw for module r8169
W: Possible missing firmware /lib/firmware/rtl_nic/rtl8168g-2.fw for module r8169
W: Possible missing firmware /lib/firmware/rtl_nic/rtl8106e-2.fw for module r8169
W: Possible missing firmware /lib/firmware/rtl_nic/rtl8106e-1.fw for module r8169
W: Possible missing firmware /lib/firmware/rtl_nic/rtl8411-2.fw for module r8169
W: Possible missing firmware /lib/firmware/rtl_nic/rtl8411-1.fw for module r8169
W: Possible missing firmware /lib/firmware/rtl_nic/rtl8402-1.fw for module r8169
W: Possible missing firmware /lib/firmware/rtl_nic/rtl8168f-2.fw for module r8169
W: Possible missing firmware /lib/firmware/rtl_nic/rtl8168f-1.fw for module r8169
W: Possible missing firmware /lib/firmware/rtl_nic/rtl8105e-1.fw for module r8169
W: Possible missing firmware /lib/firmware/rtl_nic/rtl8168e-3.fw for module r8169
W: Possible missing firmware /lib/firmware/rtl_nic/rtl8168e-2.fw for module r8169
W: Possible missing firmware /lib/firmware/rtl_nic/rtl8168e-1.fw for module r8169
W: Possible missing firmware /lib/firmware/rtl_nic/rtl8168d-2.fw for module r8169
W: Possible missing firmware /lib/firmware/rtl_nic/rtl8168d-1.fw for module r8169
Errors were encountered while processing:
 udev
E: Sub-process /usr/bin/dpkg returned an error code (1)

apt-cache 정책은 다음을 반환합니다.

Package files:
 100 /var/lib/dpkg/status
     release a=now
 500 http://www.scootersoftware.com/ bcompare4/non-free amd64 Packages
     release o=Scooter Software,a=stable,n=bcompare4,l=Scooter Software,c=non-free
     origin www.scootersoftware.com
 500 http://dl.google.com/linux/talkplugin/deb/ stable/main amd64 Packages
     release v=1.0,o=Google, Inc.,a=stable,n=stable,l=Google,c=main
     origin dl.google.com
 500 http://dl.google.com/linux/earth/deb/ stable/main amd64 Packages
     release v=1.0,o=Google, Inc.,a=stable,n=stable,l=Google,c=main
     origin dl.google.com
 500 http://download.videolan.org/pub/debian/stable/  Packages
     release o=videolan,a=stable,n=stable,l=videolan,c=
     origin download.videolan.org
 500 http://security.debian.org/ jessie/updates/main Translation-en
 500 http://security.debian.org/ jessie/updates/main amd64 Packages
     release v=8,o=Debian,a=stable,n=jessie,l=Debian-Security,c=main
     origin security.debian.org
 500 http://ftp.us.debian.org/debian/ jessie-updates/main Translation-en
 500 http://ftp.us.debian.org/debian/ jessie-updates/main amd64 Packages
     release o=Debian,a=stable-updates,n=jessie-updates,l=Debian,c=main
     origin ftp.us.debian.org
 500 http://ftp.de.debian.org/debian/ jessie-backports/main Translation-en
 100 http://ftp.de.debian.org/debian/ jessie-backports/main amd64 Packages
     release o=Debian Backports,a=jessie-backports,n=jessie-backports,l=Debian Backports,c=main
     origin ftp.de.debian.org
 500 http://ftp.us.debian.org/debian/ jessie/non-free Translation-en
 500 http://ftp.us.debian.org/debian/ jessie/main Translation-en
 500 http://ftp.us.debian.org/debian/ jessie/contrib Translation-en
 500 http://ftp.us.debian.org/debian/ jessie/non-free amd64 Packages
     release v=8.8,o=Debian,a=stable,n=jessie,l=Debian,c=non-free
     origin ftp.us.debian.org
 500 http://ftp.us.debian.org/debian/ jessie/contrib amd64 Packages
     release v=8.8,o=Debian,a=stable,n=jessie,l=Debian,c=contrib
     origin ftp.us.debian.org
 500 http://ftp.us.debian.org/debian/ jessie/main amd64 Packages
     release v=8.8,o=Debian,a=stable,n=jessie,l=Debian,c=main
     origin ftp.us.debian.org
Pinned packages:

구체적으로 다음 minidlna과 같습니다 lprng.

root@Frederic:/home/frederic# apt-cache policy minidlna lprng
minidlna:
  Installed: (none)
  Candidate: 1.1.2+dfsg-1.1+b3
  Version table:
     1.1.2+dfsg-1.1+b3 0
        500 http://ftp.us.debian.org/debian/ jessie/main amd64 Packages
        100 /var/lib/dpkg/status
lprng:
  Installed: (none)
  Candidate: 3.8.B-2
  Version table:
     3.8.B-2 0
        500 http://ftp.us.debian.org/debian/ jessie/main amd64 Packages

답변1

minidlnainitscript가 lprng현재 보고 있는 문제의 원인입니다. ( 출력에 표시된 대로 apt-cache policy) 더 이상 설치되지 않으므로 패키지만 제거해야 합니다. 이렇게 하면 더 이상 필요하지 않은 init 스크립트가 제거됩니다.

dpkg --purge minidlna lprng

(이 경우 initscript의 큰 문제는 더 이상 업그레이드되지 않으므로 더 이상 버그 수정을 받을 수 없지만 initscript 종속성 해결 프로그램은 여전히 ​​이를 고려한다는 것입니다.)

관련 정보