कई पैकेजों के लिए "निर्भरता की समस्या, अपुष्ट छोड़कर"


2

मैं Ubuntu 16.04 का उपयोग कर रहा हूं

$ sudo dpkg --configure -a
dpkg: error processing package lightdm (--configure):
dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of linux-image-4.4.0-53-generic:
linux-image-4.4.0-53-generic depends on initramfs-tools | linux-initramfs-tool; however:
Package initramfs-tools is not configured yet.
Package linux-initramfs-tool is not installed.
Package initramfs-tools which provides linux-initramfs-tool is not configured yet.

dpkg: error processing package linux-image-4.4.0-53-generic (--configure):
dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of accountsservice:
accountsservice depends on dbus; however:
Package dbus is not configured yet.

dpkg: error processing package accountsservice (--configure):
dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of linux-image-generic:
linux-image-generic depends on linux-image-4.4.0-53-generic; however:
Package linux-image-4.4.0-53-generic is not configured yet.

dpkg: error processing package linux-image-generic (--configure):
dependency problems - leaving unconfigured
dpkg: dependency problems prevent processing triggers for gconf2:
gconf2 depends on dbus-x11; however:
Package dbus-x11 is not configured yet.

dpkg: error processing package gconf2 (--configure):
dependency problems - leaving triggers unprocessed
dpkg: dependency problems prevent configuration of apparmor:
apparmor depends on initramfs-tools | linux-initramfs-tool; however:
Package initramfs-tools is not configured yet.
Package linux-initramfs-tool is not installed.
Package initramfs-tools which provides linux-initramfs-tool is not configured yet.

dpkg: error processing package apparmor (--configure):
dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of linux-image-extra-4.4.0-53-generic:
linux-image-extra-4.4.0-53-generic depends on linux-image-4.4.0-53-generic; however:
Package linux-image-4.4.0-53-generic is not configured yet.

dpkg: error processing package linux-image-extra-4.4.0-53-generic (--configure):
dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of linux-generic:
linux-generic depends on linux-image-generic (= 4.4.0.53.56); however:
Package linux-image-generic is not configured yet.

dpkg: error processing package linux-generic (--configure):
dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of snap-confine:
snap-confine depends on apparmor (>= 2.10.95-0ubuntu2.2); however:
Package apparmor is not configured yet.

dpkg: error processing package snap-confine (--configure):
dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of snapd:
snapd depends on snap-confine (>= 1.0.43); however:
Package snap-confine is not configured yet.

dpkg: error processing package snapd (--configure):
dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of ubuntu-core-launcher:
ubuntu-core-launcher depends on snap-confine; however:
Package snap-confine is not configured yet.

dpkg: error processing package ubuntu-core-launcher (--configure):
dependency problems - leaving unconfigured
dpkg: dependency problems prevent processing triggers for gconf2:
gconf2 depends on dbus-x11; however:
Package dbus-x11 is not configured yet.

dpkg: error processing package gconf2 (--configure):
dependency problems - leaving triggers unprocessed
dpkg: dependency problems prevent processing triggers for gconf2:
gconf2 depends on dbus-x11; however:
Package dbus-x11 is not configured yet.

dpkg: error processing package gconf2 (--configure):
dependency problems - leaving triggers unprocessed
dpkg: dependency problems prevent processing triggers for gconf2:
gconf2 depends on dbus-x11; however:
Package dbus-x11 is not configured yet.

dpkg: error processing package gconf2 (--configure):
dependency problems - leaving triggers unprocessed
dpkg: dependency problems prevent processing triggers for gconf2:
gconf2 depends on dbus-x11; however:
Package dbus-x11 is not configured yet.

dpkg: error processing package gconf2 (--configure):
dependency problems - leaving triggers unprocessed
dpkg: dependency problems prevent processing triggers for gconf2:
gconf2 depends on dbus-x11; however:
Package dbus-x11 is not configured yet.

dpkg: error processing package gconf2 (--configure):
dependency problems - leaving triggers unprocessed
dpkg: dependency problems prevent processing triggers for gconf2:
gconf2 depends on dbus-x11; however:
Package dbus-x11 is not configured yet.

dpkg: error processing package gconf2 (--configure):
dependency problems - leaving triggers unprocessed
dpkg: dependency problems prevent processing triggers for gconf2:
gconf2 depends on dbus-x11; however:
Package dbus-x11 is not configured yet.

