You appear to have a rather old Gentoo installation, if ebuilds are 
stored under /usr/portage/packages/.

Many changes have taken place since that era, including a new 23.0 
make.profile, /usr merge, et al.

In addition, your download of the glibc binary looks incomplete - notice 
the .partial suffix.  You could try to delete this file and try again.

If this is a very old system it will be easier and faster to reinstall 
using a fresh stage 3 archive, than trying to upgrade it in situ.  Keep 
your current /etc files, but update/edit your make.conf.  Also keep your 
/var/lib/portage/world and the latest kernel .config from your existing 
installation to minimise the burden of setting up the new system.


On Friday, 27 February 2026 06:43:51 Greenwich Mean Time Erwan RIGOLLOT 
wrote:
> Hello
> Anyone can help me ?
> 
> Please.
> 
> Bien à vous,
> 
> Erwan RIGOLLOT
> 
> ________________________________
> De : Erwan RIGOLLOT <[email protected]>
> Envoyé : mercredi, février 25, 2026 10:44:07 AM
> À : [email protected] <[email protected]>
> Objet : [gentoo-user] Invalid binary package
> 
> Hello,
> 
> I’m having trouble updating another one gentoo.
> 
> emerge =sys-libs/glibc-2.34-r14 -av –nodeps
> I get :
> x86_64-pc-linux-gnu-gcc -march=native -O2 -pipe   -Wl,-O1
> -Wl,--as-needed -Wl,-z,pack-relative-relocs  glibc-test.c   -o
> glibc-test ./glibc-test: /lib64/libc.so.6: version
> `GLIBC_ABI_DT_RELR' not found (required by ./glibc-test) 
> So, I have a problem with glibc. I try to emerge binary package of
> glibc, but I have another problem :
 
> emerge -G glibc -av –nodeps
> I get :
> These are the packages that would be merged, in order:
> 
> [binary     U  ] sys-libs/glibc-2.42-r5-3:2.2::gentoo
> [2.33-r7:2.2::gentoo] USE="cet* multiarch ssp (static-libs) -audit
> -caps -compile-locales (-custom-cflags) -doc -gd -hash-sysv-compat%
> -headers-only (-multilib*) -multilib-bootstrap -nscd -perl% -profile
> (-selinux) (-sframe) -stack-realign% -suid (-systemd) -systemtap
> -test (-vanilla) -verify-sig% (-crypt%) (-static-pie%)" 12 210 KiB
 
> Total: 1 package (1 upgrade, 1 binary), Size of downloads: 12 210 KiB
> 
> Would you like to merge these packages? [Yes/No] Yes
> 
> ….
> 
> Saving to:
> ‘/usr/portage/packages/sys-libs/glibc-2.42-r5.tbz2.partial’
 
> /usr/portage/packages/sys-libs/glibc-2.42-r5.tbz2.partial  
> 100%[================================================================
> ======================================================================
> ==>]  11,92M  --.-KB/s    in 0,1s
 
> 2026-02-25 10:33:04 (119 MB/s) -
> ‘/usr/portage/packages/sys-libs/glibc-2.42-r5.tbz2.partial’ saved
> [12503040/12503040]
 
> * glibc-2.42-r5.tbz2 MD5 SHA1 size ;-) ...                            
>  [ ok ] !!! Invalid binary package:
> '/usr/portage/packages/sys-libs/glibc-2.42-r5.tbz2.partial'
> /usr/lib/portage/python3.9/ebuild.sh: line 657:
> /var/tmp/portage/sys-libs/glibc-2.42-r5/build-info/glibc-2.42-r5.ebui
> ld: No such file or directory 
> I can give more details for any step.
> my only goal is to have a Gentoo up-to-date but I prefer update than
> reinstall.
 
> Thanks for your help !
> 
> Regards,
> 
> Erwan RIGOLLOT
> 

Attachment: signature.asc
Description: This is a digitally signed message part.

Reply via email to