Couldn't configure pre-depend - probably a dependency cycle.

Vom einfachen Programm zum fertigen Debian-Paket, Fragen rund um Programmiersprachen, Scripting und Lizenzierung.
Antworten
Benutzeravatar
xcomm
Beiträge: 804
Registriert: 21.09.2003 05:12:01
Wohnort: Europe
Kontaktdaten:

Couldn't configure pre-depend - probably a dependency cycle.

Beitrag von xcomm » 16.07.2009 11:08:25

Hi Gemeinde,

habe auf einem Server gerade seit 2 Tagen das folgende Problem unter Debian unstable.

Code: Alles auswählen

aptitude safe-upgrade
Reading package lists... Done
Building dependency tree       
Reading state information... Done
Reading extended state information       
Initializing package states... Done
Writing extended state information... Done
Resolving dependencies...
Resolving dependencies...
The following NEW packages will be installed:
  geoip-database{a} libbsd0{a} libcompress-bzip2-perl{a} libgeoip1{a} samba-common-bin{a} 
The following packages will be REMOVED:
  libparted1.8-10{u} xfonts-base{u} 
The following packages will be upgraded:
  acl bind9-host binutils binutils-doc bzip2 ca-certificates console-setup consolekit cpp-4.3 dbus dbus-x11 debconf debconf-i18n debianutils dhcp3-client dhcp3-common dmidecode dnsutils dpkg dpkg-dev dselect e2fslibs e2fsprogs ed 
  fail2ban fuse-utils g++-4.3 gcc-4.3 gcc-4.3-base gcc-4.3-multilib gcc-4.4-base gconf2 gconf2-common grub-common htop initscripts kernel-package lib32gcc1 libacl1 libattr1 libbind9-50 libblkid1 libbz2-1.0 libc6 libc6-dev 
  libc6-dev-i386 libc6-i386 libck-connector0 libcomerr2 libcups2 libdb4.7 libdbi-perl libdbus-1-3 libdns50 libedit2 libfuse2 libgcc1 libgconf2-4 libgcrypt11 libgdbm3 libgksu2-0 libgl1-mesa-dri libgl1-mesa-glx libglu1-mesa libgomp1 
  libgtk2.0-0 libgtk2.0-bin libgtk2.0-common libhtml-parser-perl libio-socket-ssl-perl libisc50 libisccc50 libisccfg50 liblwres50 libmudflap0 libncurses5 libncurses5-dev libncursesw5 libpam-ck-connector libpango1.0-0 
  libpango1.0-common libpci3 libreadline5 librpcsecgss3 libsemanage1 libsensors4 libsqlite3-0 libss2 libstdc++6 libstdc++6-4.3-dev libtext-charwidth-perl libtext-iconv-perl libtiff4 libuuid1 libwbclient0 libwrap0 libwww-perl 
  libx86-1 libxml2 linux-libc-dev lm-sensors locales lockfile-progs make mutt ncurses-base ncurses-bin ncurses-term netbase openbsd-inetd pciutils perl perl-base perl-modules pm-utils policycoreutils python-reportbug python-selinux 
  python-semanage qtparted readline-common reportbug samba-common selinux-policy-default smbfs sudo sysv-rc sysvinit sysvinit-utils tar tcpd ttf-dejavu ttf-dejavu-core ttf-dejavu-extra tzdata uuid-runtime w3m xserver-common 
  xserver-xorg-core zlib1g 
140 packages upgraded, 5 newly installed, 2 to remove and 0 not upgraded.
Need to get 0B/117MB of archives. After unpacking 3569kB will be freed.
Do you want to continue? [Y/n/?] y
Writing extended state information... Done
E: Couldn't configure pre-depend libc6-i386 for lib32gcc1, probably a dependency cycle.
A package failed to install.  Trying to recover:
Reading package lists... Done             
Building dependency tree       
Reading state information... Done
Reading extended state information      
Initializing package states... Done
Writing extended state information... Done

Was kann man da machen? Einfach ein Paar Tage warten?

Danke, xcomm

Spasswolf
Beiträge: 3472
Registriert: 30.11.2005 10:32:22
Lizenz eigener Beiträge: MIT Lizenz
Wohnort: Wald

Re: Couldn't configure pre-depend - probably a dependency cycle.

Beitrag von Spasswolf » 16.07.2009 15:04:22

Was passiert wenn du das beanstandete Paket allein installierst?

Code: Alles auswählen

apitude install libc6-i386
Was passiert beim full/dist-upgrade?

Code: Alles auswählen

aptitude full-upgrade

Benutzeravatar
xcomm
Beiträge: 804
Registriert: 21.09.2003 05:12:01
Wohnort: Europe
Kontaktdaten:

Re: Couldn't configure pre-depend - probably a dependency cycle.

Beitrag von xcomm » 16.07.2009 15:37:42

Hi Spasswolf,

danke für Deine Antwort!

aptitude full-upgrade ist nahezu der selbe Fehler

Code: Alles auswählen

$n full-upgrade
Reading package lists... Done
Building dependency tree       
Reading state information... Done
Reading extended state information      
Initializing package states... Done
Writing extended state information... Done
The following NEW packages will be installed:
  geoip-database{a} libbsd0{a} libcompress-bzip2-perl{a} libgeoip1{a} samba-common-bin{a} 
The following packages will be REMOVED:
  libparted1.8-10{u} xfonts-base{u} 