dpkg: error processing package gconf2 (--configure):
dependency problems - leaving triggers unprocessed
dpkg: dependency problems prevent processing triggers for gconf2:
gconf2 depends on dbus-x11; however:
Package dbus-x11 is not configured yet.

dpkg: error processing package gconf2 (--configure):
dependency problems - leaving triggers unprocessed
dpkg: dependency problems prevent processing triggers for gconf2:
gconf2 depends on dbus-x11; however:
Package dbus-x11 is not configured yet.

dpkg: error processing package gconf2 (--configure):
dependency problems - leaving triggers unprocessed
dpkg: dependency problems prevent processing triggers for gconf2:
gconf2 depends on dbus-x11; however:
Package dbus-x11 is not configured yet.

dpkg: error processing package gconf2 (--configure):
dependency problems - leaving triggers unprocessed
dpkg: dependency problems prevent processing triggers for gconf2:
gconf2 depends on dbus-x11; however:
Package dbus-x11 is not configured yet.

dpkg: error processing package gconf2 (--configure):
dependency problems - leaving triggers unprocessed
dpkg: dependency problems prevent processing triggers for gconf2:
gconf2 depends on dbus-x11; however:
Package dbus-x11 is not configured yet.

dpkg: error processing package gconf2 (--configure):
dependency problems - leaving triggers unprocessed
dpkg: dependency problems prevent processing triggers for gconf2:
gconf2 depends on dbus-x11; however:
Package dbus-x11 is not configured yet.

dpkg: error processing package gconf2 (--configure):
dependency problems - leaving triggers unprocessed
dpkg: dependency problems prevent processing triggers for gconf2:
gconf2 depends on dbus-x11; however:
Package dbus-x11 is not configured yet.

dpkg: error processing package gconf2 (--configure):
dependency problems - leaving triggers unprocessed
dpkg: dependency problems prevent processing triggers for gconf2:
gconf2 depends on dbus-x11; however:
Package dbus-x11 is not configured yet.

dpkg: error processing package gconf2 (--configure):
dependency problems - leaving triggers unprocessed
dpkg: dependency problems prevent processing triggers for gconf2:
gconf2 depends on dbus-x11; however:
Package dbus-x11 is not configured yet.

dpkg: error processing package gconf2 (--configure):
dependency problems - leaving triggers unprocessed
dpkg: dependency problems prevent processing triggers for gconf2:
gconf2 depends on dbus-x11; however:
Package dbus-x11 is not configured yet.

dpkg: error processing package gconf2 (--configure):
dependency problems - leaving triggers unprocessed
dpkg: dependency problems prevent processing triggers for gconf2:
gconf2 depends on dbus-x11; however:
Package dbus-x11 is not configured yet.

dpkg: error processing package gconf2 (--configure):
dependency problems - leaving triggers unprocessed
dpkg: dependency problems prevent processing triggers for gconf2:
gconf2 depends on dbus-x11; however:
Package dbus-x11 is not configured yet.

dpkg: error processing package gconf2 (--configure):
dependency problems - leaving triggers unprocessed
dpkg: dependency problems prevent processing triggers for gconf2:
gconf2 depends on dbus-x11; however:
Package dbus-x11 is not configured yet.

dpkg: error processing package gconf2 (--configure):
dependency problems - leaving triggers unprocessed
dpkg: dependency problems prevent processing triggers for gconf2:
gconf2 depends on dbus-x11; however:
Package dbus-x11 is not configured yet.

dpkg: error processing package gconf2 (--configure):
dependency problems - leaving triggers unprocessed
dpkg: dependency problems prevent processing triggers for gconf2:
gconf2 depends on dbus-x11; however:
Package dbus-x11 is not configured yet.

dpkg: error processing package gconf2 (--configure):
dependency problems - leaving triggers unprocessed
dpkg: dependency problems prevent processing triggers for gconf2:
gconf2 depends on dbus-x11; however:
Package dbus-x11 is not configured yet.

dpkg: error processing package gconf2 (--configure):
dependency problems - leaving triggers unprocessed
dpkg: dependency problems prevent processing triggers for gconf2:
gconf2 depends on dbus-x11; however:
Package dbus-x11 is not configured yet.

