Pacman

Historical bug tracker for the Pacman package manager.

The pacman bug tracker has moved to gitlab:
https://gitlab.archlinux.org/pacman/pacman/-/issues

This tracker remains open for interaction with historical bugs during the transition period. Any new bugs reports will be closed without further action.
Tasklist

FS#20663 - Pacman update (Internal pacman error: Segmentation fault.)

Attached to Project: Pacman
Opened by zus (zus21) - Sunday, 29 August 2010, 16:25 GMT
Last edited by Dan McGee (toofishes) - Sunday, 12 September 2010, 22:21 GMT
Task Type Bug Report
Category System
Status Closed
Assigned To No-one
Architecture x86_64
Severity High
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

root@myhost ]# pacman -Syu
:: Synchronizing package 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@myhost ]# rm /var/lib/pacman/db.lck
[root@myhost ]# pacman -Syu
:: Synchronizing package databases...
core is up to date
extra is up to date
community is up to date
:: Starting full system upgrade...
error: segmentation fault
Internal pacman error: Segmentation fault.
Please submit a full bug report with --debug if appropriate.




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: new section 'core'
debug: registering sync database 'core'
debug: config file /etc/pacman.conf, line 66: including /etc/pacman.d/mirrorlist
debug: config: attempting to read file /etc/pacman.d/mirrorlist
debug: adding new server URL to database 'core': ftp://ftp.cc.uoc.gr/mirrors/linux/archlinux/core/os/x86_64
debug: adding new server URL to database 'core': http://ftp.cc.uoc.gr/mirrors/linux/archlinux/core/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 'extra'
debug: registering sync database 'extra'
debug: config file /etc/pacman.conf, line 70: including /etc/pacman.d/mirrorlist
debug: config: attempting to read file /etc/pacman.d/mirrorlist
debug: adding new server URL to database 'extra': ftp://ftp.cc.uoc.gr/mirrors/linux/archlinux/extra/os/x86_64
debug: adding new server URL to database 'extra': http://ftp.cc.uoc.gr/mirrors/linux/archlinux/extra/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 78: including /etc/pacman.d/mirrorlist
debug: config: attempting to read file /etc/pacman.d/mirrorlist
debug: adding new server URL to database 'community': ftp://ftp.cc.uoc.gr/mirrors/linux/archlinux/community/os/x86_64
debug: adding new server URL to database 'community': http://ftp.cc.uoc.gr/mirrors/linux/archlinux/community/os/x86_64
debug: config: finished parsing /etc/pacman.d/mirrorlist
debug: config: finished parsing /etc/pacman.conf
debug: registering local database
:: Synchronizing package databases...
debug: returning error 9 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.lck
debug: unregistering database 'local'
debug: unregistering database 'core'
debug: unregistering database 'extra'
debug: unregistering database 'community'
This task depends upon

Closed by  Dan McGee (toofishes)
Sunday, 12 September 2010, 22:21 GMT
Reason for closing:  No response
Comment by Xavier (shining) - Monday, 30 August 2010, 09:36 GMT
When pacman segfaults, you need to remove /var/lib/pacman/db.lck manually, as pacman tells you.
So the debug output is useless, please remove file and run debug output again.

Then if you could do this, even better :
http://wiki.archlinux.org/index.php/Debug_-_Getting_Traces

Loading...