by doogy » Mon Sep 17, 2012 4:14 pm
I got same issue here. after pacman -Syuf then I lost bash and all command under /usr/bin or /bin.
My pink Pogo got update without error. But Raspberry Pi got error.
$this->bbcode_second_pass_code('', '[root@borae_pi ~]# pacman -Syu
:: Synchronizing package databases...
core 38.1 KiB 381K/s 00:00 [###############################################################] 100%
extra 429.8 KiB 615K/s 00:01 [###############################################################] 100%
community 418.3 KiB 753K/s 00:01 [###############################################################] 100%
alarm 4.6 KiB 1613K/s 00:00 [###############################################################] 100%
aur is up to date
:: The following packages should be upgraded first :
pacman
:: Do you want to cancel the current operation
:: and upgrade these packages now? [Y/n] n
:: Starting full system upgrade...
resolving dependencies...
looking for inter-conflicts...
Targets (9): binutils-2.22-10 dnsutils-9.9.1.P3-1 filesystem-2012.8-1 glibc-2.16.0-4 initscripts-2012.08.3-2 linux-headers-raspberrypi-3.2.27-5
linux-raspberrypi-3.2.27-5 pacman-4.0.3-3 raspberrypi-firmware-20120914-1
Total Download Size: 38.49 MiB
Total Installed Size: 147.77 MiB
Net Upgrade Size: 0.47 MiB
Proceed with installation? [Y/n]
:: Retrieving packages from core...
glibc-2.16.0-4-arm 7.6 MiB 1113K/s 00:07 [###############################################################] 100%
binutils-2.22-10-arm 3.0 MiB 1173K/s 00:03 [###############################################################] 100%
dnsutils-9.9.1.P3-1-arm 298.1 KiB 1179K/s 00:00 [###############################################################] 100%
filesystem-2012.8-1-any 5.8 KiB 193K/s 00:00 [###############################################################] 100%
initscripts-2012.08.3-2-any 23.1 KiB 340K/s 00:00 [###############################################################] 100%
linux-headers-raspberrypi-3.2.27-5-arm 4.4 MiB 1161K/s 00:04 [###############################################################] 100%
linux-raspberrypi-3.2.27-5-arm 12.3 MiB 1171K/s 00:11 [###############################################################] 100%
pacman-4.0.3-3-arm 1020.8 KiB 1173K/s 00:01 [###############################################################] 100%
:: Retrieving packages from alarm...
raspberrypi-firmware-20120914-1-any 9.8 MiB 1105K/s 00:09 [###############################################################] 100%
(9/9) checking package integrity [###############################################################] 100%
(9/9) loading package files [###############################################################] 100%
(9/9) checking for file conflicts [###############################################################] 100%
error: failed to commit transaction (conflicting files)
glibc: /lib exists in filesystem
Errors occurred, no packages were upgraded.
[root@borae_pi ~]# pacman -Syuf
:: 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
:: The following packages should be upgraded first :
pacman
:: Do you want to cancel the current operation
:: and upgrade these packages now? [Y/n] n
:: Starting full system upgrade...
resolving dependencies...
looking for inter-conflicts...
Targets (9): binutils-2.22-10 dnsutils-9.9.1.P3-1 filesystem-2012.8-1 glibc-2.16.0-4 initscripts-2012.08.3-2 linux-headers-raspberrypi-3.2.27-5
linux-raspberrypi-3.2.27-5 pacman-4.0.3-3 raspberrypi-firmware-20120914-1
Total Installed Size: 147.77 MiB
Net Upgrade Size: 0.47 MiB
Proceed with installation? [Y/n]
(9/9) checking package integrity [###############################################################] 100%
(9/9) loading package files [###############################################################] 100%
(9/9) checking available disk space [###############################################################] 100%
(1/9) upgrading glibc [###############################################################] 100%
error: extract: not overwriting dir with file lib
error: problem occurred while upgrading glibc
call to execv failed (No such file or directory)
error: command failed to execute correctly
error: could not commit transaction
error: failed to commit transaction (transaction aborted)
Errors occurred, no packages were upgraded.
[root@borae_pi ~]# pacman -Syf
-bash: /usr/bin/pacman: No such file or directory
')
When I ssh on pi, then i got followed error. and close connection.
$this->bbcode_second_pass_code('', '[root@XXXXXXXX ~]# pi <-- this is alias for pi ssh connection.
root@1XX.1XX.0XX.1XX's password:
Last login: Sat Sep 15 12:49:31 2012 from XXXXXXX.home
/bin/bash: No such file or directory
Connection to 1XX.1XX.0XX.1XX closed.
')
Pink Pogo, Raspberry pi