[+] Aktualizacja Debiana 4.0 do 6.0 - libc6 i lokalizacja systemu

Tematy związane z oprogramowaniem, instalacją, konfiguracją
witek000
Posty: 84
Rejestracja: 14 stycznia 2008, 22:05
Lokalizacja: /dev/null

[+] Aktualizacja Debiana 4.0 do 6.0 - libc6 i lokalizacja systemu

Post autor: witek000 »

Witam.
Pojawiła się u mnie ostatnio potrzeba zaktualizowania serwera z wersji 4.0 do 6.0.

Niestety mam problem ze spełnieniem zależności i żadnego pakietu nie mogę ruszyć. Prośba o pomoc (radę).
Niżej przedstawiłem to co wydaje mi się ważne, jak coś trzeba to oczywiście dodam.

Kod: Zaznacz cały

root@debian:/var/backups# cat /etc/debian_version
4.0

Kod: Zaznacz cały

root@debian:/var/backups# uname -a
Linux debian 2.6.18-6-amd64 #1 SMP Tue Aug 19 04:30:56 UTC 2008 x86_64 GNU/Linux
root@debian:/var/backups#

Kod: Zaznacz cały

root@debian:/var/backups# aptitude update
Get:1 [URL]http://ftp.pl.debian.org[/URL] stable Release.gpg [1672B]
Hit [URL]http://ftp.pl.debian.org[/URL] stable Release
Ign [URL]http://ftp.pl.debian.org[/URL] stable/main Packages/DiffIndex
Ign [URL]http://ftp.pl.debian.org[/URL] stable/contrib Packages/DiffIndex
Ign [URL]http://ftp.pl.debian.org[/URL] stable/non-free Packages/DiffIndex
Hit [URL]http://ftp.pl.debian.org[/URL] stable/main Packages
Hit [URL]http://ftp.pl.debian.org[/URL] stable/contrib Packages
Hit [URL]http://ftp.pl.debian.org[/URL] stable/non-free Packages
Fetched 1B in 0s (4B/s)
Reading package lists... Done

Kod: Zaznacz cały

root@debian:/var/backups# apttude dist-upgrade
-bash: apttude: command not found
root@debian:/var/backups# aptitude dist-upgrade
Reading package lists... Done
Building dependency tree... Done
Reading extended state information
Initializing package states... Done
Building tag database... Done
The following packages are BROKEN:
  libapache-mod-php5 libc6-dev libsasl2 libssp0
The following packages are unused and will be REMOVED:
  iputils-ping libgpmg1 openbsd-inetd update-inetd
The following NEW packages will be automatically installed:
  apache2.2-bin cpp-4.4 dash diffutils dmsetup firmware-linux-free gcc-4.4 gettext-base grub-common grub-pc insserv install-info lib32bz2-1.0 lib32v4l-0
  libaprutil1-dbd-sqlite3 libaprutil1-ldap libboost-iostreams1.42.0 libbsd0 libc-bin libcap2 libcwidget3 libdb4.7 libdb4.8 libdevmapper1.02.1 libept1
  libfreetype6 libgmp3c2 libgnutls26 libgomp1 libgpm2 libgssapi-krb5-2 libk5crypto3 libkeyutils1 libkrb5-3 libkrb5support0 libldap-2.4-2 liblzma2
  libmpfr4 libnfnetlink0 libonig2 libpci3 libqdbm14 libreadline6 libssh2-1 libudev0 libuuid-perl libv4l-0 libxapian22 linux-base
  linux-image-2.6.32-5-amd64 lynx-cur os-prober python-support python2.6 python2.6-minimal sensible-utils xz-utils
The following packages will be automatically REMOVED:
  apache libdevmapper1.02 libpci2
The following NEW packages will be installed:
  apache2.2-bin cpp-4.4 dash diffutils dmsetup firmware-linux-free gcc-4.4 gettext-base grub-common grub-pc insserv install-info lib32bz2-1.0 lib32v4l-0
  libaprutil1-dbd-sqlite3 libaprutil1-ldap libboost-iostreams1.42.0 libbsd0 libc-bin libcap2 libcwidget3 libdb4.7 libdb4.8 libdevmapper1.02.1 libept1
  libfreetype6 libgmp3c2 libgnutls26 libgomp1 libgpm2 libgssapi-krb5-2 libk5crypto3 libkeyutils1 libkrb5-3 libkrb5support0 libldap-2.4-2 liblzma2
  libmpfr4 libnfnetlink0 libonig2 libpci3 libqdbm14 libreadline6 libssh2-1 libudev0 libuuid-perl libv4l-0 libxapian22 linux-base
  linux-image-2.6.32-5-amd64 lynx-cur os-prober python-support python2.6 python2.6-minimal sensible-utils xz-utils
The following packages will be REMOVED:
  apache libdevmapper1.02 libpci2
