MacTzu wrote:Soldier,
I'm happy to help, could you supply more information ?
The situation: I buy a raspi board, and collect some stuff. Have a power supply (phone charger, 5V/780mA), a 2G SD card, keyboard, LAN cable to my router (DHCP worked), keyboard and a HDMI cable to my tv.
Progress:
- download the
official image
- dd to sd card (sudo dd bs=1M if=archlinuxarm-13-06-2012.img of=/dev/sdd) [/list]
- boot from sd card
- login with root, everything ok
- run the recommended method,
Code: Select all
pacman -Syu --ignore glibc
pacman -Su
After the first command, this is the output:
Code: Select all
[root@alarmpi ~]# pacman -Syu --ignore glibc
:: 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...
warning: glibc: ignoring package upgrade (2.15-10 => 2.16.0-4)
:: Replace systemd-tools with core/systemd? [Y/n]
resolving dependencies...
warning: ignoring package glibc-2.16.0-4
warning: cannot resolve "glibc>=2.16", a dependency of "binutils"
warning: ignoring package glibc-2.16.0-4
warning: cannot resolve "glibc>=2.16", a dependency of "gcc-libs"
warning: ignoring package glibc-2.16.0-4
warning: cannot resolve "glibc>=2.16", a dependency of "gcc-libs"
warning: ignoring package glibc-2.16.0-4
warning: cannot resolve "glibc>=2.16", a dependency of "gcc-libs"
warning: ignoring package glibc-2.16.0-4
warning: cannot resolve "glibc>=2.16", a dependency of "gcc-libs"
warning: ignoring package glibc-2.16.0-4
warning: cannot resolve "glibc>=2.16", a dependency of "gcc-libs"
warning: ignoring package glibc-2.16.0-4
warning: cannot resolve "glibc>=2.16", a dependency of "gcc-libs"
warning: ignoring package glibc-2.16.0-4
warning: cannot resolve "glibc>=2.16", a dependency of "gcc-libs"
warning: ignoring package glibc-2.16.0-4
warning: cannot resolve "glibc>=2.16", a dependency of "gcc-libs"
warning: ignoring package glibc-2.16.0-4
warning: cannot resolve "glibc>=2.16", a dependency of "gcc-libs"
warning: ignoring package glibc-2.16.0-4
warning: cannot resolve "glibc>=2.16", a dependency of "gcc-libs"
warning: ignoring package glibc-2.16.0-4
warning: cannot resolve "glibc>=2.16.0", a dependency of "pacman"
warning: ignoring package glibc-2.16.0-4
warning: cannot resolve "glibc>=2.16", a dependency of "gcc-libs"
warning: ignoring package glibc-2.16.0-4
warning: cannot resolve "glibc>=2.16", a dependency of "gcc-libs"
warning: ignoring package glibc-2.16.0-4
warning: cannot resolve "glibc>=2.16", a dependency of "gcc-libs"
warning: ignoring package glibc-2.16.0-4
warning: cannot resolve "glibc>=2.16", a dependency of "gcc-libs"
:: The following packages cannot be upgraded due to unresolvable dependencies:
binutils cryptsetup dbus-core device-mapper gcc-libs glib2 grep initscripts
less lvm2 mkinitcpio pacman pcre syslog-ng systemd wpa_supplicant
Do you want to skip the above packages for this upgrade? [y/N] y
looking for inter-conflicts...
Targets (56): bash-4.2.037-1 ca-certificates-20120623-1 coreutils-8.17-3
cracklib-2.8.19-1 cronie-1.4.8-3 dhcpcd-5.6.0-1 e2fsprogs-1.42.5-1
filesystem-2012.8-1 fuse-2.9.1-1 gzip-1.5-1 hwids-20120831-1
iana-etc-2.30-3 inetutils-1.9.1-4 iproute2-3.5.1-1 iputils-20101006-4
kbd-1.15.3-3 keyutils-1.5.5-3 kmod-10-1 krb5-1.10.3-1
libedit-20120601_3.0-1 libgssglue-0.4-1 libidn-1.25-1 libldap-2.4.32-1
libnl-3.2.11-1 libpcap-1.3.0-1 libusb-compat-0.1.4-2 libusbx-1.0.12-2
linux-api-headers-3.5.1-1 linux-firmware-20120625-1
linux-headers-raspberrypi-3.2.27-5 linux-raspberrypi-3.2.27-5
logrotate-3.8.2-1 man-db-2.6.2-1 man-pages-3.42-1
net-tools-1.60.20120804git-2 openntpd-3.9p1-19 openssh-6.1p1-2
pacman-mirrorlist-20120826-1 pam-1.1.5-4 pambase-20120701-1
pciutils-3.1.10-1 perl-5.16.1-1 ppp-2.4.5-4 procps-ng-3.3.3-3
psmisc-22.19-1 raspberrypi-firmware-20120914-1 readline-6.2.004-1
run-parts-4.3.2-1 shadow-4.1.5.1-1 sysvinit-2.88-7 sysvinit-tools-2.88-7
tzdata-2012e-1 usbutils-006-1 util-linux-2.21.2-5 wget-1.14-1 xz-5.0.4-1
Total Download Size: 72.70 MiB
Total Installed Size: 284.29 MiB
Net Upgrade Size: -15.32 MiB
Proceed with installation? [Y/n]
Choose yes. After download and checking, this error:
Code: Select all
.
.
.
(56/56) checking package integrity [##############################] 100%
(56/56) loading package files [##############################] 100%
(56/56) checking for file conflicts [##############################] 100%
error: failed to commit transaction (conflicting files)
filesystem: /etc/profile.d/locale.sh exists in filesystem
Errors occurred, no packages were upgraded.
Allright, "solve" this, and try again:
Code: Select all
[root@alarmpi ~]# mv /etc/profile.d/locale.sh /etc/profile.d/locale.sh.old
[root@alarmpi ~]# pacman -Syu --ignore glibc
:: 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]
Press "Y" again. Completed witout problem.
Rebooting (because firmware update), and login again. (ssh not work from this point) Then run:
Code: Select all
[root@alarmpi ~]# pacman -Su
:: 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...
:: Replace systemd-tools with core/systemd? [Y/n]
resolving dependencies...
looking for inter-conflicts...
Targets (14): binutils-2.22-10 dbus-core-1.6.4-1 gcc-libs-4.7.1-6 glib2-2.32.4-1
glibc-2.16.0-4 grep-2.14-1 less-451-1 mkinitcpio-0.10-1 pacman-4.0.3-3
pcre-8.31-1 syslog-ng-3.3.6-1 systemd-189-4 systemd-tools-185-1 [removal]
wpa_supplicant-1.0-1
Total Download Size: 16.82 MiB
Total Installed Size: 82.92 MiB
Net Upgrade Size: 5.76 MiB
Proceed with installation? [Y/n]
Press "Y" again. This is the end of the story, when downloading and checking the packages, bring the famous "glibc: /lib exists in the filesystem" message.
So, what is the right method?
Edited: Sorry the longest post, and thank you.