Failureto update glibc

This forum is for all other ARMv5 devices

Failureto update glibc

Postby campigenus » Mon Sep 17, 2012 8:50 am

The update of glibc has been failing for the last couple days, any idea when this will be fixed? And hints on fixing the issue myself?

"sh-4.2# pacman -Syu
:: Starting full system upgrade...
resolving dependencies...
looking for inter-conflicts...

Targets (1): glibc-2.16.0-4

Total Installed Size: 33.75 MiB
Net Upgrade Size: 0.10 MiB

Proceed with installation? [Y/n]
(1/1) checking package integrity [######################] 100%
(1/1) loading package files [######################] 100%
(1/1) checking for file conflicts [######################] 100%
error: failed to commit transaction (conflicting files)
glibc: /lib exists in filesystem
Errors occurred, no packages were upgraded.
"
~~~
"Good behavior is the last refuge of mediocrity."
- Henry S. Haskins
campigenus
 
Posts: 38
Joined: Tue Feb 21, 2012 6:00 am

Re: Failureto update glibc

Postby WarheadsSE » Mon Sep 17, 2012 11:58 am

pacman -R pcmiatools (probably one of the culprits)
And read up on the issue of glibc-2.16 .. it's all over this forum and upstream.
Core Developer
Remember: Arch Linux ARM is entirely community donation supported!
WarheadsSE
Developer
 
Posts: 6807
Joined: Mon Oct 18, 2010 2:12 pm

Re: Failureto update glibc

Postby campigenus » Mon Sep 17, 2012 5:28 pm

I have been reading on the glibc issues, upstream stuff too. Alas, none of the suggested solutions/workarounds does anything for me.
Could this be related to my having fixed the previous "no-boot-flashing-LED" issue by manually linking "/usr/lib/modules"?

"pcmiatools"??
~~~
"Good behavior is the last refuge of mediocrity."
- Henry S. Haskins
campigenus
 
Posts: 38
Joined: Tue Feb 21, 2012 6:00 am

Re: Failureto update glibc

Postby WarheadsSE » Mon Sep 17, 2012 5:38 pm

Which way did you link ?

/lib/modules => /usr/lib/modules or the opposite?
Core Developer
Remember: Arch Linux ARM is entirely community donation supported!
WarheadsSE
Developer
 
Posts: 6807
Joined: Mon Oct 18, 2010 2:12 pm

Re: Failureto update glibc

Postby campigenus » Mon Sep 17, 2012 6:34 pm

Came up with the solution on my own, but it ended up being the same as:

"
cd /mnt/wherethepogodiskismounted
cd lib
ln -s ../usr/lib/modules .

"
~~~
"Good behavior is the last refuge of mediocrity."
- Henry S. Haskins
campigenus
 
Posts: 38
Joined: Tue Feb 21, 2012 6:00 am

Re: Failureto update glibc

Postby WarheadsSE » Mon Sep 17, 2012 7:08 pm

Yeah, You're going to need to remove that symlink
Core Developer
Remember: Arch Linux ARM is entirely community donation supported!
WarheadsSE
Developer
 
Posts: 6807
Joined: Mon Oct 18, 2010 2:12 pm

Re: Failureto update glibc

Postby Speed383 » Mon Sep 17, 2012 11:36 pm

I just rebooted my Plug B01 and it seems glibc installed fine. I did it yesterday and it installed but it wouldn't reboot.

Here is what I did in order:

1. Updated ignoring glibc: $this->bbcode_second_pass_code('', 'pacman -Su --ignore glibc')
2. Removed pcmciautils: $this->bbcode_second_pass_code('', 'pacman -R pcmciautils')
3. Removed oxnas-no pci: $this->bbcode_second_pass_code('', 'pacman -R kernel26-oxnas-nopci')
4. Removed oxnas-pic: $this->bbcode_second_pass_code('', 'pacman -R kernel26-oxnas-pci')
5. Deleted the gmac_copro_firmware from /usr/lib/firmware and copied the one from /lib/firmware to /usr/lib/firmware. ( I did this because I read a post that Warhead specifically said to copy the one from /lib. The one on /usr/lib/firmware may be the same so you might be able to skip this step.)
6. Removed the symlink from /usr/lib/modules to /lib/modules that we linked to install kmod earlier: $this->bbcode_second_pass_code('', 'cd /lib') then $this->bbcode_second_pass_code('', 'unlink modules')
7. Then I ran: $this->bbcode_second_pass_code('', 'grep '^lib/' /var/lib/pacman/local/*/files | grep -v glibc') and $this->bbcode_second_pass_code('', 'find /lib -exec pacman -Qo -- {} +') to make sure that there weren't any other conflicts for glibc.
8. Then update: $this->bbcode_second_pass_code('', 'pacman -Syu')

After that I rebooted and was good to go. I kinda flew through it and didn't take notes because I was actually expecting it to fail since I believe I did the same sequence last night and it bombed. Though it could have been that I was up far too late messing with it.... damn OCD.
Speed383
 
Posts: 10
Joined: Mon Jul 30, 2012 1:29 pm

Re: Failureto update glibc

Postby Kamen » Tue Sep 18, 2012 2:10 pm

This is interesting. Did you do that off of a clean install of the current root filesystem distributed here (the tarball for the B01 plug), or did you have a previous installation? Has anyone else tried this? Is this a solution or will there be other issues associated with it?
Kamen
Pogoplugs: POGO-B01 (Classic) and POGO-E02 (v2)
Kamen
 
Posts: 27
Joined: Mon Sep 17, 2012 5:53 pm

Re: Failureto update glibc

Postby WarheadsSE » Tue Sep 18, 2012 2:38 pm

I will be making a new tarball no later than this weekend.
Core Developer
Remember: Arch Linux ARM is entirely community donation supported!
WarheadsSE
Developer
 
Posts: 6807
Joined: Mon Oct 18, 2010 2:12 pm

Re: Failureto update glibc

Postby Kamen » Tue Sep 18, 2012 7:45 pm

Thank you, very much, WarheadsSE! No rush, take your time to do a robust fix. It's good to know that there will be a fix. We all appreciate it.
Kamen
Pogoplugs: POGO-B01 (Classic) and POGO-E02 (v2)
Kamen
 
Posts: 27
Joined: Mon Sep 17, 2012 5:53 pm

Next

Return to Community Supported

Who is online

Users browsing this forum: No registered users and 0 guests