The following packages will be upgraded:
  adduser apache2-mpm-prefork apache2-utils apache2.2-common apt apt-utils aptitude base-files base-passwd bash bsdmainutils bsdutils busybox bzip2
  ca-certificates console-common console-data console-tools coreutils cpio cpp cpp-4.1 cron debconf debconf-i18n debian-archive-keyring debianutils diff
  dpkg e2fslibs e2fsprogs ethtool file findutils gcc gcc-4.1 gcc-4.1-base gnupg gpgv grep groff-base grub gzip hexedit hostname ia32-libs ifupdown info
  initramfs-tools initscripts iptables klibc-utils klogd less lftp lib32asound2 lib32gcc1 lib32ncurses5 lib32stdc++6 lib32z1 libacl1 libapr1 libaprutil1
  libasound2 libaspell15 libattr1 libblkid1 libbz2-1.0 libc6 libc6-i386 libcomerr2 libconsole libcurl3 libdbi-perl libedit2 libexpat1 libgcrypt11
  libgdbm3 libgpg-error0 libgsm1 libidn11 libjpeg62 libklibc libkrb53 liblocale-gettext-perl liblockfile1 libmagic1 libncurses5 libncursesw5
  libncursesw5-dev libnet-daemon-perl libnewt0.52 libogg-dev libogg0 libpam-modules libpam-runtime libpam0g libpcre3 libplrpc-perl libpopt0 libreadline5
  libsasl2-2 libselinux1 libsepol1 libsigc++-2.0-0c2a libslang2 libsqlite3-0 libss2 libssl0.9.8 libstdc++6 libsysfs2 libtasn1-3 libtext-charwidth-perl
  libtext-iconv-perl libtext-wrapi18n-perl libusb-0.1-4 libuuid1 libwrap0 libxml2 linux-image-2.6-amd64 login logrotate lsb-base lsb-release lsof lynx
  make makedev man-db manpages mawk mime-support mktemp module-init-tools mount nano ncurses-base ncurses-bin net-tools netbase ntpdate
  openssh-blacklist openssh-client openssh-server openssl passwd pciutils perl perl-base perl-modules php-pear php5-cli php5-common postfix procps
  psmisc python python-minimal readline-common rsync sed ssl-cert sysfsutils sysklogd sysv-rc sysvinit sysvinit-utils tar tcpd ucf udev util-linux vim
  vim-common vim-runtime wget whiptail zlib1g
The following packages are RECOMMENDED but will NOT be installed:
  apt-xapian-index aptitude-doc-cs aptitude-doc-en aptitude-doc-es aptitude-doc-fi aptitude-doc-fr aptitude-doc-ja aspell-am aspell-ar aspell-ar-large
  aspell-bg aspell-br aspell-ca aspell-cs aspell-cy aspell-da aspell-de aspell-de-alt aspell-el aspell-en aspell-eo aspell-es aspell-et aspell-eu-es
  aspell-fa aspell-fi aspell-fo aspell-fr aspell-ga aspell-gl-minimos aspell-he aspell-hr aspell-hsb aspell-hu aspell-hy aspell-is aspell-it aspell-ku
  aspell-lt aspell-lv aspell-nl aspell-no aspell-pl aspell-pt-br aspell-pt-pt aspell-ro aspell-ru aspell-sk aspell-sl aspell-sv aspell-tl aspell-uk
  aspell-uz bash-completion gnupg-curl libfribidi0 libparse-debianchangelog-perl libpng12-0 libsasl2-modules lockfile-progs openssh-blacklist-extra
  php5-suhosin usbutils uuid-runtime xauth xml-core
178 packages upgraded, 57 newly installed, 7 to remove and 0 not upgraded.
Need to get 20.7MB/179MB of archives. After unpacking 258MB will be used.
The following packages have unmet dependencies:
  libsasl2: Depends: libsasl2-2 (= 2.1.22.dfsg1-8) but 2.1.23.dfsg1-7 is to be installed.
  libssp0: Depends: gcc-4.1-base (= 4.1.1-21) but 4.1.2-29 is to be installed.
  libapache-mod-php5: Depends: php5-common (= 5.2.0-8+etch13) but 5.3.3-7+squeeze14 is to be installed.
  libc6-dev: Depends: linux-libc-dev but it is not installable
Resolving dependencies...
The following actions will resolve these dependencies:


Remove the following packages:
linux-kernel-headers


Install the following packages:
libpng12-0 [1.2.44-1+squeeze4 (stable)]
linux-libc-dev [2.6.32-46 (stable)]
uuid-runtime [2.17.2-9 (stable)]