dpkg: error processing package gconf2 (--configure):
dependency problems - leaving triggers unprocessed
dpkg: too many errors, stopping
Errors were encountered while processing:
ifupdown
whoopsie
udev
unattended-upgrades
resolvconf
dbus
pulseaudio
libpam-systemd:amd64
initramfs-tools-core
dbus-x11
pulseaudio-module-x11
initramfs-tools
xserver-xorg-core
network-manager
ubuntu-drivers-common
pulseaudio-module-bluetooth
lightdm
linux-image-4.4.0-53-generic
accountsservice
linux-image-generic
gconf2
apparmor
linux-image-extra-4.4.0-53-generic
linux-generic
snap-confine
snapd
ubuntu-core-launcher
gconf2
gconf2
gconf2
gconf2
gconf2
gconf2
gconf2
gconf2
gconf2
gconf2
gconf2
gconf2
gconf2
gconf2
gconf2
gconf2
gconf2
gconf2
gconf2
gconf2
gconf2
gconf2
gconf2
gconf2
Processing was halted because there were too many errors.

मुझे क्या करना चाहिए?


1
क्या आपने कोशिश की है sudo apt-get install -f ?
ट्रॉपिकल_पीच

4
क्या इस बारे में कोई पृष्ठभूमि है कि यह कैसे शुरू हुआ?
xangua

1
क्या करता sudo dpkg --configure dbus-x11है? यही कारण है कि पैकेज कई अन्य लोगों के ... के कारण हो रहा है
बाइट कमांडर

जवाबों:


4

मुझे यह समस्या Ubuntu 16.04 से 18.04 तक अपग्रेड करने में मिली। मेरा समाधान पोस्ट करना जो अन्य लोगों को इस पृष्ठ पर आने में मदद कर सकता है।

मैंने हर पैकेज के लिए निम्नलिखित को निष्पादित करने की कोशिश की जो टूटा हुआ लग रहा था।

dpkg --configure <package name>

कुछ निर्भरता पर निर्भर करते हुए निम्नलिखित संदेश दिखाई दिया:

debconf: DbDriver "config": /var/cache/debconf/config.dat is locked

इस समस्या का जवाब निम्नलिखित हल किया गया था config: "DbDriver debconf" ": config.dat अन्य प्रक्रिया द्वारा बंद कर दिया गया है: अस्थायी रूप से अनुपलब्ध संसाधन" जबकि संकुल स्थापित करने

मैंने उत्तर में वर्णित फ़ाइलों को हटा दिया और

dpkg --configure -a

समस्याओं के बिना भाग गया।


3

मेरे मामले में मुझे लिनक्स मिंट 17.3 (रोजा) से 18 (सारा) में अपग्रेड के दौरान इसी तरह की समस्या थी। मेरा आउटपुट इस तरह था:

dpkg: error processing package gconf2 (--configure):
 dependency problems - leaving triggers unprocessed
dpkg: dependency problems prevent processing triggers for gconf2:
 gconf2 depends on dbus-x11; however:
  Package dbus-x11 is not configured yet.

dpkg: error processing package gconf2 (--configure):
 dependency problems - leaving triggers unprocessed
dpkg: dependency problems prevent processing triggers for gconf2:
 gconf2 depends on dbus-x11; however:
  Package dbus-x11 is not configured yet.

dpkg: error processing package gconf2 (--configure):
 dependency problems - leaving triggers unprocessed
dpkg: dependency problems prevent processing triggers for gconf2:
 gconf2 depends on dbus-x11; however:
  Package dbus-x11 is not configured yet.

dpkg: error processing package gconf2 (--configure):
 dependency problems - leaving triggers unprocessed
dpkg: too many errors, stopping
Errors were encountered while processing:
 gconf2
 gconf2
 gconf2
 gconf2
 gconf2
 gconf2

बाइट कमांडर की टिप्पणी ने मुझे समाधान का संकेत दिया। sudo dpkg --configure dbus-x11शिकायत की कि पैकेज dbus कॉन्फ़िगर नहीं किया गया था। तो उस तर्क का पालन मैंने किया sudo dpkg --configure dbusऔर वह काम करने के लिए लग रहा था । उसके बाद मैं भागा sudo apt-get -f installऔर इस बार यह बिना किसी समस्या के चला।


बस मेरे लिए काम किया।
DMellon

1

मुझे इसमें बस एक ही समस्या थी:

apt reinstall gconf2

इसने मेरे लिए इसे ठीक कर दिया। मुझे उम्मीद है कि मैं इसमें आपकी मदद कर सकता हूं।


हमारी साइट का प्रयोग करके, आप स्वीकार करते हैं कि आपने हमारी Cookie Policy और निजता नीति को पढ़ और समझा लिया है।
Licensed under cc by-sa 3.0 with attribution required.