You are not logged in.

#1 2012-07-15 13:41:55

Lea
Member
From: Slovenia
Registered: 2010-01-21
Posts: 34

Deleted /lib and update problem

I did stupid stupid thing. sad sad

I had conflicting problems with

error: failed to commit transaction (conflicting files)
glibc: /lib exists in filesystem
Errors occurred, no packages were upgraded.

After taht i did

pacman -Syu --ignore glibc
pacman -Su

The problems were still there so i followed wiki guide for manual intervention.
i did everything wiki said and delted /lib/modules. It wasn't getting better...
i still couldn't update. and then by accident deleted /lib. :'(

Everytnig is crashing now, i cant use firefox... I never had problem like this
I dont know what to do. I'm going crazy. Have deadline to meet soon and my
computer is fucking useful like an eggplant.

Offline

#2 2012-07-15 13:57:32

popso
Member
Registered: 2012-07-15
Posts: 17

Re: Deleted /lib and update problem

Seems i'm not the only one to made that mistake.

I solved it by extracting the lib folder of /var/cache/pacman/pkg/glibc-2.16.0-1-i686.pkg.tar.xz into /lib.

Offline

#3 2012-07-15 14:07:15

Lea
Member
From: Slovenia
Registered: 2010-01-21
Posts: 34

Re: Deleted /lib and update problem

Thank you. So much. How have you done this? Beacuse mkdir, cp and stuff is not working any more.
I think i should mount disk to another computer but i'm afraid it won't boot any more. And i'm using macbook
so cant boot from usb, and my cd-player is broken.

Last edited by Lea (2012-07-15 14:07:44)

Offline

#4 2012-07-15 14:09:06

cfr
Member
From: Cymru
Registered: 2011-11-27
Posts: 7,174

Re: Deleted /lib and update problem

Macbooks can't be booted from USB?


CLI Paste | How To Ask Questions

Arch Linux | x86_64 | GPT | EFI boot | refind | stub loader | systemd | LVM2 on LUKS
Lenovo x270 | Intel(R) Core(TM) i5-7200U CPU @ 2.50GHz | Intel Wireless 8265/8275 | US keyboard w/ Euro | 512G NVMe INTEL SSDPEKKF512G7L

Offline

#5 2012-07-15 14:10:43

popso
Member
Registered: 2012-07-15
Posts: 17

Re: Deleted /lib and update problem

I did this from an ubuntu partition, after rebooting it was all fine. So yes you should mount from another computer.

Offline

#6 2012-07-15 14:12:22

Lea
Member
From: Slovenia
Registered: 2010-01-21
Posts: 34

Re: Deleted /lib and update problem

By default no. You can make some dirty hacks and enable this.

Offline

#7 2012-07-15 14:13:05

Lea
Member
From: Slovenia
Registered: 2010-01-21
Posts: 34

Re: Deleted /lib and update problem

Ok, im going to try this. smile

Offline

#8 2012-07-15 14:33:37

darut
Member
Registered: 2004-04-17
Posts: 69

Re: Deleted /lib and update problem

popso could you attach the glibc-2.16.0-1-i686.pkg.tar.xz  package?

Offline

#9 2012-07-15 14:36:40

popso
Member
Registered: 2012-07-15
Posts: 17

Re: Deleted /lib and update problem

I could if you tell me how. You don't have it ?

Offline

#10 2012-07-15 14:40:48

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

Re: Deleted /lib and update problem

popso wrote:

I solved it by extracting the lib folder of /var/cache/pacman/pkg/glibc-2.16.0-1-i686.pkg.tar.xz into /lib.

Why not pacman -r ?


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

Offline

#11 2012-07-15 14:46:36

popso
Member
Registered: 2012-07-15
Posts: 17

Re: Deleted /lib and update problem

fsckd wrote:
popso wrote:

I solved it by extracting the lib folder of /var/cache/pacman/pkg/glibc-2.16.0-1-i686.pkg.tar.xz into /lib.

Why not pacman -r ?

Because i didn't know it. It's a temporary solution before the upgrade anyway.

Offline

#12 2012-07-15 14:48:16

cfr
Member
From: Cymru
Registered: 2011-11-27
Posts: 7,174

Re: Deleted /lib and update problem

Lea wrote:

By default no. You can make some dirty hacks and enable this.

Interesting - I thought the switch to intel did away with the need for such things. [ppc machines were like this which is why they always told you to get an external drive with firewire for bootable backups.]

EDIT: Oh, I see. It only works "out of the box" if you have a GUID partition map *and* an installation of OS X on the external drive. That sucks.

Last edited by cfr (2012-07-15 22:30:37)


CLI Paste | How To Ask Questions

Arch Linux | x86_64 | GPT | EFI boot | refind | stub loader | systemd | LVM2 on LUKS
Lenovo x270 | Intel(R) Core(TM) i5-7200U CPU @ 2.50GHz | Intel Wireless 8265/8275 | US keyboard w/ Euro | 512G NVMe INTEL SSDPEKKF512G7L

Offline

#13 2012-07-15 14:57:12

darut
Member
Registered: 2004-04-17
Posts: 69

Re: Deleted /lib and update problem

popso mail it to me please -  darutek@gmail.com.

Last edited by darut (2012-07-15 15:06:06)

Offline

#14 2012-07-15 15:00:42

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

Re: Deleted /lib and update problem

darut, at the top of the page look for a link "Packages". Click it and then search for glibc. Find the one that is yours, click that and on the right click "Download From Mirror".


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

Offline

#15 2012-07-15 15:04:53

popso
Member
Registered: 2012-07-15
Posts: 17

Re: Deleted /lib and update problem

darut wrote:

popso mail it to me darutek@gmail.com.

I just send it.

Offline

#16 2012-07-15 15:07:09

darut
Member
Registered: 2004-04-17
Posts: 69

Re: Deleted /lib and update problem

I've got it, thanks.

Offline

#17 2012-07-15 15:09:21

popso
Member
Registered: 2012-07-15
Posts: 17

Re: Deleted /lib and update problem

fsckd wrote:

darut, at the top of the page look for a link "Packages". Click it and then search for glibc. Find the one that is yours, click that and on the right click "Download From Mirror".

It's the 2.16.0-2 version which doesn't have the lib folder.

Offline

#18 2012-07-15 15:15:34

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

Re: Deleted /lib and update problem

popso wrote:
fsckd wrote:

darut, at the top of the page look for a link "Packages". Click it and then search for glibc. Find the one that is yours, click that and on the right click "Download From Mirror".

It's the 2.16.0-2 version which doesn't have the lib folder.

Ahh, ok. smile


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

Offline

Board footer

Powered by FluxBB