Keep the following packages at their current version:
apt [0.6.46.4-0.1 (now)]
apt-utils [0.6.46.4-0.1 (now)]
aptitude [0.4.4-4 (now)]
bash [3.1dfsg-8 (now)]
cpp-4.1 [4.1.1-21 (now)]
gcc-4.1 [4.1.1-21 (now)]
gcc-4.1-base [4.1.1-21 (now)]
gnupg [1.4.6-2 (now)]
libept1 [Not Installed]
libsasl2-2 [2.1.22.dfsg1-8 (now)]
ntpdate [1:4.2.2.p4+dfsg-2 (now)]
openssh-client [1:4.3p2-9etch3 (now)]
openssh-server [1:4.3p2-9etch3 (now)]
php-pear [5.2.0-8+etch13 (now)]
php5-cli [5.2.0-8+etch13 (now)]
php5-common [5.2.0-8+etch13 (now)]
udev [0.105-4 (now)]


Score is -1236


Accept this solution? [Y/n/q/?] Yes
The following packages are unused and will be REMOVED:
  iputils-ping libgpmg1 openbsd-inetd update-inetd
The following NEW packages will be automatically installed:
  apache2.2-bin cpp-4.4 dash diffutils dmsetup firmware-linux-free gcc-4.4 gettext-base grub-common grub-pc insserv install-info lib32bz2-1.0 lib32v4l-0
  libaprutil1-dbd-sqlite3 libaprutil1-ldap libbsd0 libc-bin libcap2 libdb4.7 libdb4.8 libdevmapper1.02.1 libfreetype6 libgmp3c2 libgnutls26 libgomp1
  libgpm2 libgssapi-krb5-2 libk5crypto3 libkeyutils1 libkrb5-3 libkrb5support0 libldap-2.4-2 liblzma2 libmpfr4 libnfnetlink0 libpci3 libpng12-0
  libreadline6 libssh2-1 libudev0 libuuid-perl libv4l-0 linux-base linux-image-2.6.32-5-amd64 linux-libc-dev lynx-cur os-prober python-support python2.6
  python2.6-minimal sensible-utils uuid-runtime xz-utils
The following packages will be automatically REMOVED:
  apache libdevmapper1.02 libpci2 linux-kernel-headers
The following packages have been kept back:
  apt apt-utils aptitude bash cpp-4.1 gcc-4.1 gcc-4.1-base gnupg libsasl2-2 ntpdate openssh-client openssh-server php-pear php5-cli php5-common udev
The following NEW packages will be installed:
  apache2.2-bin cpp-4.4 dash diffutils dmsetup firmware-linux-free gcc-4.4 gettext-base grub-common grub-pc insserv install-info lib32bz2-1.0 lib32v4l-0
  libaprutil1-dbd-sqlite3 libaprutil1-ldap libbsd0 libc-bin libcap2 libdb4.7 libdb4.8 libdevmapper1.02.1 libfreetype6 libgmp3c2 libgnutls26 libgomp1
  libgpm2 libgssapi-krb5-2 libk5crypto3 libkeyutils1 libkrb5-3 libkrb5support0 libldap-2.4-2 liblzma2 libmpfr4 libnfnetlink0 libpci3 libpng12-0
  libreadline6 libssh2-1 libudev0 libuuid-perl libv4l-0 linux-base linux-image-2.6.32-5-amd64 linux-libc-dev lynx-cur os-prober python-support python2.6
  python2.6-minimal sensible-utils uuid-runtime xz-utils
The following packages will be REMOVED:
  apache libdevmapper1.02 libpci2 linux-kernel-headers
The following packages will be upgraded:
  adduser apache2-mpm-prefork apache2-utils apache2.2-common base-files base-passwd bsdmainutils bsdutils busybox bzip2 ca-certificates console-common
  console-data console-tools coreutils cpio cpp cron debconf debconf-i18n debian-archive-keyring debianutils diff dpkg e2fslibs e2fsprogs ethtool file
  findutils gcc gpgv grep groff-base grub gzip hexedit hostname ia32-libs ifupdown info initramfs-tools initscripts iptables klibc-utils klogd less lftp
  lib32asound2 lib32gcc1 lib32ncurses5 lib32stdc++6 lib32z1 libacl1 libapr1 libaprutil1 libasound2 libaspell15 libattr1 libblkid1 libbz2-1.0 libc6
  libc6-i386 libcomerr2 libconsole libcurl3 libdbi-perl libedit2 libexpat1 libgcrypt11 libgdbm3 libgpg-error0 libgsm1 libidn11 libjpeg62 libklibc
  libkrb53 liblocale-gettext-perl liblockfile1 libmagic1 libncurses5 libncursesw5 libncursesw5-dev libnet-daemon-perl libnewt0.52 libogg-dev libogg0
  libpam-modules libpam-runtime libpam0g libpcre3 libplrpc-perl libpopt0 libreadline5 libselinux1 libsepol1 libsigc++-2.0-0c2a libslang2 libsqlite3-0
  libss2 libssl0.9.8 libstdc++6 libsysfs2 libtasn1-3 libtext-charwidth-perl libtext-iconv-perl libtext-wrapi18n-perl libusb-0.1-4 libuuid1 libwrap0
  libxml2 linux-image-2.6-amd64 login logrotate lsb-base lsb-release lsof lynx make makedev man-db manpages mawk mime-support mktemp module-init-tools
  mount nano ncurses-base ncurses-bin net-tools netbase openssh-blacklist openssl passwd pciutils perl perl-base perl-modules postfix procps psmisc
  python python-minimal readline-common rsync sed ssl-cert sysfsutils sysklogd sysv-rc sysvinit sysvinit-utils tar tcpd ucf util-linux vim vim-common
  vim-runtime wget whiptail zlib1g
