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#21114 - pacman segfaults when no connection to the mirrors

Attached to Project: Pacman
Opened by Metin Akat (loxs) - Wednesday, 06 October 2010, 18:17 GMT
Last edited by Dan McGee (toofishes) - Monday, 13 December 2010, 04:57 GMT
Task Type Bug Report
Category Packages: Core
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

Description:
when pacman can't access the mirrors, pacman segfaults
changing the mirror fixed the problem


Additional info:
core/pacman 3.4.1-1 (base) [installed]

[root@antares itembase]# pacman --debug -Suy
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 64: including /etc/pacman.d/mirrorlist
debug: config: attempting to read file /etc/pacman.d/mirrorlist
debug: adding new server URL to database 'core': ftp://mirrors.kernel.org/archlinux/core/os/x86_64
debug: adding new server URL to database 'core': http://mirrors.kernel.org/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 67: including /etc/pacman.d/mirrorlist
debug: config: attempting to read file /etc/pacman.d/mirrorlist
debug: adding new server URL to database 'extra': ftp://mirrors.kernel.org/archlinux/extra/os/x86_64
debug: adding new server URL to database 'extra': http://mirrors.kernel.org/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 73: including /etc/pacman.d/mirrorlist
debug: config: attempting to read file /etc/pacman.d/mirrorlist
debug: adding new server URL to database 'community': ftp://mirrors.kernel.org/archlinux/community/os/x86_64
debug: adding new server URL to database 'community': http://mirrors.kernel.org/archlinux/community/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 78: including /etc/pacman.d/mirrorlist
debug: config: attempting to read file /etc/pacman.d/mirrorlist
debug: adding new server URL to database 'multilib': ftp://mirrors.kernel.org/archlinux/multilib/os/x86_64
debug: adding new server URL to database 'multilib': http://mirrors.kernel.org/archlinux/multilib/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: destfile found, using mtime only
debug: using 'core.db.tar.gz' 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.
[root@antares itembase]#


Steps to reproduce:
I have no reliable instructions on how to reproduce it
This task depends upon

Closed by  Dan McGee (toofishes)
Monday, 13 December 2010, 04:57 GMT
Reason for closing:  Won't fix
Additional comments about closing:  Seems something else fixed it, reopen if necessary.
Comment by Ville Rantanen (iipe) - Friday, 08 October 2010, 09:26 GMT
This seems like the same issue:
https://bugs.archlinux.org/task/20617
Comment by Dan McGee (toofishes) - Friday, 08 October 2010, 12:48 GMT
Is this the same problem? Can you confirm or deny that the fix there in the comments fixes this as well?
Comment by Jan Kašpar (kaspi) - Monday, 08 November 2010, 08:11 GMT
I'm likely to have the same problem. I'm attaching a dump of
pacman -Syu --debug &> log
and the configuration file.

   log (82.5 KiB)
   pacman.conf (2.3 KiB)
Comment by Jan Kašpar (kaspi) - Monday, 08 November 2010, 12:59 GMT
Now I'm less convinced that my problem was related to this bug-report. I removed this directory:
/var/lib/pacman/sync/core/man-pages-3.30-1
and now pacman is back to life :-)

Sorry for confusion.

Loading...