You are not logged in.

#1 2012-09-08 03:36:53

Edward.H
Member
Registered: 2009-10-26
Posts: 69
Website

deleted /lib folder by accident,what is the best way to recover

I didn't read this http://www.archlinux.org/news/the-lib-d … a-symlink/ before upgraded ,I deleted the lib folder.


What is the best way to recover my Arch at this status?

thanks

Offline

#2 2012-09-08 05:10:30

ConnorBehan
Package Maintainer (PM)
From: Long Island NY
Registered: 2007-07-05
Posts: 1,359
Website

Re: deleted /lib folder by accident,what is the best way to recover

I tried to help some one in a similar predicament earlier this year.

In your case, I would suggest installing "http://pkgbuild.com/~allan/glibc-2.16.0 … pkg.tar.xz" using the "pacman -r /mtn/arch/ -U" method when booted into a recovery CD.


6EA3 F3F3 B908 2632 A9CB E931 D53A 0445 B47A 0DAB
Great things come in tar.xz packages.

Offline

#3 2012-09-08 12:06:32

Mr.Elendig
#archlinux@freenode channel op
From: The intertubes
Registered: 2004-11-07
Posts: 4,097

Re: deleted /lib folder by accident,what is the best way to recover

Boot install cd, mount the partitions, pacman -r /mnt -Syu everything that owns files in (/usr/)/lib

pacman -Qk(q) can be handy for finding out what packages you broke.

Last edited by Mr.Elendig (2012-09-08 12:07:03)


Evil #archlinux@libera.chat channel op and general support dude.
. files on github, Screenshots, Random pics and the rest

Offline

#4 2012-09-08 12:18:50

graysky
Wiki Maintainer
From: :wq
Registered: 2008-12-01
Posts: 10,734
Website

Re: deleted /lib folder by accident,what is the best way to recover

Might be easier to simply backup what is left into say /backup and reinstall fresh.  You can go to your /backup/foo to get whatever you need (config files, user files etc.).

Offline

#5 2012-09-08 12:32:58

Edward.H
Member
Registered: 2009-10-26
Posts: 69
Website

Re: deleted /lib folder by accident,what is the best way to recover

I will try  both Mr.Elendig & graysky's suggestion ,thanks

Offline

#6 2012-09-08 13:28:49

darkbeanies
Member
Registered: 2009-01-14
Posts: 142

Re: deleted /lib folder by accident,what is the best way to recover

I deleted the contents of my /lib folder by mistake the other day and all my problems were solved with pacman's --root option, definitely try that first.

Offline

Board footer

Powered by FluxBB