You are not logged in.
I updated pacman and I was able to do a full pacman -Syu afterwards. But when trying a -Syu now it gives a segmentation fault. -Su works though. This is the output I am getting:
[hb@hb-server ~]$ sudo pacman -Syu --debug
debug: config: attempting to read file /etc/pacman.conf
debug: config: new section 'options'
debug: config: HoldPkg: pacman
debug: config: HoldPkg: glibc
debug: config: SyncFirst: pacman
debug: config: Architecture: x86_64
debug: config: showsize
debug: config: totaldownload
debug: config: new section 'testing'
debug: registering sync database 'testing'
debug: config file /etc/pacman.conf, line 62: including /etc/pacman.d/mirrorlist
debug: config: attempting to read file /etc/pacman.d/mirrorlist
debug: adding new server URL to database 'testing': ftp://archlinux.mirror.kangaroot.net/pub/archlinux/testing/os/x86_64
debug: adding new server URL to database 'testing': ftp://mir1.archlinux.fr/archlinux/testing/os/x86_64
debug: setlibpaths() called
debug: option 'cachedir' = /var/cache/pacman/pkg/
debug: config: finished parsing /etc/pacman.d/mirrorlist
debug: config: new section 'core'
debug: registering sync database 'core'
debug: config file /etc/pacman.conf, line 65: including /etc/pacman.d/mirrorlist
debug: config: attempting to read file /etc/pacman.d/mirrorlist
debug: adding new server URL to database 'core': ftp://archlinux.mirror.kangaroot.net/pub/archlinux/core/os/x86_64
debug: adding new server URL to database 'core': ftp://mir1.archlinux.fr/archlinux/core/os/x86_64
debug: config: finished parsing /etc/pacman.d/mirrorlist
debug: config: new section 'extra'
debug: registering sync database 'extra'
debug: config file /etc/pacman.conf, line 68: including /etc/pacman.d/mirrorlist
debug: config: attempting to read file /etc/pacman.d/mirrorlist
debug: adding new server URL to database 'extra': ftp://archlinux.mirror.kangaroot.net/pub/archlinux/extra/os/x86_64
debug: adding new server URL to database 'extra': ftp://mir1.archlinux.fr/archlinux/extra/os/x86_64
debug: config: finished parsing /etc/pacman.d/mirrorlist
debug: config: new section 'community-testing'
debug: registering sync database 'community-testing'
debug: config file /etc/pacman.conf, line 71: including /etc/pacman.d/mirrorlist
debug: config: attempting to read file /etc/pacman.d/mirrorlist
debug: adding new server URL to database 'community-testing': ftp://archlinux.mirror.kangaroot.net/pub/archlinux/community-testing/os/x86_64
debug: adding new server URL to database 'community-testing': ftp://mir1.archlinux.fr/archlinux/community-testing/os/x86_64
debug: config: finished parsing /etc/pacman.d/mirrorlist
debug: config: new section 'community'
debug: registering sync database 'community'
debug: config file /etc/pacman.conf, line 74: including /etc/pacman.d/mirrorlist
debug: config: attempting to read file /etc/pacman.d/mirrorlist
debug: adding new server URL to database 'community': ftp://archlinux.mirror.kangaroot.net/pub/archlinux/community/os/x86_64
debug: adding new server URL to database 'community': ftp://mir1.archlinux.fr/archlinux/community/os/x86_64
debug: config: finished parsing /etc/pacman.d/mirrorlist
debug: config: new section 'multilib-testing'
debug: registering sync database 'multilib-testing'
debug: config file /etc/pacman.conf, line 80: including /etc/pacman.d/mirrorlist
debug: config: attempting to read file /etc/pacman.d/mirrorlist
debug: adding new server URL to database 'multilib-testing': ftp://archlinux.mirror.kangaroot.net/pub/archlinux/multilib-testing/os/x86_64
debug: adding new server URL to database 'multilib-testing': ftp://mir1.archlinux.fr/archlinux/multilib-testing/os/x86_64
debug: config: finished parsing /etc/pacman.d/mirrorlist
debug: config: new section 'multilib'
debug: registering sync database 'multilib'
debug: config file /etc/pacman.conf, line 83: including /etc/pacman.d/mirrorlist
debug: config: attempting to read file /etc/pacman.d/mirrorlist
debug: adding new server URL to database 'multilib': ftp://archlinux.mirror.kangaroot.net/pub/archlinux/multilib/os/x86_64
debug: adding new server URL to database 'multilib': ftp://mir1.archlinux.fr/archlinux/multilib/os/x86_64
debug: config: finished parsing /etc/pacman.d/mirrorlist
debug: config: new section 'archlinuxfr'
debug: registering sync database 'archlinuxfr'
debug: adding new server URL to database 'archlinuxfr': http://repo.archlinux.fr/x86_64
debug: config: finished parsing /etc/pacman.conf
:: Synchronizing package databases...
debug: database path for tree local set to /var/lib/pacman/local/
debug: local database version 2
debug: destfile found, using mtime only
debug: using 'testing.db' for download progress
debug: HTTP_PROXY: (null)
debug: http_proxy: (null)
debug: FTP_PROXY: (null)
debug: ftp_proxy: (null)
error: segmentation fault
Internal pacman error: Segmentation fault.
Please submit a full bug report with --debug if appropriate.
[hb@hb-server ~]$ Any hints?
--- I copied the wrong output, the correct one is here now.
Last edited by HyperBaton (2011-06-10 19:51:33)
Offline
debug: returning error 10 from alpm_trans_init : unable to lock database
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.lckSo is that lock file there? If so, run
# chattr -i /var/lib/pacman/db.lckthen remove it and run pacman again.
Last edited by karol (2011-06-10 18:36:44)
Offline
Oh my mistake, I copied the wrong output. The lock file was because of the segmentation fault. I changed the output to the correct one...
Offline
Offline
Yup, that seems to be it.
Offline
Downgrading glibc to 2.13 did fix this. I guess this topic should be in testing really... Thanks for the help guys.
Offline