The following packages are RECOMMENDED but will NOT be installed:
  aspell-am aspell-ar aspell-ar-large aspell-bg aspell-br aspell-ca aspell-cs aspell-cy aspell-da aspell-de aspell-de-alt aspell-el aspell-en aspell-eo
  aspell-es aspell-et aspell-eu-es aspell-fa aspell-fi aspell-fo aspell-fr aspell-ga aspell-gl-minimos aspell-he aspell-hr aspell-hsb aspell-hu
  aspell-hy aspell-is aspell-it aspell-ku aspell-lt aspell-lv aspell-nl aspell-no aspell-pl aspell-pt-br aspell-pt-pt aspell-ro aspell-ru aspell-sk
  aspell-sl aspell-sv aspell-tl aspell-uk aspell-uz libfribidi0 lockfile-progs xml-core
162 packages upgraded, 54 newly installed, 8 to remove and 16 not upgraded.
Need to get 0B/159MB of archives. After unpacking 235MB will be used.
Do you want to continue? [Y/n/?] Yes
Writing extended state information... Done
Extracting templates from packages: 100%
Preconfiguring packages ...
dpkg: regarding .../libc-bin_2.11.3-4_amd64.deb containing libc-bin:
 package uses Breaks; not supported in this dpkg
dpkg: error processing /var/cache/apt/archives/libc-bin_2.11.3-4_amd64.deb (--unpack):
 unsupported dependency problem - not installing libc-bin
dpkg: regarding .../libc6-i386_2.11.3-4_amd64.deb containing libc6-i386:
 package uses Breaks; not supported in this dpkg
dpkg: error processing /var/cache/apt/archives/libc6-i386_2.11.3-4_amd64.deb (--unpack):
 unsupported dependency problem - not installing libc6-i386
dpkg: regarding .../libc6_2.11.3-4_amd64.deb containing libc6:
 package uses Breaks; not supported in this dpkg
dpkg: error processing /var/cache/apt/archives/libc6_2.11.3-4_amd64.deb (--unpack):
 unsupported dependency problem - not installing libc6
Errors were encountered while processing:
 /var/cache/apt/archives/libc-bin_2.11.3-4_amd64.deb
 /var/cache/apt/archives/libc6-i386_2.11.3-4_amd64.deb
 /var/cache/apt/archives/libc6_2.11.3-4_amd64.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)
A package failed to install.  Trying to recover:
dpkg: dependency problems prevent configuration of libc6-dev:
 libc6-dev depends on libc6 (= 2.11.3-4); however:
  Version of libc6 on system is 2.3.6.ds1-13etch7.
 libc6-dev depends on linux-libc-dev; however:
  Package linux-libc-dev is not installed.
dpkg: error processing libc6-dev (--configure):
 dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of libc-dev-bin:
 libc-dev-bin depends on libc6 (>> 2.11); however:
  Version of libc6 on system is 2.3.6.ds1-13etch7.
dpkg: error processing libc-dev-bin (--configure):
 dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of locales:
 locales depends on glibc-2.11-1; however:
  Package glibc-2.11-1 is not installed.
dpkg: error processing locales (--configure):
 dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of binutils:
 binutils depends on libc6 (>= 2.11); however:
  Version of libc6 on system is 2.3.6.ds1-13etch7.
 binutils depends on libstdc++6 (>= 4.4.0); however:
  Version of libstdc++6 on system is 4.1.1-21.
dpkg: error processing binutils (--configure):
 dependency problems - leaving unconfigured
Errors were encountered while processing:
 libc6-dev
 libc-dev-bin
 locales
 binutils

Kod: Zaznacz cały

root@debian:/var/backups# aptitude install libc6-dev
Reading package lists... Done
Building dependency tree... Done
Reading extended state information
Initializing package states... Done
Building tag database... Done
The following packages are BROKEN:
  binutils libc6-i386
The following NEW packages will be automatically installed:
  libc-bin linux-libc-dev
The following packages will be automatically REMOVED:
  linux-kernel-headers