The following packages will be upgraded:
  acl bind9-host binutils binutils-doc bzip2 ca-certificates console-setup consolekit cpp-4.3 dbus dbus-x11 debconf debconf-i18n debianutils dhcp3-client dhcp3-common dmidecode dnsutils dpkg dpkg-dev dselect e2fslibs e2fsprogs ed 
  fail2ban fuse-utils g++-4.3 gcc-4.3 gcc-4.3-base gcc-4.3-multilib gcc-4.4-base gconf2 gconf2-common grub-common htop initscripts kernel-package lib32gcc1 libacl1 libattr1 libbind9-50 libblkid1 libbz2-1.0 libc6 libc6-dev 
  libc6-dev-i386 libc6-i386 libck-connector0 libcomerr2 libcups2 libdb4.7 libdbi-perl libdbus-1-3 libdns50 libedit2 libfuse2 libgcc1 libgconf2-4 libgcrypt11 libgdbm3 libgksu2-0 libgl1-mesa-dri libgl1-mesa-glx libglu1-mesa libgomp1 
  libgtk2.0-0 libgtk2.0-bin libgtk2.0-common libhtml-parser-perl libio-socket-ssl-perl libisc50 libisccc50 libisccfg50 liblwres50 libmudflap0 libncurses5 libncurses5-dev libncursesw5 libpam-ck-connector libpango1.0-0 
  libpango1.0-common libpci3 libreadline5 librpcsecgss3 libsemanage1 libsensors4 libsqlite3-0 libss2 libstdc++6 libstdc++6-4.3-dev libtext-charwidth-perl libtext-iconv-perl libtiff4 libuuid1 libwbclient0 libwrap0 libwww-perl 
  libx86-1 libxml2 linux-libc-dev lm-sensors locales lockfile-progs make mutt ncurses-base ncurses-bin ncurses-term netbase openbsd-inetd pciutils perl perl-base perl-modules pm-utils policycoreutils python-reportbug python-selinux 
  python-semanage qtparted readline-common reportbug samba-common selinux-policy-default smbfs sudo sysv-rc sysvinit sysvinit-utils tar tcpd ttf-dejavu ttf-dejavu-core ttf-dejavu-extra tzdata uuid-runtime w3m xserver-common 
  xserver-xorg-core zlib1g 
140 packages upgraded, 5 newly installed, 2 to remove and 0 not upgraded.
Need to get 0B/117MB of archives. After unpacking 3569kB will be freed.
Do you want to continue? [Y/n/?] y
Writing extended state information... Done
E: Couldn't configure pre-depend libc6-i386 for lib32gcc1, probably a dependency cycle.
A package failed to install.  Trying to recover:
Reading package lists... Done             
Building dependency tree       
Reading state information... Done
Reading extended state information      
Initializing package states... Done
Writing extended state information... Done

Installieren behebt das Problem - fehlte wohl irgerdwo die Abhängigkeit.:-)

Code: Alles auswählen

aptitude install libc6-i386
Reading package lists... Done
Building dependency tree       
Reading state information... Done
Reading extended state information      
Initializing package states... Done
Writing extended state information... Done
The following packages are BROKEN:
  libc6-dev libc6-dev-i386 
The following packages will be upgraded:
  libc6 libc6-i386 
2 packages upgraded, 0 newly installed, 0 to remove and 138 not upgraded.
Need to get 0B/8433kB of archives. After unpacking 442kB will be freed.
The following packages have unmet dependencies:
  libc6-dev: Depends: libc6 (= 2.9-17) but 2.9-20 is to be installed.
  libc6-dev-i386: Depends: libc6-i386 (= 2.9-17) but 2.9-20 is to be installed.
The following actions will resolve these dependencies:

Upgrade the following packages:
libc6-dev [2.9-17 (now) -> 2.9-20 (unstable)]
libc6-dev-i386 [2.9-17 (now) -> 2.9-20 (unstable)]

Score is 70

Accept this solution? [Y/n/q/?] y
The following packages will be upgraded:
  libc6 libc6-dev libc6-dev-i386 libc6-i386 
4 packages upgraded, 0 newly installed, 0 to remove and 136 not upgraded.
Need to get 0B/12,4MB of archives. After unpacking 688kB will be freed.
Do you want to continue? [Y/n/?] y
Writing extended state information... Done
Preconfiguring packages ...
(Reading database ... 51351 files and directories currently installed.)
Preparing to replace libc6-i386 2.9-17 (using .../libc6-i386_2.9-20_amd64.deb) ...
Unpacking replacement libc6-i386 ...
Replacing files in old package libc6-dev-i386 ...
Preparing to replace libc6-dev-i386 2.9-17 (using .../libc6-dev-i386_2.9-20_amd64.deb) ...
Unpacking replacement libc6-dev-i386 ...
Preparing to replace libc6-dev 2.9-17 (using .../libc6-dev_2.9-20_amd64.deb) ...
Unpacking replacement libc6-dev ...
Preparing to replace libc6 2.9-17 (using .../libc6_2.9-20_amd64.deb) ...
Unpacking replacement libc6 ...
Processing triggers for man-db ...
Setting up libc6 (2.9-20) ...
Setting up libc6-i386 (2.9-20) ...
Setting up libc6-dev (2.9-20) ...
Setting up libc6-dev-i386 (2.9-20) ...
[ Rootkit Hunter version 1.3.4 ]
File updated: searched for 154 files, found 130
Reading package lists... Done             
Building dependency tree       
Reading state information... Done
Reading extended state information       
Initializing package states... Done

Current status: 136 updates [-4].

Das Full-Upgrade lieferte noch ein Paar kleiner Dinge, prinzipiell tat es aber nun.

Danke, xcomm

Antworten