LINUX.ORG.RU

[eeeBuntu] Не устанавливаются пакеты


0

0

Одна и та же ошибка при попытки установки многих пакетов. Сначала возникает диалог о необходимости обновления glibc, выбираю «Yes», далее - ошибка. Например:

apt-get install phpmyadmin
из терминала:
(Reading database ... 88039 files and directories currently installed.)
Preparing to replace libc6 2.8~20080505-0ubuntu7 (using .../archives/libc6_2.9-12_i386.deb) ...
Checking for services that may need to be restarted...
Checking init scripts...
Unpacking replacement libc6 ...
dpkg: error processing /var/cache/apt/archives/libc6_2.9-12_i386.deb (--unpack):
 trying to overwrite `/usr/share/man/man1/localedef.1.gz', which is also in package belocs-locales-bin
dpkg-deb: subprocess paste killed by signal (Broken pipe)
Processing triggers for man-db ...
Errors were encountered while processing:
 /var/cache/apt/archives/libc6_2.9-12_i386.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)
Эта же ошибка и при apt-get upgrade glibc6.

Re: [eeeBuntu] Не устанавливаются пакеты

судя по всему belocs-locales-bin явно не из убунтовского репозитория - попробуй удалить его, после чего:

sudo dpkg --configure -a
sudo apt-get update
sudo apt-get dist-upgrade -y

lester ★★★★ ()

Re: [eeeBuntu] Не устанавливаются пакеты

если не получится - скопируй сюда /etc/apt/sources.list

lester ★★★★ ()

Re: [eeeBuntu] Не устанавливаются пакеты

>apt-get upgrade glibc6

O-o install может все же

apt-cache clean aptitude update aptitude install phpmyadmin libc6

Dudraug ★★★★★ ()

Re: [eeeBuntu] Не устанавливаются пакеты

>apt-get upgrade glibc6


O-o install может все же



apt-cache clean
aptitude update
aptitude install phpmyadmin libc6

Dudraug ★★★★★ ()
Ответ на: Re: [eeeBuntu] Не устанавливаются пакеты от lester

Re: [eeeBuntu] Не устанавливаются пакеты

Не получилось.
sources.list:
[code]# deb cdrom:[Ubuntu 8.10 _Intrepid Ibex_ - Release i386 (20081029.5)]/ intrepid$
# See http://help.ubuntu.com/community/UpgradeNotes for how to upgrade to
# newer versions of the distribution.

deb http://ru.archive.ubuntu.com/ubuntu/ intrepid main restricted

## Major bug fix updates produced after the final release of the
## distribution.
deb http://ru.archive.ubuntu.com/ubuntu/ intrepid-updates main restricted

## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu
## team. Also, please note that software in universe WILL NOT receive any
## review or updates from the Ubuntu security team.

## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu
## team, and may not be under a free licence. Please satisfy yourself as to
## your rights to use the software. Also, please note that software in
## multiverse WILL NOT receive any review or updates from the Ubuntu
## security team.
## Uncomment the following two lines to add software from the 'backports'
## repository.
## N.B. software from this repository may not have been tested as
## extensively as that contained in the main release, although it includes
## newer versions of some applications which may provide useful features.
## Also, please note that software in backports WILL NOT receive any review
## or updates from the Ubuntu security team.
# deb http://ru.archive.ubuntu.com/ubuntu/ intrepid-backports main restricted u$
# deb-src http://ru.archive.ubuntu.com/ubuntu/ intrepid-backports main restrict$

## Uncomment the following two lines to add software from Canonical's
## 'partner' repository. This software is not part of Ubuntu, but is
## offered by Canonical and the respective vendors as a service to Ubuntu
## users.
# deb http://archive.canonical.com/ubuntu intrepid partner
# deb-src http://archive.canonical.com/ubuntu intrepid partner

[/code]

Vasilii ()
Ответ на: Re: [eeeBuntu] Не устанавливаются пакеты от lester

Re: [eeeBuntu] Не устанавливаются пакеты

>belocs-locales-bin при удалении много за собой тянет?

Нет, только себя, но это капец.
Выполнил:
>apt-get clean
>apt-get update
>apt-get upgrade
Скачалось 670Мб пакетов (скорость 128kbps) -> тот же диалог -> та же ошибка.

>apt-get belocs-locales-bin remove
Та же ошибка! Он даже не удаляется!

Кстати о диалоге. Там два окна, в первом только кнопока <OK>, во втором - <Yes> и <No>.
Первое окно:

Running services and programs that are using NSS need to be restarted,    │ 
 │ otherwise they might not be able to do lookup or authentication any       │ 
 │ more. The installation process is able to restart some services (such as  │ 
 │ ssh or telnetd), but other programs cannot be restarted automatically.    │ 
 │ One such program that needs manual stopping and restart after the glibc   │ 
 │ upgrade by yourself is xdm - because automatic restart might disconnect   │ 
 │ your active X11 sessions.                                                 │ 
 │                                                                           │ 
 │ This script detected the following installed services which must be       │ 
 │ stopped before the upgrade: gdm                                           │ 
 │                                                                           │ 
 │ If you want to interrupt the upgrade now and continue later, please       │ 
 │ answer No to the question below.

Второе окно:

Do you want to upgrade glibc now?               

Vasilii ()
Вы не можете добавлять комментарии в эту тему. Тема перемещена в архив.