Fórum Debian
Debian 6.0 squeeze amd64 - Versão para Impressão

+- Fórum Debian (http://www.forumdebian.com.br)
+-- Fórum: Debian (/forum-4.html)
+--- Fórum: Software (/forum-14.html)
+--- Tópico: Debian 6.0 squeeze amd64 (/thread-12776.html)



Debian 6.0 squeeze amd64 - victorrebli - 28/07/2011 16:44

Por que o debian 64 bits apresenta uma certa dificuldade ao instalar pacotes pelo apt-get?

Eu não consigo instalar o gcc, g++ pelo modo convencional e quando vai baixar esses pacotes, o linux da a seguinte texto.

eglibc (2.13-11) unstable; urgency=low

Starting with the eglibc package version 2.13-5, the libraries are
shipped in the multiarch directory /lib/$arch instead of the more
traditional /lib.

The toolchain in Debian has been updated to cope with that, and most
build systems should be unaffected. If you are using a non-Debian
toolchain to build your software and it is not able to cope with
multiarch, you might try to pass the following option to your
compiler:

-B/usr/lib/$arch

-- Aurelien Jarno <[email protected]> Sat, 23 Jul 2011 23:42:46 +0200

eglibc (2.13-7) unstable; urgency=low

Starting with version 2.13, eglibc provides an SSSE3 optimized version
of memcpy() on the amd64 architecture. This version might copy memory
backward in some conditions, which causes issues if the source and
/tmp/tmpzZavap

destination overlap. memmove() should be used in such cases, but some
programs still wrongly use memcpy().

For this reason, on the amd64 architecture the Debian package provides
two wrappers which can be use to workaround and/or debug the issue:
- /usr/lib/x86_64-linux-gnu/libc/memcpy-preload.so simply replace all
calls to memcpy() by a call to memmove()
- /usr/lib/x86_64-linux-gnu/libc/memcpy-syslog-preload.so does the same,
but in addition logs (with rate limit) the issue to syslog, so that it
can be detected and fixed.

To use these wrapper on a single binary, the easiest way is to use the
LD_PRELOAD environment variable:
- LD_PRELOAD=/usr/lib/x86_64-linux-gnu/libc/memcpy-preload.so /path/to/binary
- LD_PRELOAD=/usr/lib/x86_64-linux-gnu/libc/memcpy-syslog-preload.so /path/to/binary

For system-wide usage, it is possible to add the path of one of the
wrapper to /etc/ld.so.preload.

Eu deveria baixar outra arquiterura?


Att, Victor


RE: Debian 6.0 squeeze amd64 - mpmoraes - 28/07/2011 17:32

Se você tem uma máquina de 64 bits, se seu debian é um amd64, se sua sources.list está redonda (inclusive com o repositório multimedia) não tem porque ele ap resentar problemas com o apt-get.
Minha máquina é amd64, meu debian é amd 64 e tudo funciona numa boa.
Aproveito para postar minha sources.list e vê se a sua está parecida. Use o comando (como root): gedit /etc/apt/sources.list


#
# deb cdrom:[Debian GNU/Linux 6.0.0 _Squeeze_ - Official amd64 DVD Binary-1 20110205-18:15]/ squeeze contrib main
# deb cdrom:[Debian GNU/Linux 6.0.0 _Squeeze_ - Official amd64 DVD Binary-1 20110205-18:15]/ squeeze contrib main
deb http://ftp.br.debian.org/debian/ squeeze main contrib non-free
deb-src http://ftp.br.debian.org/debian/ squeeze main contrib non-free
deb http://security.debian.org/ squeeze/updates main contrib non-free
deb-src http://security.debian.org/ squeeze/updates main contrib non-free
deb http://ftp.br.debian.org/debian/ squeeze-updates main contrib non-free
deb-src http://ftp.br.debian.org/debian/ squeeze-updates main contrib non-free
# Debian Multimedia
# instalar o pacote debian-multimedia-keyring
deb http://www.debian-multimedia.org squeeze main non-free
# Debian Backports
deb http://backports.debian.org/debian-backports squeeze-backports main


RE: Debian 6.0 squeeze amd64 - renatov - 28/07/2011 18:29

Poste o conteúdo de seu sources.list pra gente dar uma olhada. Se houver, poste também o conteúdo do /etc/apt/apt.conf e do /etc/apt/preferences