$this->bbcode_second_pass_code('', '[root@alarm ~]# pacman -Syu
:: 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...
resolving dependencies...
looking for inter-conflicts...
Targets (8): binutils-2.22-10 filesystem-2012.8-1 glibc-2.16.0-4
gtk-update-icon-cache-2.24.12-1 gtk2-2.24.12-1 kmod-10-1
syslog-ng-3.3.6-1 v8-3.13.7-1
Total Download Size: 18.24 MiB
Total Installed Size: 109.01 MiB
Net Upgrade Size: -1.45 MiB
Proceed with installation? [Y/n]
:: Retrieving packages from core...
glibc-2.16.0-4-arm 7.6 MiB 778K/s 00:10 [######################] 100%
binutils-2.22-10-arm 3.0 MiB 877K/s 00:04 [######################] 100%
filesystem-2012.8-1-any 5.8 KiB 4.77M/s 00:00 [######################] 100%
kmod-10-1-arm 85.8 KiB 1123K/s 00:00 [######################] 100%
syslog-ng-3.3.6-1-arm 299.4 KiB 434K/s 00:01 [######################] 100%
:: Retrieving packages from extra...
gtk-update-icon-cac... 10.2 KiB 2.18M/s 00:00 [######################] 100%
gtk2-2.24.12-1-arm 6.2 MiB 783K/s 00:08 [######################] 100%
:: Retrieving packages from community...
v8-3.13.7-1-arm 987.1 KiB 820K/s 00:01 [######################] 100%
(8/8) checking package integrity [######################] 100%
(8/8) loading package files [######################] 100%
(8/8) checking for file conflicts [######################] 100%
error: failed to commit transaction (conflicting files)
glibc: /lib exists in filesystem
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.
')
So then stupidly (I mean I didn't update any of those files myself, so I figured it was just some package changing something), I did:
$this->bbcode_second_pass_code('', '[root@alarm ~]# 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
:: Starting full system upgrade...
resolving dependencies...
looking for inter-conflicts...
Targets (8): binutils-2.22-10 filesystem-2012.8-1 glibc-2.16.0-4
gtk-update-icon-cache-2.24.12-1 gtk2-2.24.12-1 kmod-10-1
syslog-ng-3.3.6-1 v8-3.13.7-1
Total Installed Size: 109.01 MiB
Net Upgrade Size: -1.45 MiB
Proceed with installation? [Y/n]
(8/8) checking package integrity [######################] 100%
(8/8) loading package files [######################] 100%
(8/8) checking available disk space [######################] 100%
(1/8) 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.
')
Now I've got no pacman and no ls"
$this->bbcode_second_pass_code('', '-bash: /usr/bin/pacman: No such file or directory
-bash: /bin/ls: No such file or directory
')
Where to go from here?