The following packages have been kept back:
  adduser apache2-mpm-prefork apache2-utils apache2.2-common apt apt-utils aptitude base-files base-passwd bash bsdmainutils bsdutils busybox bzip2
  ca-certificates console-common console-data console-tools coreutils cpio cpp cpp-4.1 cron debconf debconf-i18n debian-archive-keyring debianutils diff
  dpkg e2fslibs e2fsprogs ethtool file findutils gcc gcc-4.1 gcc-4.1-base gnupg gpgv grep groff-base grub gzip hexedit hostname ia32-libs ifupdown info
  initramfs-tools initscripts iptables iputils-ping klibc-utils klogd less lftp lib32asound2 lib32gcc1 lib32ncurses5 lib32stdc++6 lib32z1 libacl1
  libapr1 libaprutil1 libasound2 libaspell15 libattr1 libblkid1 libbz2-1.0 libcomerr2 libconsole libcurl3 libdbi-perl libedit2 libexpat1 libgcrypt11
  libgdbm3 libgpg-error0 libgsm1 libidn11 libjpeg62 libklibc libkrb53 liblocale-gettext-perl liblockfile1 libmagic1 libncurses5 libncursesw5
  libncursesw5-dev libnet-daemon-perl libnewt0.52 libogg-dev libogg0 libpam-modules libpam-runtime libpam0g libpcre3 libplrpc-perl libpopt0 libreadline5
  libsasl2-2 libselinux1 libsepol1 libsigc++-2.0-0c2a libslang2 libsqlite3-0 libss2 libssl0.9.8 libstdc++6 libsysfs2 libtasn1-3 libtext-charwidth-perl
  libtext-iconv-perl libtext-wrapi18n-perl libusb-0.1-4 libuuid1 libwrap0 libxml2 linux-image-2.6-amd64 login logrotate lsb-base lsb-release lsof lynx
  make makedev man-db manpages mawk mime-support mktemp module-init-tools mount nano ncurses-base ncurses-bin net-tools netbase ntpdate openbsd-inetd
  openssh-blacklist openssh-client openssh-server openssl passwd pciutils perl perl-base perl-modules php-pear php5-cli php5-common postfix procps
  psmisc python python-minimal readline-common rsync sed ssl-cert sysfsutils sysklogd sysv-rc sysvinit sysvinit-utils tar tcpd ucf udev update-inetd
  util-linux vim vim-common vim-runtime wget whiptail zlib1g
The following NEW packages will be installed:
  libc-bin linux-libc-dev
The following packages will be REMOVED:
  linux-kernel-headers
The following packages will be upgraded:
  libc6
1 packages upgraded, 2 newly installed, 1 to remove and 180 not upgraded.
Need to get 0B/5871kB of archives. After unpacking 5186kB will be freed.
The following packages have unmet dependencies:
  libc6-i386: Depends: libc6 (= 2.3.6.ds1-13etch7) but 2.11.3-4 is to be installed.
  binutils: Depends: libstdc++6 (>= 4.4.0) but 4.1.1-21 is installed and it is kept back.
Resolving dependencies...
The following actions will resolve these dependencies:


Upgrade the following packages:
libc6-i386 [2.3.6.ds1-13etch7 (now) -> 2.11.3-4 (stable)]
libstdc++6 [4.1.1-21 (now) -> 4.4.5-8 (stable)]


Score is -48


Accept this solution? [Y/n/q/?] Yes
The following NEW packages will be automatically installed:
  libc-bin linux-libc-dev
The following packages will be automatically REMOVED:
  linux-kernel-headers
The following packages have been kept back:
  adduser apache2-mpm-prefork apache2-utils apache2.2-common apt apt-utils aptitude base-files base-passwd bash bsdmainutils bsdutils busybox bzip2
  ca-certificates console-common console-data console-tools coreutils cpio cpp cpp-4.1 cron debconf debconf-i18n debian-archive-keyring debianutils diff
  dpkg e2fslibs e2fsprogs ethtool file findutils gcc gcc-4.1 gcc-4.1-base gnupg gpgv grep groff-base grub gzip hexedit hostname ia32-libs ifupdown info
  initramfs-tools initscripts iptables iputils-ping klibc-utils klogd less lftp lib32asound2 lib32gcc1 lib32ncurses5 lib32stdc++6 lib32z1 libacl1
  libapr1 libaprutil1 libasound2 libaspell15 libattr1 libblkid1 libbz2-1.0 libcomerr2 libconsole libcurl3 libdbi-perl libedit2 libexpat1 libgcrypt11
  libgdbm3 libgpg-error0 libgsm1 libidn11 libjpeg62 libklibc libkrb53 liblocale-gettext-perl liblockfile1 libmagic1 libncurses5 libncursesw5
  libncursesw5-dev libnet-daemon-perl libnewt0.52 libogg-dev libogg0 libpam-modules libpam-runtime libpam0g libpcre3 libplrpc-perl libpopt0 libreadline5
  libsasl2-2 libselinux1 libsepol1 libsigc++-2.0-0c2a libslang2 libsqlite3-0 libss2 libssl0.9.8 libsysfs2 libtasn1-3 libtext-charwidth-perl
  libtext-iconv-perl libtext-wrapi18n-perl libusb-0.1-4 libuuid1 libwrap0 libxml2 linux-image-2.6-amd64 login logrotate lsb-base lsb-release lsof lynx
  make makedev man-db manpages mawk mime-support mktemp module-init-tools mount nano ncurses-base ncurses-bin net-tools netbase ntpdate openbsd-inetd
  openssh-blacklist openssh-client openssh-server openssl passwd pciutils perl perl-base perl-modules php-pear php5-cli php5-common postfix procps
  psmisc python python-minimal readline-common rsync sed ssl-cert sysfsutils sysklogd sysv-rc sysvinit sysvinit-utils tar tcpd ucf udev update-inetd
  util-linux vim vim-common vim-runtime wget whiptail zlib1g
