MAL - Memória Auxiliar do Lutieri

quarta-feira, junho 13, 2007

apt-get sucks

Não é possível que alguém consiga viver com o apt durante um tempo sem arrancar algumas mechas do cabelo.... arrrgggg

Estou eu instalando um software de inventário em um Debian Sarge, o Cacic. Nessa nova versão ele precisa do pacote mcrypt para o php. Eu na minha imensa inocência fui tentar instalar o tal do pacote de 14k pelo apt.

Bom de início tive um surpresa.. bom... surpresa não.. eu já presentia que não ia funcionar:

intranet:/home/intranet/public_html# apt-get install php5-mcrypt
Reading Package Lists... Done
Building Dependency Tree... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.

Since you only requested a single operation it is extremely likely that
the package is simply not installable and a bug report against
that package should be filed.
The following information may help to resolve the situation:

The following packages have unmet dependencies:
php5-mcrypt: Depends: libc6 (>= 2.3.5-1) but 2.3.2.ds1-22sarge5 is to be installed
Depends: phpapi-20060613
E: Broken packages

Tá tudo bem.. coloquei mais um mirror no source.list(deb http://ftp.br.debian.org/debian/ stable main)

Aí dei um update e cagou tudo de vez. Prestem atenção na saída agora:

intranet:/home/intranet/public_html# apt-get install php5-mcrypt
Reading Package Lists... Done
Building Dependency Tree... Done
The following extra packages will be installed:
apache-common busybox coreutils klibc-utils libapache-mod-php5 libc6 libc6-dev libdb4.4 libgcrypt11 libgcrypt11-dev
libgpg-error-dev libgpg-error0 libklibc libkrb53 libselinux1 libsepol1 libssl0.9.8 libvolume-id0 libxml2 libxml2-dev
libxslt1-dev libxslt1.1 locales lsb-base makedev module-init-tools tzdata
Suggested packages:
apache apache-ssl apache-perl php-pear glibc-doc rng-tools libgcrypt11-doc krb5-doc krb5-user
Recommended packages:
xml-core
The following packages will be REMOVED:
base-config initrd-tools kernel-image-2.6-amd64-k8-smp kernel-image-2.6.21.1 kernel-image-2.6.8-11-amd64-k8-smp
kernel-image-2.6.8-12-amd64-k8-smp
The following NEW packages will be installed:
apache-common busybox klibc-utils libapache-mod-php5 libdb4.4 libklibc libselinux1 libsepol1 libssl0.9.8 libvolume-id0
lsb-base php5-mcrypt tzdata
The following packages will be upgraded:
coreutils libc6 libc6-dev libgcrypt11 libgcrypt11-dev libgpg-error-dev libgpg-error0 libkrb53 libxml2 libxml2-dev
libxslt1-dev libxslt1.1 locales makedev module-init-tools
15 upgraded, 13 newly installed, 6 to remove and 274 not upgraded.
Need to get 22.9MB of archives.
After unpacking 102MB disk space will be freed.
Do you want to continue? [Y/n]

Além que querer remover o kernel que eu estou usando atualmente, instalar 13 pacotes, remover 6, atualizar 15 e ter outros 274 pra atualizar ele ainda tem a cara de pau de me questionar se eu quero continuar!! ha ha ha


Por favor né!?!

Marcadores: ,

2 Comentários:

Postar um comentário

<< Home



Chat with Lutieri G. B.

Subscribe in a reader