Пожалуйста, войдите здесь. Часто задаваемые вопросы О нас
Задайте Ваш вопрос

История изменений [назад]

нажмите, чтобы скрыть/показать версии 1
изначальная версия
редактировать

ответил 2011-07-08 12:34:53 +0400

blkang Gravatar blkang

     apt-get install linux-headers
Reading package lists... Done
Building dependency tree
Reading state information... Done
Package linux-headers is a virtual package provided by:
  linux-headers-2.6-amd64 2.6.39+35.1
  linux-headers-2.6.39-2-amd64 2.6.39-2
  linux-headers-2.6-xen-amd64 2.6.32+29
  linux-headers-2.6-vserver-amd64 2.6.32+29
  linux-headers-2.6-openvz-amd64 2.6.32+29
  linux-headers-2.6.32-5-xen-amd64 2.6.32-35
  linux-headers-2.6.32-5-vserver-amd64 2.6.32-35
  linux-headers-2.6.32-5-openvz-amd64 2.6.32-35
  linux-headers-2.6.32-5-amd64 2.6.32-35
You should explicitly select one to install.
E: Package linux-headers has no installation candidate
root@9533:~# apt-get install linux-headers-2.6-amd64
Reading package lists... Done
Building dependency tree
Reading state information... Done
You might want to run `apt-get -f install' to correct these:
The following packages have unmet dependencies:
  libc-dev-bin: Depends: libc6 (> 2.13) but 2.11.2-11 is to be installed
  libc6: Depends: libc-bin (= 2.11.2-11) but 2.13-7 is to be installed
  libc6-dev: Depends: libc6 (= 2.13-7) but 2.11.2-11 is to be installed
  linux-headers-2.6-amd64: Depends: linux-headers-2.6.39-2-amd64 but it is not going to be installed
  locales: Depends: glibc-2.13-1
  locales-all: Depends: glibc-2.13-1
E: Unmet dependencies. Try 'apt-get -f install' with no packages (or specify a solution).
root@9533:~# apt-get -f install
Reading package lists... Done
Building dependency tree
Reading state information... Done
Correcting dependencies... Done
The following extra packages will be installed:
  libc6
Suggested packages:
  glibc-doc
The following packages will be upgraded:
  libc6
1 upgraded, 0 newly installed, 0 to remove and 245 not upgraded.
6 not fully installed or removed.
Need to get 0B/4314kB of archives.
After this operation, 381kB of additional disk space will be used.
Do you want to continue [Y/n]? y
Preconfiguring packages ...
(Reading database ...
dpkg: warning: files list file for package `libc6' missing, assuming package has no files currently installed.

    (Reading database ... 33417 files and directories currently installed.)
Preparing to replace libc6 2.11.2-11 (using .../libc6_2.13-7_amd64.deb) ...
Checking for services that may need to be restarted...
Checking init scripts...

A non-dpkg owned copy of the C library was found:
  '/lib/ld-2.11.2.so'
It is not safe to upgrade the C library in this situation;
please remove that copy of the C library or get it out of
'/lib' and try again.
dpkg: error processing /var/cache/apt/archives/libc6_2.13-7_amd64.deb (--unpack):
 subprocess new pre-installation script returned error exit status 1
Errors were encountered while processing:
 /var/cache/apt/archives/libc6_2.13-7_amd64.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)

alexcr,

     apt-get install linux-headers
Reading package lists... Done
Building dependency tree
Reading state information... Done
Package linux-headers is a virtual package provided by:
  linux-headers-2.6-amd64 2.6.39+35.1
  linux-headers-2.6.39-2-amd64 2.6.39-2
  linux-headers-2.6-xen-amd64 2.6.32+29
  linux-headers-2.6-vserver-amd64 2.6.32+29
  linux-headers-2.6-openvz-amd64 2.6.32+29
  linux-headers-2.6.32-5-xen-amd64 2.6.32-35
  linux-headers-2.6.32-5-vserver-amd64 2.6.32-35
  linux-headers-2.6.32-5-openvz-amd64 2.6.32-35
  linux-headers-2.6.32-5-amd64 2.6.32-35
You should explicitly select one to install.
E: Package linux-headers has no installation candidate
root@9533:~# apt-get install linux-headers-2.6-amd64
Reading package lists... Done
Building dependency tree
Reading state information... Done
You might want to run `apt-get -f install' to correct these:
The following packages have unmet dependencies:
  libc-dev-bin: Depends: libc6 (> 2.13) but 2.11.2-11 is to be installed
  libc6: Depends: libc-bin (= 2.11.2-11) but 2.13-7 is to be installed
  libc6-dev: Depends: libc6 (= 2.13-7) but 2.11.2-11 is to be installed
  linux-headers-2.6-amd64: Depends: linux-headers-2.6.39-2-amd64 but it is not going to be installed
  locales: Depends: glibc-2.13-1
  locales-all: Depends: glibc-2.13-1
E: Unmet dependencies. Try 'apt-get -f install' with no packages (or specify a solution).
root@9533:~# apt-get -f install
Reading package lists... Done
Building dependency tree
Reading state information... Done
Correcting dependencies... Done
The following extra packages will be installed:
  libc6
Suggested packages:
  glibc-doc
The following packages will be upgraded:
  libc6
1 upgraded, 0 newly installed, 0 to remove and 245 not upgraded.
6 not fully installed or removed.
Need to get 0B/4314kB of archives.
After this operation, 381kB of additional disk space will be used.
Do you want to continue [Y/n]? y
Preconfiguring packages ...
(Reading database ...
dpkg: warning: files list file for package `libc6' missing, assuming package has no files currently installed.

    (Reading database ... 33417 files and directories currently installed.)
Preparing to replace libc6 2.11.2-11 (using .../libc6_2.13-7_amd64.deb) ...
Checking for services that may need to be restarted...
Checking init scripts...

A non-dpkg owned copy of the C library was found:
  '/lib/ld-2.11.2.so'
It is not safe to upgrade the C library in this situation;
please remove that copy of the C library or get it out of
'/lib' and try again.
dpkg: error processing /var/cache/apt/archives/libc6_2.13-7_amd64.deb (--unpack):
 subprocess new pre-installation script returned error exit status 1
Errors were encountered while processing:
 /var/cache/apt/archives/libc6_2.13-7_amd64.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)

Проект компании "АТС Дизайн"
Asterisk® и Digium® являются зарегистрированными торговыми марками компании Digium, Inc., США.
IP АТС Asterisk распространяется под лицензией GNU GPL.