The following NEW packages will be installed:
  libc-bin linux-libc-dev
The following packages will be REMOVED:
  linux-kernel-headers
The following packages will be upgraded:
  libc6 libc6-i386 libstdc++6
3 packages upgraded, 2 newly installed, 1 to remove and 178 not upgraded.
Need to get 0B/10.0MB of archives. After unpacking 3211kB will be freed.
Do you want to continue? [Y/n/?] Yes
Writing extended state information... Done
Preconfiguring packages ...
dpkg: regarding .../libc-bin_2.11.3-4_amd64.deb containing libc-bin:
 package uses Breaks; not supported in this dpkg
dpkg: error processing /var/cache/apt/archives/libc-bin_2.11.3-4_amd64.deb (--unpack):
 unsupported dependency problem - not installing libc-bin
dpkg: regarding .../libc6-i386_2.11.3-4_amd64.deb containing libc6-i386:
 package uses Breaks; not supported in this dpkg
dpkg: error processing /var/cache/apt/archives/libc6-i386_2.11.3-4_amd64.deb (--unpack):
 unsupported dependency problem - not installing libc6-i386
dpkg: regarding .../libc6_2.11.3-4_amd64.deb containing libc6:
 package uses Breaks; not supported in this dpkg
dpkg: error processing /var/cache/apt/archives/libc6_2.11.3-4_amd64.deb (--unpack):
 unsupported dependency problem - not installing libc6
Errors were encountered while processing:
 /var/cache/apt/archives/libc-bin_2.11.3-4_amd64.deb
 /var/cache/apt/archives/libc6-i386_2.11.3-4_amd64.deb
 /var/cache/apt/archives/libc6_2.11.3-4_amd64.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)
A package failed to install.  Trying to recover:
dpkg: dependency problems prevent configuration of libc6-dev:
 libc6-dev depends on libc6 (= 2.11.3-4); however:
  Version of libc6 on system is 2.3.6.ds1-13etch7.
 libc6-dev depends on linux-libc-dev; however:
  Package linux-libc-dev is not installed.
dpkg: error processing libc6-dev (--configure):
 dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of libc-dev-bin:
 libc-dev-bin depends on libc6 (>> 2.11); however:
  Version of libc6 on system is 2.3.6.ds1-13etch7.
dpkg: error processing libc-dev-bin (--configure):
 dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of locales:
 locales depends on glibc-2.11-1; however:
  Package glibc-2.11-1 is not installed.
dpkg: error processing locales (--configure):
 dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of binutils:
 binutils depends on libc6 (>= 2.11); however:
  Version of libc6 on system is 2.3.6.ds1-13etch7.
 binutils depends on libstdc++6 (>= 4.4.0); however:
  Version of libstdc++6 on system is 4.1.1-21.
dpkg: error processing binutils (--configure):
 dependency problems - leaving unconfigured
Errors were encountered while processing:
 libc6-dev
 libc-dev-bin
 locales
 binutils
root@idebian:/var/backups#

Kod: Zaznacz cały

root@debian:/var/backups# cat /etc/apt/sources.list
deb http://ftp.pl.debian.org/debian/ stable main contrib non-free
root@debian:/var/backups#

Kod: Zaznacz cały

root@debian:/var/backups# aptitude reinstall locales
Reading package lists... Done
Building dependency tree... Done
Reading extended state information
Initializing package states... Done
Building tag database... Done
The following packages are BROKEN:
  binutils libc-dev-bin libc6-dev locales
