[Netkit.users] Problem with libc upgrading

Massimo Rimondini rimondin a dia.uniroma3.it
Mer 20 Giu 2007 10:11:24 CEST


Dear Emanuele,

version 3.0a of the Netkit filesystem contains an upgraded libc:

ii  libc6          2.3.6.ds1-13   GNU C Library: Shared libraries

Anyway, if you still want to get an upgraded libc on your own, you shold 
proceed as follows (root privileges are required):

   1. mount the Netkit filesystem on your host:

      mount -o loop,offset=16384 netkit-fs /mnt/nkfs

   2. change the root (/) to point to that filesystem:

      chroot /mnt/nkfs

   3. configure a name server inside /etc/resolv.conf
   4. update the list of packages and install the required upgrades:

      apt-get update
      apt-get install coreutils libc6
          

Notice: the link suggested by Luca points to a filesystem with an 
already upgraded libc but, as it was only meant for internal 
experimentation, it will soon to be removed and should therefore not go 
public. I kindly ask you not to mention it in further posts to this 
mailing list.


Regards,
Massimo.


Emanuele Corso wrote:
> The problem is that I need the upgraded version of libc to resolve the 
> dependencies of the library libjpcap.so
> This is the output of "ldd libjpcap.so":
>
> libjpcap.so: /lib/libc.so.6: version `GLIBC_2.4' not found (required 
> by libjpcap.so)
>         linux-gate.so.1 =>  (0xffffe000)
>         libpcap.so.0.8 => /usr/lib/libpcap.so.0.8 (0x40024000)
>         libc.so.6 => /lib/libc.so.6 (0x4004e000)
>         /lib/ld-linux.so.2 (0x15555000)
>
>
>
> 2007/6/19, Luca Troiani <luca.troiani a gmail.com 
> <mailto:luca.troiani a gmail.com>>:
>
>     Dear Emanuele,
>     I had the same problem installing a new version of gcc, because it
>     needed upgraded version of libc.
>     I discovered, after lots of trouble, that the packet I downloaded
>     from the repository was wrong (it had a bug or something similar).
>     There is only one solution (I know): use a Netkit filesystem
>     already upgraded.
>      
>     This link should resolve your problem:
>      
>     Regards,
>      
>     Luca
>
>         ----- Original Message -----
>         *From:* Emanuele Corso <mailto:ritualrp a gmail.com>
>         *To:* netkit. users <mailto:netkit.users a list.dia.uniroma3.it>
>         *Sent:* Tuesday, June 19, 2007 12:58 AM
>         *Subject:* [Netkit.users] Problem with libc upgrading
>
>          
>         I need a libc version >= 2.5
>         So I added to sources.list the line "deb
>         http://ftp.us.debian.org/debian
>         <http://ftp.us.debian.org/debian> unstable main contrib non-free"
>         and did a "apt-get update" and a "apt-get install libc6"
>
>         apt-get is going to upgrade libc6-dev and locales, and remove
>         tzdata
>         but the update fails
>
>         This is the output:
>
>         Preparing to replace libc6 2.3.6.ds1-13 (using
>         .../libc6_2.5-9+b1_i386.deb) ...
>         Unpacking replacement libc6 ...
>         cannot set up thread-local storage: set_thread_area failed
>         when setting up thread-local storage
>
>         dpkg: warning - old post-removal script returned error exit
>         status 127
>         dpkg - trying script from the new package instead ...
>         cannot set up thread-local storage: set_thread_area failed
>         when setting up thread-local storage
>
>         dpkg: error processing
>         /var/cache/apt/archives/libc6_2.5-9+b1_i386.deb (--unpack):
>          subprocess new post-removal script returned error exit status
>         127
>         cannot set up thread-local storage: set_thread_area failed
>         when setting up thread-local storage
>
>         dpkg: error while cleaning up:
>          subprocess pre-installation script returned error exit status 127
>         Errors were encountered while processing:
>          /var/cache/apt/archives/libc6_2.5-9+b1_i386.deb
>         E: Sub-process /usr/bin/dpkg returned an error code (1)
>
>
>         Anyone knows how to do this upgrade?
>         Thanks
>
>         Emanuele Corso
>
>         ------------------------------------------------------------------------
>         _______________________________________________
>         Netkit.users mailing list
>         Netkit.users a list.dia.uniroma3.it
>         <mailto:Netkit.users a list.dia.uniroma3.it>
>         http://list.dia.uniroma3.it/mailman/listinfo/netkit.users
>
>
> ------------------------------------------------------------------------
>
> _______________________________________________
> Netkit.users mailing list
> Netkit.users a list.dia.uniroma3.it
> http://list.dia.uniroma3.it/mailman/listinfo/netkit.users
>   
-------------- parte successiva --------------
Un allegato HTML è stato rimosso...
URL: http://list.dia.uniroma3.it/mailman/private/netkit.users/attachments/20070620/bd036b54/attachment.htm


Maggiori informazioni sulla lista Netkit.users