Trouble with /usr/lib symlink update

This forum is for topics specific to the Raspberry Pi and Arch Linux ARM

Trouble with /usr/lib symlink update

Postby pepijndevos » Fri Sep 14, 2012 1:14 pm

I followed this information https://wiki.archlinux.org/index.php/De ... iki:usrlib and did

$this->bbcode_second_pass_code('', '$ sudo pacman -Syu --ignore glibc,curl
:: Synchronizing package databases...
core is up to date
extra is up to date
community is up to date
alarm is up to date
aur is up to date
:: Starting full system upgrade...
warning: glibc: ignoring package upgrade (2.16.0-1 => 2.16.0-4)
resolving dependencies...
looking for inter-conflicts...

Targets (5): binutils-2.22-10 filesystem-2012.8-1 kmod-10-1 raspberrypi-firmware-20120914-1 syslog-ng-3.3.6-1

Total Installed Size: 50.32 MiB
Net Upgrade Size: 0.24 MiB

Proceed with installation? [Y/n]
(5/5) checking package integrity [#######################################################################################] 100%
(5/5) loading package files [#######################################################################################] 100%
(5/5) checking for file conflicts [#######################################################################################] 100%
error: failed to commit transaction (conflicting files)
filesystem: /etc/profile.d/locale.sh exists in filesystem
filesystem: /usr/share/man/man7/archlinux.7.gz exists in filesystem
Errors occurred, no packages were upgraded.')

Later they said that if you have conflicts that are not owned by any application, you can remove them.

$this->bbcode_second_pass_code('', '$ pacman -Qo /etc/profile.d/locale.sh
/etc/profile.d/locale.sh is owned by initscripts 2012.07.5-1
$ pacman -Qo /usr/share/man/man7/archlinux.7.gz
/usr/share/man/man7/archlinux.7.gz is owned by initscripts 2012.07.5-1')

What to do?
pepijndevos
 
Posts: 8
Joined: Fri Sep 14, 2012 9:26 am

Re: Trouble with /usr/lib symlink update

Postby MattScherbatsky » Fri Sep 14, 2012 1:50 pm

I have same problems. Damn. Can anyone help us?
MattScherbatsky
 
Posts: 34
Joined: Sat Aug 04, 2012 11:04 am

Re: Trouble with /usr/lib symlink update

Postby cirrus » Fri Sep 14, 2012 4:23 pm

Like other users i used the steps in "archlinux" wiki to no avail. Id just like to say i think that this is very sloppy workmanship by the developrs to push out this update and not give users a heads up --ignore glibc dont cut it. using steps to symlink as i did on 3 arch linux pc's at home preceeded to make arch-arm unbootable , i had to chroot in and perform first aid. dont think me ungrateful for the work the developers do i just think thais could have been handled better and more testing done , --ignore glibc was best advice you guys could give ? i mean really ?
cirrus
 
Posts: 7
Joined: Wed Aug 22, 2012 8:50 pm

Re: Trouble with /usr/lib symlink update

Postby WarheadsSE » Fri Sep 14, 2012 5:46 pm

/me slow clap

We're updating initscripts today to bring it up to "snuff". We didn't forsee this entanglement, so you have our apologies. Considering we do all of this in what spare time we have ... I'm just going to stop before I get snarky.
Core Developer
Remember: Arch Linux ARM is entirely community donation supported!
WarheadsSE
Developer
 
Posts: 6807
Joined: Mon Oct 18, 2010 2:12 pm

Re: Trouble with /usr/lib symlink update

Postby pepedog » Fri Sep 14, 2012 5:56 pm

I didn't read here and just done a plain old pacman -Syu (albeit a v6hf pi) just now
Luckily initscripts was in and all is fine
pepedog
Developer
 
Posts: 2431
Joined: Mon Jun 07, 2010 3:30 pm
Location: London UK

Re: Trouble with /usr/lib symlink update

Postby ruidc » Fri Sep 14, 2012 6:11 pm

We appreciate the work WarheadsSE et al, shame not all understand the effort you provide for no reward other than the admiration of your lesser techie brethren - ignore the childish ignorant voices and keep up the great work.
ruidc
 
Posts: 31
Joined: Wed Mar 07, 2012 10:32 pm
Location: Switzerland

Re: Trouble with /usr/lib symlink update

Postby pepijndevos » Fri Sep 14, 2012 9:18 pm

Thanks for the quick fix. The error I mentioned is gone.

It did gave a new error, but it continued anyway. I hope it's not harmful.

$this->bbcode_second_pass_code('', '(6/8) upgrading linux-raspberrypi [#######################################################################################] 100%
>>> Updating module dependencies. Please wait ...
ERROR: could not open directory /lib/modules/3.2.27-5-ARCH+: No such file or directory
FATAL: could not search modules: No such file or directory
error: command failed to execute correctly
>>>Current installed start.elf: /boot/arm224_start.elf')

After that I have issue 2, still files left. They are owned by pcmciautils, which is not in the ARM repos. I'm super confused now. I uninstalled the package, but it still fails to install libc.

When I check the last command, there are a couple of files owned by libc, and a lot like
$this->bbcode_second_pass_code('', 'error: No package owns /lib/modules/3.1.9-10+/modules.alias')
Is that related to the previous error?
pepijndevos
 
Posts: 8
Joined: Fri Sep 14, 2012 9:26 am

Re: Trouble with /usr/lib symlink update

Postby hnws » Sat Sep 15, 2012 4:28 am

$this->bbcode_second_pass_quote('pepijndevos', 'T')hanks for the quick fix. The error I mentioned is gone.

It did gave a new error, but it continued anyway. I hope it's not harmful.

$this->bbcode_second_pass_code('', '(6/8) upgrading linux-raspberrypi [#######################################################################################] 100%
>>> Updating module dependencies. Please wait ...
ERROR: could not open directory /lib/modules/3.2.27-5-ARCH+: No such file or directory
FATAL: could not search modules: No such file or directory
error: command failed to execute correctly
>>>Current installed start.elf: /boot/arm224_start.elf')

After that I have issue 2, still files left. They are owned by pcmciautils, which is not in the ARM repos. I'm super confused now. I uninstalled the package, but it still fails to install libc.

When I check the last command, there are a couple of files owned by libc, and a lot like
$this->bbcode_second_pass_code('', 'error: No package owns /lib/modules/3.1.9-10+/modules.alias')
Is that related to the previous error?


It is really easy to solve it.

1. $this->bbcode_second_pass_code('', ' ln -s /usr/lib/modules/3.2.27-5-ARCH+ /lib/module ')
2. $this->bbcode_second_pass_code('', ' pacman -S linux-raspberrypi ') your first error should have gone.
3. reboot your pi and confirm you are using new kernel i.e. 3.2.27-5-ARCH
4. $this->bbcode_second_pass_code('', ' rm -rf /lib/module ') Since you don't need it
5. $this->bbcode_second_pass_code('', ' pacman -S glibc ')
6. $this->bbcode_second_pass_code('', ' pacman -S linux-raspberrypi ') to make sure your kernel can find its modules.
That's all.
hnws
 
Posts: 1
Joined: Sat Sep 15, 2012 4:21 am

Re: Trouble with /usr/lib symlink update

Postby Mauron » Sat Sep 15, 2012 7:32 am

Hi, I made an update with --ignore glibc but after syncing and reboot I lost use of keyboard.
How may I solve?
Mauron
 
Posts: 33
Joined: Thu Aug 09, 2012 9:26 am

Re: Trouble with /usr/lib symlink update

Postby pepijndevos » Sat Sep 15, 2012 8:03 am

Okay that worked. It's "modules" though, not "module" as in your description.

If you lost your keyboard, I think the best way to solve it is to login over SSH and poke around in config files. Not sure which ones though.
pepijndevos
 
Posts: 8
Joined: Fri Sep 14, 2012 9:26 am

Next

Return to Raspberry Pi

Who is online

Users browsing this forum: No registered users and 17 guests