You are not logged in.

#1 2012-09-17 07:58:07

nielsencfm
Member
Registered: 2012-09-10
Posts: 3

System Upgrade /lib Problems on Raspberry Pi

I have downloaded the latest Arch Linux Arm image from Arch Linux Arm and flashed it onto my Raspberry Pi.  I'm trying to do a system upgrade, but I'm getting stuck trying to work around the /lib folder move. 

Following the wiki here:

    https://wiki.archlinux.org/index.php/De … iki:usrlib

I've run the following command successfully:

    pacman -Syu --ignore glibc,curl

But when I run this:

    pacman -Su

I get the following error:

[root@alarmpi ~]# 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
:: 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] y
resolving dependencies...
looking for inter-conflicts...

Targets (18): binutils-2.22-10  cryptsetup-1.5.0-2  dbus-core-1.6.4-1  device-mapper-2.02.97-1  gcc-libs-4.7.1-6  glib2-2.32.4-1
              glibc-2.16.0-4  grep-2.14-1  initscripts-2012.08.3-2  less-451-1  lvm2-2.02.97-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 Installed Size:   87.48 MiB
Net Upgrade Size:       6.03 MiB

Proceed with installation? [Y/n] y
(17/17) checking package integrity                                              [##############################################] 100%
(17/17) loading package files                                                   [##############################################] 100%
(17/17) checking for file conflicts                                             [##############################################] 100%
error: failed to commit transaction (conflicting files)
glibc: /lib exists in filesystem
Errors occurred, no packages were upgraded.


This is 'issue 2' in the wiki, but the only files left in /lib are owned by glibc.  So the advice doesn't help:

[root@alarmpi ~]# grep '^lib/' /var/lib/pacman/local/*/files
/var/lib/pacman/local/glibc-2.15-10/files:lib/
/var/lib/pacman/local/glibc-2.15-10/files:lib/ld-2.15.so
/var/lib/pacman/local/glibc-2.15-10/files:lib/ld-linux.so.3
/var/lib/pacman/local/glibc-2.15-10/files:lib/libBrokenLocale-2.15.so
/var/lib/pacman/local/glibc-2.15-10/files:lib/libBrokenLocale.so.1
/var/lib/pacman/local/glibc-2.15-10/files:lib/libSegFault.so
/var/lib/pacman/local/glibc-2.15-10/files:lib/libanl-2.15.so
/var/lib/pacman/local/glibc-2.15-10/files:lib/libanl.so.1
/var/lib/pacman/local/glibc-2.15-10/files:lib/libc-2.15.so
/var/lib/pacman/local/glibc-2.15-10/files:lib/libc.so.6
/var/lib/pacman/local/glibc-2.15-10/files:lib/libcidn-2.15.so
/var/lib/pacman/local/glibc-2.15-10/files:lib/libcidn.so.1
/var/lib/pacman/local/glibc-2.15-10/files:lib/libcrypt-2.15.so
/var/lib/pacman/local/glibc-2.15-10/files:lib/libcrypt.so.1
/var/lib/pacman/local/glibc-2.15-10/files:lib/libdl-2.15.so
/var/lib/pacman/local/glibc-2.15-10/files:lib/libdl.so.2
/var/lib/pacman/local/glibc-2.15-10/files:lib/libm-2.15.so
/var/lib/pacman/local/glibc-2.15-10/files:lib/libm.so.6
/var/lib/pacman/local/glibc-2.15-10/files:lib/libmemusage.so
/var/lib/pacman/local/glibc-2.15-10/files:lib/libnsl-2.15.so
/var/lib/pacman/local/glibc-2.15-10/files:lib/libnsl.so.1
/var/lib/pacman/local/glibc-2.15-10/files:lib/libnss_compat-2.15.so
/var/lib/pacman/local/glibc-2.15-10/files:lib/libnss_compat.so.2
/var/lib/pacman/local/glibc-2.15-10/files:lib/libnss_db-2.15.so
/var/lib/pacman/local/glibc-2.15-10/files:lib/libnss_db.so.2
/var/lib/pacman/local/glibc-2.15-10/files:lib/libnss_dns-2.15.so
/var/lib/pacman/local/glibc-2.15-10/files:lib/libnss_dns.so.2
/var/lib/pacman/local/glibc-2.15-10/files:lib/libnss_files-2.15.so
/var/lib/pacman/local/glibc-2.15-10/files:lib/libnss_files.so.2
/var/lib/pacman/local/glibc-2.15-10/files:lib/libnss_hesiod-2.15.so
/var/lib/pacman/local/glibc-2.15-10/files:lib/libnss_hesiod.so.2
/var/lib/pacman/local/glibc-2.15-10/files:lib/libnss_nis-2.15.so
/var/lib/pacman/local/glibc-2.15-10/files:lib/libnss_nis.so.2
/var/lib/pacman/local/glibc-2.15-10/files:lib/libnss_nisplus-2.15.so
/var/lib/pacman/local/glibc-2.15-10/files:lib/libnss_nisplus.so.2
/var/lib/pacman/local/glibc-2.15-10/files:lib/libpcprofile.so
/var/lib/pacman/local/glibc-2.15-10/files:lib/libpthread-2.15.so
/var/lib/pacman/local/glibc-2.15-10/files:lib/libpthread.so.0
/var/lib/pacman/local/glibc-2.15-10/files:lib/libresolv-2.15.so
/var/lib/pacman/local/glibc-2.15-10/files:lib/libresolv.so.2
/var/lib/pacman/local/glibc-2.15-10/files:lib/librt-2.15.so
/var/lib/pacman/local/glibc-2.15-10/files:lib/librt.so.1
/var/lib/pacman/local/glibc-2.15-10/files:lib/libthread_db-1.0.so
/var/lib/pacman/local/glibc-2.15-10/files:lib/libthread_db.so.1
/var/lib/pacman/local/glibc-2.15-10/files:lib/libutil-2.15.so
/var/lib/pacman/local/glibc-2.15-10/files:lib/libutil.so.1


Any advice?

Moderator edit: Please inclose your listings in [ code ] tags. I've done it for you this time. Do so yourself in future.
-- bernarcher

Last edited by bernarcher (2012-09-17 08:02:24)

Offline

#2 2012-09-17 08:03:05

ngoonee
Forum Fellow
From: Between Thailand and Singapore
Registered: 2009-03-17
Posts: 7,354

Re: System Upgrade /lib Problems on Raspberry Pi

Did you actually look at /lib rather than just /var/lib/pacman/local?


Allan-Volunteer on the (topic being discussed) mailn lists. You never get the people who matters attention on the forums.
jasonwryan-Installing Arch is a measure of your literacy. Maintaining Arch is a measure of your diligence. Contributing to Arch is a measure of your competence.
Griemak-Bleeding edge, not bleeding flat. Edge denotes falls will occur from time to time. Bring your own parachute.

Offline

#3 2012-09-17 08:16:40

bernarcher
Forum Fellow
From: Germany
Registered: 2009-02-17
Posts: 2,281

Re: System Upgrade /lib Problems on Raspberry Pi

And please ask on the ARM boards.


To know or not to know ...
... the questions remain forever.

Offline

#4 2012-09-18 00:38:24

nielsencfm
Member
Registered: 2012-09-10
Posts: 3

Re: System Upgrade /lib Problems on Raspberry Pi

Thanks for the response

@ngoonee: I'm not sure what that command does.  Here is what's in my /lib folder:

[root@alarmpi ~]# ls /lib
ld-2.15.so               libcidn.so.1      libm.so.6              libnss_dns.so.2         libnss_nis.so.2     libSegFault.so
ld-linux.so.3            libcrypt-2.15.so  libnsl-2.15.so         libnss_files-2.15.so    libpcprofile.so     libthread_db-1.0.so
libanl-2.15.so           libcrypt.so.1     libnsl.so.1            libnss_files.so.2       libpthread-2.15.so  libthread_db.so.1
libanl.so.1              libc.so.6         libnss_compat-2.15.so  libnss_hesiod-2.15.so   libpthread.so.0     libutil-2.15.so
libBrokenLocale-2.15.so  libdl-2.15.so     libnss_compat.so.2     libnss_hesiod.so.2      libresolv-2.15.so   libutil.so.1
libBrokenLocale.so.1     libdl.so.2        libnss_db-2.15.so      libnss_nis-2.15.so      libresolv.so.2      modules
libc-2.15.so             libm-2.15.so      libnss_db.so.2         libnss_nisplus-2.15.so  librt-2.15.so
libcidn-2.15.so          libmemusage.so    libnss_dns-2.15.so     libnss_nisplus.so.2     librt.so.1

Is there anywhere else that I should look?

@bernarcher: Where is the 'ARM boards', is that a forum on this site?

Offline

#5 2012-09-18 00:45:47

2ManyDogs
Forum Moderator
Registered: 2012-01-15
Posts: 4,645

Re: System Upgrade /lib Problems on Raspberry Pi

nielsencfm wrote:

@bernarcher: Where is the 'ARM boards', is that a forum on this site?

http://archlinuxarm.org/


How to post. A sincere effort to use modest and proper language and grammar is a sign of respect toward the community.

Offline

#6 2012-09-18 00:52:50

jasonwryan
Anarchist
From: .nz
Registered: 2009-05-09
Posts: 30,424
Website

Re: System Upgrade /lib Problems on Raspberry Pi

There is a thread there about your specific issue: http://archlinuxarm.org/forum/viewtopic.php?f=31&t=3778

You should follow it up there; ARM is a different beast and is unsupported here.


Closing.


Arch + dwm   •   Mercurial repos  •   Surfraw

Registered Linux User #482438

Offline

Board footer

Powered by FluxBB