The following packages have been kept back:
  adduser apache2-mpm-prefork apache2-utils apache2.2-common apt apt-utils aptitude base-files base-passwd bash bsdmainutils bsdutils busybox bzip2
  ca-certificates console-common console-data console-tools coreutils cpio cpp cpp-4.1 cron debconf debconf-i18n debian-archive-keyring debianutils diff
  dpkg e2fslibs e2fsprogs ethtool file findutils gcc gcc-4.1 gcc-4.1-base gnupg gpgv grep groff-base grub gzip hexedit hostname ia32-libs ifupdown info
  initramfs-tools initscripts iptables iputils-ping klibc-utils klogd less lftp lib32asound2 lib32gcc1 lib32ncurses5 lib32stdc++6 lib32z1 libacl1
  libapr1 libaprutil1 libasound2 libaspell15 libattr1 libblkid1 libbz2-1.0 libc6 libc6-i386 libcomerr2 libconsole libcurl3 libdbi-perl libedit2
  libexpat1 libgcrypt11 libgdbm3 libgpg-error0 libgsm1 libidn11 libjpeg62 libklibc libkrb53 liblocale-gettext-perl liblockfile1 libmagic1 libncurses5
  libncursesw5 libncursesw5-dev libnet-daemon-perl libnewt0.52 libogg-dev libogg0 libpam-modules libpam-runtime libpam0g libpcre3 libplrpc-perl libpopt0
  libreadline5 libsasl2-2 libselinux1 libsepol1 libsigc++-2.0-0c2a libslang2 libsqlite3-0 libss2 libssl0.9.8 libstdc++6 libsysfs2 libtasn1-3
  libtext-charwidth-perl libtext-iconv-perl libtext-wrapi18n-perl libusb-0.1-4 libuuid1 libwrap0 libxml2 linux-image-2.6-amd64 login logrotate lsb-base
  lsb-release lsof lynx make makedev man-db manpages mawk mime-support mktemp module-init-tools mount nano ncurses-base ncurses-bin net-tools netbase
  ntpdate openbsd-inetd openssh-blacklist openssh-client openssh-server openssl passwd pciutils perl perl-base perl-modules php-pear php5-cli
  php5-common postfix procps psmisc python python-minimal readline-common rsync sed ssl-cert sysfsutils sysklogd sysv-rc sysvinit sysvinit-utils tar
  tcpd ucf udev update-inetd util-linux vim vim-common vim-runtime wget whiptail zlib1g
0 packages upgraded, 0 newly installed, 1 reinstalled, 0 to remove and 181 not upgraded.
Need to get 0B of archives. After unpacking 0B will be used.
The following packages have unmet dependencies:
  locales: Depends: glibc-2.11-1 which is a virtual package.
  libc6-dev: Depends: libc6 (= 2.11.3-4) but 2.3.6.ds1-13etch7 is installed and it is kept back.
             Depends: linux-libc-dev but it is not installable
  libc-dev-bin: Depends: libc6 (> 2.11) but 2.3.6.ds1-13etch7 is installed and it is kept back.
  binutils: Depends: libc6 (>= 2.11) but 2.3.6.ds1-13etch7 is installed and it is kept back.
            Depends: libstdc++6 (>= 4.4.0) but 4.1.1-21 is installed and it is kept back.
Resolving dependencies...
The following actions will resolve these dependencies:


Remove the following packages:
linux-kernel-headers


Install the following packages:
libc-bin [2.11.3-4 (stable)]
linux-libc-dev [2.6.32-46 (stable)]


Upgrade the following packages:
libc6 [2.3.6.ds1-13etch7 (now) -> 2.11.3-4 (stable)]
libc6-i386 [2.3.6.ds1-13etch7 (now) -> 2.11.3-4 (stable)]
libstdc++6 [4.1.1-21 (now) -> 4.4.5-8 (stable)]


Score is -586


Accept this solution? [Y/n/q/?] Yes
The following NEW packages will be automatically installed:
  libc-bin linux-libc-dev
The following packages will be automatically REMOVED:
  linux-kernel-headers
The following packages have been kept back:
  adduser apache2-mpm-prefork apache2-utils apache2.2-common apt apt-utils aptitude base-files base-passwd bash bsdmainutils bsdutils busybox bzip2
  ca-certificates console-common console-data console-tools coreutils cpio cpp cpp-4.1 cron debconf debconf-i18n debian-archive-keyring debianutils diff
  dpkg e2fslibs e2fsprogs ethtool file findutils gcc gcc-4.1 gcc-4.1-base gnupg gpgv grep groff-base grub gzip hexedit hostname ia32-libs ifupdown info
  initramfs-tools initscripts iptables iputils-ping klibc-utils klogd less lftp lib32asound2 lib32gcc1 lib32ncurses5 lib32stdc++6 lib32z1 libacl1
  libapr1 libaprutil1 libasound2 libaspell15 libattr1 libblkid1 libbz2-1.0 libcomerr2 libconsole libcurl3 libdbi-perl libedit2 libexpat1 libgcrypt11
  libgdbm3 libgpg-error0 libgsm1 libidn11 libjpeg62 libklibc libkrb53 liblocale-gettext-perl liblockfile1 libmagic1 libncurses5 libncursesw5
  libncursesw5-dev libnet-daemon-perl libnewt0.52 libogg-dev libogg0 libpam-modules libpam-runtime libpam0g libpcre3 libplrpc-perl libpopt0 libreadline5
  libsasl2-2 libselinux1 libsepol1 libsigc++-2.0-0c2a libslang2 libsqlite3-0 libss2 libssl0.9.8 libsysfs2 libtasn1-3 libtext-charwidth-perl
  libtext-iconv-perl libtext-wrapi18n-perl libusb-0.1-4 libuuid1 libwrap0 libxml2 linux-image-2.6-amd64 login logrotate lsb-base lsb-release lsof lynx
  make makedev man-db manpages mawk mime-support mktemp module-init-tools mount nano ncurses-base ncurses-bin net-tools netbase ntpdate openbsd-inetd
  openssh-blacklist openssh-client openssh-server openssl passwd pciutils perl perl-base perl-modules php-pear php5-cli php5-common postfix procps
  psmisc python python-minimal readline-common rsync sed ssl-cert sysfsutils sysklogd sysv-rc sysvinit sysvinit-utils tar tcpd ucf udev update-inetd
  util-linux vim vim-common vim-runtime wget whiptail zlib1g
