You are not logged in.
I have a VPS (Xen PV), I try to use Arch Linux (Arch 2011.07 64bit).
[root@localhost ~]# pacman -Syu
:: Synchronizing package databases...
core 106.1K 3.7M/s 00:00:00 [#############################################################] 100%
extra 1281.5K 3.5M/s 00:00:00 [#############################################################] 100%
community 1098.7K 8.6M/s 00:00:00 [#############################################################] 100%:: The following packages should be upgraded first :
pacman
:: Do you want to cancel the current operation
:: and upgrade these packages now? [Y/n] y
resolving dependencies...
looking for inter-conflicts...
Targets (15): linux-api-headers-3.1.6-1 glibc-2.15-5 libarchive-3.0.3-3 ca-certificates-20111211-1 libssh2-1.4.0-1 curl-7.24.0-2 pth-2.0.7-4 gnupg-1.4.12-1
libksba-1.2.0-2 libassuan-2.0.3-1 pinentry-0.8.1-3 dirmngr-1.1.0-3 gnupg2-2.0.18-1 gpgme-1.3.1-2 pacman-4.0.1-4
Total Download Size: 14.09 MB
Total Installed Size: 64.88 MB
Proceed with installation? [Y/n] y
:: Retrieving packages from core...
linux-api-headers-3.1.6-1-x86_64 579.3K 966.3K/s 00:00:01 [#############################################################] 100%
glibc-2.15-5-x86_64 7.5M 1521.8K/s 00:00:05 [#############################################################] 100%
libarchive-3.0.3-3-x86_64 1173.8K 7.7M/s 00:00:00 [#############################################################] 100%
ca-certificates-20111211-1-any 125.9K 45.1K/s 00:00:03 [#############################################################] 100%
libssh2-1.4.0-1-x86_64 184.2K 3.2M/s 00:00:00 [#############################################################] 100%
curl-7.24.0-2-x86_64 485.5K 3.6M/s 00:00:00 [#############################################################] 100%
pth-2.0.7-4-x86_64 75.9K 3.2M/s 00:00:00 [#############################################################] 100%
gnupg-1.4.12-1-x86_64 1029.6K 5.2M/s 00:00:00 [#############################################################] 100%
libksba-1.2.0-2-x86_64 109.9K 4.5M/s 00:00:00 [#############################################################] 100%
libassuan-2.0.3-1-x86_64 76.5K 54.8K/s 00:00:01 [#############################################################] 100%
pinentry-0.8.1-3-x86_64 93.8K 145.1K/s 00:00:01 [#############################################################] 100%
dirmngr-1.1.0-3-x86_64 162.6K 4.8M/s 00:00:00 [#############################################################] 100%
gnupg2-2.0.18-1-x86_64 1423.6K 1096.4K/s 00:00:01 [#############################################################] 100%
gpgme-1.3.1-2-x86_64 207.1K 447.5K/s 00:00:00 [#############################################################] 100%
pacman-4.0.1-4-x86_64 1011.5K 225.2K/s 00:00:04 [#############################################################] 100%
(15/15) checking package integrity [#############################################################] 100%
(15/15) checking for file conflicts [#############################################################] 100%
( 1/15) upgrading linux-api-headers [#############################################################] 100%
( 2/15) upgrading glibc [#############################################################] 100%
warning: /etc/locale.gen installed as /etc/locale.gen.pacnew
/tmp/alpm_3edBe5/.INSTALL: line 4: 399 Illegal instruction sbin/ldconfig -r .
Generating locales...
en_US.UTF-8... done
Generation complete.
( 3/15) upgrading libarchive [#############################################################] 100%
( 4/15) installing ca-certificates [#############################################################] 100%
( 5/15) installing libssh2 [#############################################################] 100%
( 6/15) installing curl [#############################################################] 100%
( 7/15) installing pth [#############################################################] 100%
( 8/15) installing gnupg [#############################################################] 100%
( 9/15) installing libksba [#############################################################] 100%
(10/15) installing libassuan [#############################################################] 100%
(11/15) installing pinentry [#############################################################] 100%
Optional dependencies for pinentry
gtk2: for gtk2 backend
qt: for qt4 backend
(12/15) installing dirmngr [#############################################################] 100%
(13/15) installing gnupg2 [#############################################################] 100%
(14/15) installing gpgme [#############################################################] 100%
(15/15) upgrading pacman [#############################################################] 100%
>>> Run `pacman-key --init` to set up your pacman keyring.[root@localhost ~]# pacman -Syu
:: Synchronizing package databases...
Illegal instruction[root@localhost ~]# pacman -Syu
:: Synchronizing package databases...
error: failed to update core (unable to lock database)
error: failed to update extra (unable to lock database)
error: failed to update community (unable to lock database)
error: failed to synchronize any databases
error: failed to init transaction (unable to lock database)
if you're sure a package manager is not already
running, you can remove /var/lib/pacman/db.lck[root@localhost ~]# rm -rf /var/lib/pacman/db.lck
[root@localhost ~]# pacman -Syu
:: Synchronizing package databases...
Illegal instruction[root@localhost ~]# pacman -Syu
:: Synchronizing package databases...
error: failed to update core (unable to lock database)
error: failed to update extra (unable to lock database)
error: failed to update community (unable to lock database)
error: failed to synchronize any databases
error: failed to init transaction (unable to lock database)
if you're sure a package manager is not already
running, you can remove /var/lib/pacman/db.lck...pacman is not the first thing to upgrade?
Offline
Try the following:
# pacman -S libarchive
# pacman -Syu
Answer "no" if you get the message:
: The following packages should be upgraded first :
pacman
:: Do you want to cancel the current operation
:: and upgrade these packages now? [Y/n] nBurninate!
Offline
From your first syu:
( 2/15) upgrading glibc [#############################################################] 100%
warning: /etc/locale.gen installed as /etc/locale.gen.pacnew
/tmp/alpm_3edBe5/.INSTALL: line 4: 399 Illegal instruction sbin/ldconfig -r .
Generating locales...
en_US.UTF-8... done
Generation complete.You can try to run the failed command manually, and/or start googling on what could be the problem with it.
Offline
Could it be as simple as a missing slash before sbin/ldconfig?
"UNIX is simple and coherent" - Dennis Ritchie; "GNU's Not Unix" - Richard Stallman
Offline
No, the .install scripts run from / as root.
Offline
Known issue. I need the information requested here: https://bugs.archlinux.org/task/27828#comment88876
Offline