You are not logged in.

#1 2010-07-21 21:06:48

greengold
Member
Registered: 2010-01-30
Posts: 199

deleted GLIBC

Hi everyone!
I did terrible thing... I had problems, error messages about ELF files which pointed me to reinstall glibc. After I forced delete of glibc Im unable to execute any program nor start operating system...
Im only able to use live cd of other distro... So, is here any kind for me to restore my OS, or should I reinstall?
Is it possible to recopy glibc from this live OS to my old OS on disk?
Im sorry but cannot describe this problem any deeper
Thanks for responses!

Offline

#2 2010-07-21 21:15:03

wonder
Developer
From: Bucharest, Romania
Registered: 2006-07-05
Posts: 5,941
Website

Re: deleted GLIBC

use the arch live cd, mount the root partition and do pacman -S glibc -r /path/to/mounted/root


Give what you have. To someone, it may be better than you dare to think.

Offline

#3 2010-07-21 23:03:26

greengold
Member
Registered: 2010-01-30
Posts: 199

Re: deleted GLIBC

many thanks,this helped!

but Im having another issue with pacman related to last full update during which my computer has rebooted for several times
when Im trying to instal something Im getting :

[root@server tepo]# pacman -S eterm
warning: eterm-0.9.5-4 is up to date -- reinstalling
resolving dependencies...
error: could not open file /var/lib/pacman/local/kdebase-runtime-4.4.5-1/depends: No such file or directory
error: could not open file /var/lib/pacman/local/kdebindings-python-4.4.5-2/depends: No such file or directory
error: could not open file /var/lib/pacman/local/kdebase-runtime-4.4.5-1/depends: No such file or directory
error: could not open file /var/lib/pacman/local/kdebindings-python-4.4.5-2/depends: No such file or directory
error: could not open file /var/lib/pacman/local/kdebase-runtime-4.4.5-1/depends: No such file or directory
error: could not open file /var/lib/pacman/local/kdebindings-python-4.4.5-2/depends: No such file or directory
looking for inter-conflicts...
error: could not open file /var/lib/pacman/local/kdebase-runtime-4.4.5-1/depends: No such file or directory
error: could not open file /var/lib/pacman/local/kdebindings-python-4.4.5-2/depends: No such file or directory
error: could not open file /var/lib/pacman/local/kdebase-runtime-4.4.5-1/depends: No such file or directory
error: could not open file /var/lib/pacman/local/kdebindings-python-4.4.5-2/depends: No such file or directory
error: could not open file /var/lib/pacman/local/kdebase-runtime-4.4.5-1/depends: No such file or directory
error: could not open file /var/lib/pacman/local/kdebindings-python-4.4.5-2/depends: No such file or directory
error: could not open file /var/lib/pacman/local/kdebase-runtime-4.4.5-1/depends: No such file or directory
error: could not open file /var/lib/pacman/local/kdebindings-python-4.4.5-2/depends: No such file or directory
error: could not open file /var/lib/pacman/local/kdebase-runtime-4.4.5-1/depends: No such file or directory
error: could not open file /var/lib/pacman/local/kdebindings-python-4.4.5-2/depends: No such file or directory

Targets (1): eterm-0.9.5-4

Total Download Size:    0.00 MB
Total Installed Size:   1.58 MB

Proceed with installation? [Y/n]

and when confirmed:

checking package integrity...
(1/1) checking for file conflicts                                          [##########################################] 100%
(1/1) upgrading eterm                                                      [##########################################] 100%
/sbin/ldconfig: /usr/lib/libkabc.so.4.4.0 is not an ELF file - it has the wrong magic bytes at the start.

/sbin/ldconfig: /usr/lib/libkxmlrpcclient.so is not an ELF file - it has the wrong magic bytes at the start.

/sbin/ldconfig: /usr/lib/libmaildir.so.4.4.0 is not an ELF file - it has the wrong magic bytes at the start.

/sbin/ldconfig: /usr/lib/libmicroblog.so.4.4.0 is not an ELF file - it has the wrong magic bytes at the start.

/sbin/ldconfig: /usr/lib/libkmime.so.4 is not an ELF file - it has the wrong magic bytes at the start.

/sbin/ldconfig: /usr/lib/libkldap.so is not an ELF file - it has the wrong magic bytes at the start.

/sbin/ldconfig: /usr/lib/libkdeinit4_kuiserver.so is not an ELF file - it has the wrong magic bytes at the start.

/sbin/ldconfig: /usr/lib/libkontactinterface.so.4.4.0 is not an ELF file - it has the wrong magic bytes at the start.

/sbin/ldconfig: /usr/lib/libkresources.so.4 is not an ELF file - it has the wrong magic bytes at the start.

/sbin/ldconfig: /usr/lib/libkpimidentities.so.4.4.0 is not an ELF file - it has the wrong magic bytes at the start.

/sbin/ldconfig: /usr/lib/libmaildir.so is not an ELF file - it has the wrong magic bytes at the start.

/sbin/ldconfig: /usr/lib/libkholidays.so.4 is not an ELF file - it has the wrong magic bytes at the start.

/sbin/ldconfig: /usr/lib/libkpimtextedit.so.4.4.0 is not an ELF file - it has the wrong magic bytes at the start.

/sbin/ldconfig: /usr/lib/libakonadi-kabc.so.4 is not an ELF file - it has the wrong magic bytes at the start.

/sbin/ldconfig: /usr/lib/libkpimidentities.so is not an ELF file - it has the wrong magic bytes at the start.

/sbin/ldconfig: /usr/lib/libkabc_file_core.so is not an ELF file - it has the wrong magic bytes at the start.

/sbin/ldconfig: /usr/lib/libmicroblog.so is not an ELF file - it has the wrong magic bytes at the start.

/sbin/ldconfig: /usr/lib/libkwalletbackend.so.4.4.0 is not an ELF file - it has the wrong magic bytes at the start.

/sbin/ldconfig: /usr/lib/libqgpgme.so is not an ELF file - it has the wrong magic bytes at the start.

/sbin/ldconfig: /usr/lib/libmailtransport.so is not an ELF file - it has the wrong magic bytes at the start.

/sbin/ldconfig: /usr/lib/libkldap.so.4 is not an ELF file - it has the wrong magic bytes at the start.

/sbin/ldconfig: /usr/lib/libkpimtextedit.so is not an ELF file - it has the wrong magic bytes at the start.

/sbin/ldconfig: /usr/lib/libkpimutils.so.4.4.0 is not an ELF file - it has the wrong magic bytes at the start.

/sbin/ldconfig: /usr/lib/libkdeinit4_nepomukserver.so is not an ELF file - it has the wrong magic bytes at the start.

/sbin/ldconfig: /usr/lib/libgpgme++-pthread.so.2 is not an ELF file - it has the wrong magic bytes at the start.

/sbin/ldconfig: /usr/lib/libkimap.so.4.4.0 is not an ELF file - it has the wrong magic bytes at the start.

/sbin/ldconfig: /usr/lib/libkpimutils.so.4 is not an ELF file - it has the wrong magic bytes at the start.

/sbin/ldconfig: /usr/lib/libkcal.so is not an ELF file - it has the wrong magic bytes at the start.

/sbin/ldconfig: /usr/lib/libgpgme++-pthread.so is not an ELF file - it has the wrong magic bytes at the start.

/sbin/ldconfig: /usr/lib/libakonadi-kde.so is not an ELF file - it has the wrong magic bytes at the start.

/sbin/ldconfig: /usr/lib/libmbox.so.4 is not an ELF file - it has the wrong magic bytes at the start.

/sbin/ldconfig: /usr/lib/libkblog.so.4.4.0 is not an ELF file - it has the wrong magic bytes at the start.

/sbin/ldconfig: /usr/lib/libmailtransport.so.4.4.0 is not an ELF file - it has the wrong magic bytes at the start.

/sbin/ldconfig: file /usr/lib/libakonadi-kmime.so.4 is truncated

/sbin/ldconfig: /usr/lib/libakonadi-kabc.so.4.4.0 is not an ELF file - it has the wrong magic bytes at the start.
.
.
.

how can I fix this? many thanks...

Offline

#4 2010-07-21 23:07:31

wonder
Developer
From: Bucharest, Romania
Registered: 2006-07-05
Posts: 5,941
Website

Re: deleted GLIBC

did you do an update and your partition doesn't have any space free?

you actually need to reinstall the packages that own those files, start with the ones above.


Give what you have. To someone, it may be better than you dare to think.

Offline

#5 2010-07-21 23:29:22

greengold
Member
Registered: 2010-01-30
Posts: 199

Re: deleted GLIBC

hmm... reinstalling kdebase-runtime and  kdebindings-python fixed errors before confirmation of installation but problems related to ldconfig remains hmm

Offline

#6 2010-07-22 06:26:04

wonder
Developer
From: Bucharest, Romania
Registered: 2006-07-05
Posts: 5,941
Website

Re: deleted GLIBC

greengold wrote:

hmm... reinstalling kdebase-runtime and  kdebindings-python fixed errors before confirmation of installation but problems related to ldconfig remains hmm

so do for every file

pacman -Qo /usr/lib/libkxmlrpcclient.so

note the package that owns that. if nothing comes out install pkgtools, pkgfile -u, pkgfile /usr/lib/libkxmlrpcclient.so and reinstall it


Give what you have. To someone, it may be better than you dare to think.

Offline

#7 2010-07-22 09:26:45

greengold
Member
Registered: 2010-01-30
Posts: 199

Re: deleted GLIBC

pacman -Qo /usr/lib/libkxmlrpcclient.so
gives :
error: No package owns /usr/lib/libkxmlrpcclient.so
so I install pkgtools, pkgfile -u updates fine but pkgfile -u, pkgfile /usr/lib/libkxmlrpcclient.so gives no output and error for that file still remains sad

Offline

#8 2010-07-22 09:43:52

fsckd
Forum Fellow
Registered: 2009-06-15
Posts: 4,173

Re: deleted GLIBC

Eh?

> pkgfile -vg '*/libkxmlrpcclient.so'
extra/kdepimlibs (4.4.5-1) : /usr/lib/libkxmlrpcclient.so


aur S & M :: forum rules :: Community Ethos
Resources for Women, POC, LGBT*, and allies

Offline

#9 2010-07-22 10:02:33

wonder
Developer
From: Bucharest, Romania
Registered: 2006-07-05
Posts: 5,941
Website

Re: deleted GLIBC

> pkgfile /usr/lib/libkxmlrpcclient.so
extra/kdepimlibs


Give what you have. To someone, it may be better than you dare to think.

Offline

#10 2010-07-22 10:07:25

greengold
Member
Registered: 2010-01-30
Posts: 199

Re: deleted GLIBC

yo!
thats it, finally its fixed!!
Many thanks to wonder and fsckd smile

pkgfile -vg '*/libkxmlrpcclient.so' works for me!

Last edited by greengold (2010-07-22 10:08:16)

Offline

Board footer

Powered by FluxBB