The following packages will be REINSTALLED:
  locales
The following NEW packages will be installed:
  libc-bin linux-libc-dev
The following packages will be REMOVED:
  linux-kernel-headers
The following packages will be upgraded:
  libc6 libc6-i386 libstdc++6
3 packages upgraded, 2 newly installed, 1 reinstalled, 1 to remove and 178 not upgraded.
Need to get 0B/10.0MB of archives. After unpacking 3211kB will be freed.
Do you want to continue? [Y/n/?] Ys
Writing extended state information... Done
Preconfiguring packages ...
dpkg: regarding .../libc-bin_2.11.3-4_amd64.deb containing libc-bin:
 package uses Breaks; not supported in this dpkg
dpkg: error processing /var/cache/apt/archives/libc-bin_2.11.3-4_amd64.deb (--unpack):
 unsupported dependency problem - not installing libc-bin
dpkg: regarding .../libc6-i386_2.11.3-4_amd64.deb containing libc6-i386:
 package uses Breaks; not supported in this dpkg
dpkg: error processing /var/cache/apt/archives/libc6-i386_2.11.3-4_amd64.deb (--unpack):
 unsupported dependency problem - not installing libc6-i386
dpkg: regarding .../libc6_2.11.3-4_amd64.deb containing libc6:
 package uses Breaks; not supported in this dpkg
dpkg: error processing /var/cache/apt/archives/libc6_2.11.3-4_amd64.deb (--unpack):
 unsupported dependency problem - not installing libc6
Errors were encountered while processing:
 /var/cache/apt/archives/libc-bin_2.11.3-4_amd64.deb
 /var/cache/apt/archives/libc6-i386_2.11.3-4_amd64.deb
 /var/cache/apt/archives/libc6_2.11.3-4_amd64.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)
A package failed to install.  Trying to recover:
dpkg: dependency problems prevent configuration of libc6-dev:
 libc6-dev depends on libc6 (= 2.11.3-4); however:
  Version of libc6 on system is 2.3.6.ds1-13etch7.
 libc6-dev depends on linux-libc-dev; however:
  Package linux-libc-dev is not installed.
dpkg: error processing libc6-dev (--configure):
 dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of libc-dev-bin:
 libc-dev-bin depends on libc6 (>> 2.11); however:
  Version of libc6 on system is 2.3.6.ds1-13etch7.
dpkg: error processing libc-dev-bin (--configure):
 dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of locales:
 locales depends on glibc-2.11-1; however:
  Package glibc-2.11-1 is not installed.
dpkg: error processing locales (--configure):
 dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of binutils:
 binutils depends on libc6 (>= 2.11); however:
  Version of libc6 on system is 2.3.6.ds1-13etch7.
 binutils depends on libstdc++6 (>= 4.4.0); however:
  Version of libstdc++6 on system is 4.1.1-21.
dpkg: error processing binutils (--configure):
 dependency problems - leaving unconfigured
Errors were encountered while processing:
 libc6-dev
 libc-dev-bin
 locales
 binutils
root@debian:/var/backups#
Awatar użytkownika
Rafal_F
Moderator
Posty: 2350
Rejestracja: 29 sierpnia 2008, 16:45

Post autor: Rafal_F »

W takich przypadkach aktualizacje wykonuje się po kolei, czyli:

Kod: Zaznacz cały

etch => lenny => squeeze
I dobrze jest zacząć od (jako root):

Kod: Zaznacz cały

aptitude install apt dpkg aptitude
Spróbuj zmienić wpisy w:

Kod: Zaznacz cały

/etc/apt/sources.list
na:

Kod: Zaznacz cały

lenny
i ponowić próbę aktualizacji.
witek000
Posty: 84
Rejestracja: 14 stycznia 2008, 22:05
Lokalizacja: /dev/null

Post autor: witek000 »

Dziękuję, teraz działa.
ODPOWIEDZ