Estou recebendo um erro com o pacman em minha distribuição GNU / Linux baseada em ALARM.
$ sudo pacman -Syy
:: Synchronizing package databases...
error: segmentation fault
Please submit a full bug report with --debug if appropriate.
Então eu corro com --debug
$ sudo pacman -Syy --debug
debug: pacman v5.0.1 - libalpm v10.0.1
debug: config: attempting to read file /etc/pacman.conf
debug: config: new section 'options'
debug: config: HoldPkg: pacman
debug: config: HoldPkg: glibc
debug: config: arch: armv7h
debug: config: SigLevel: Required
debug: config: SigLevel: DatabaseOptional
debug: config: LocalFileSigLevel: Optional
debug: config: new section 'core'
debug: config file /etc/pacman.conf, line 92: including /etc/pacman.d/mirrorlist
debug: config: new section 'extra'
debug: config file /etc/pacman.conf, line 95: including /etc/pacman.d/mirrorlist
debug: config: new section 'community'
debug: config file /etc/pacman.conf, line 101: including /etc/pacman.d/mirrorlist
debug: config: finished parsing /etc/pacman.conf
debug: setup_libalpm called
debug: option 'logfile' = /var/log/pacman.log
debug: option 'gpgdir' = /etc/pacman.d/gnupg/
debug: option 'hookdir' = /etc/pacman.d/hooks/
debug: option 'cachedir' = /var/cache/pacman/pkg/
debug: registering sync database 'core'
debug: database path for tree core set to /var/lib/pacman/sync/core.db
debug: "/var/lib/pacman/sync/core.db.sig" is not readable: No such file or directory
debug: sig path /var/lib/pacman/sync/core.db.sig could not be opened
debug: missing optional signature
debug: setting usage of 15 for core repository
debug: adding new server URL to database 'core': https://repomirror.parabola.nu/core/os/armv7h
debug: adding new server URL to database 'core': https://mirror.grapentin.org/parabola/core/os/armv7h
debug: adding new server URL to database 'core': http://mirror.fsf.org/parabola/core/os/armv7h
debug: adding new server URL to database 'core': https://parabola.isacdaavid.info:8081/core/os/armv7h
debug: adding new server URL to database 'core': https://mirror.yandex.ru/mirrors/parabola/core/os/armv7h
debug: adding new server URL to database 'core': https://parabola.goodgnus.com.ar/core/os/armv7h
debug: adding new server URL to database 'core': https://server2.goodgnus.com.ar/core/os/armv7h
debug: adding new server URL to database 'core': https://mirror.freedif.org/Parabola/core/os/armv7h
debug: adding new server URL to database 'core': http://alfplayer.com/parabola/core/os/armv7h
debug: adding new server URL to database 'core': https://repo.parabola.nu/core/os/armv7h
debug: registering sync database 'extra'
debug: database path for tree extra set to /var/lib/pacman/sync/extra.db
debug: "/var/lib/pacman/sync/extra.db.sig" is not readable: No such file or directory
debug: sig path /var/lib/pacman/sync/extra.db.sig could not be opened
debug: missing optional signature
debug: setting usage of 15 for extra repository
debug: adding new server URL to database 'extra': https://repomirror.parabola.nu/extra/os/armv7h
debug: adding new server URL to database 'extra': https://mirror.grapentin.org/parabola/extra/os/armv7h
debug: adding new server URL to database 'extra': http://mirror.fsf.org/parabola/extra/os/armv7h
debug: adding new server URL to database 'extra': https://parabola.isacdaavid.info:8081/extra/os/armv7h
debug: adding new server URL to database 'extra': https://mirror.yandex.ru/mirrors/parabola/extra/os/armv7h
debug: adding new server URL to database 'extra': https://parabola.goodgnus.com.ar/extra/os/armv7h
debug: adding new server URL to database 'extra': https://server2.goodgnus.com.ar/extra/os/armv7h
debug: adding new server URL to database 'extra': https://mirror.freedif.org/Parabola/extra/os/armv7h
debug: adding new server URL to database 'extra': http://alfplayer.com/parabola/extra/os/armv7h
debug: adding new server URL to database 'extra': https://repo.parabola.nu/extra/os/armv7h
debug: registering sync database 'community'
debug: database path for tree community set to /var/lib/pacman/sync/community.db
debug: "/var/lib/pacman/sync/community.db.sig" is not readable: No such file or directory
debug: sig path /var/lib/pacman/sync/community.db.sig could not be opened
debug: missing optional signature
debug: setting usage of 15 for community repository
debug: adding new server URL to database 'community': https://repomirror.parabola.nu/community/os/armv7h
debug: adding new server URL to database 'community': https://mirror.grapentin.org/parabola/community/os/armv7h
debug: adding new server URL to database 'community': http://mirror.fsf.org/parabola/community/os/armv7h
debug: adding new server URL to database 'community': https://parabola.isacdaavid.info:8081/community/os/armv7h
debug: adding new server URL to database 'community': https://mirror.yandex.ru/mirrors/parabola/community/os/armv7h
debug: adding new server URL to database 'community': https://parabola.goodgnus.com.ar/community/os/armv7h
debug: adding new server URL to database 'community': https://server2.goodgnus.com.ar/community/os/armv7h
debug: adding new server URL to database 'community': https://mirror.freedif.org/Parabola/community/os/armv7h
debug: adding new server URL to database 'community': http://alfplayer.com/parabola/community/os/armv7h
debug: adding new server URL to database 'community': https://repo.parabola.nu/community/os/armv7h
:: Synchronizing package databases...
debug: url: https://repomirror.parabola.nu/core/os/armv7h/core.db
debug: maxsize: 26214400
debug: opened tempfile for download: /var/lib/pacman/sync/core.db.part (wb)
error: segmentation fault
Please submit a full bug report with --debug if appropriate.
No entanto, eu corro o mesmo na minha máquina x86 com a mesma distro, sem erros, com a diferença de que eu tinha o repositório [mutilib]. Então eu também corro:
$ sudo pacman -Syy --debug
debug: pacman v5.0.1 - libalpm v10.0.1
debug: config: attempting to read file /etc/pacman.conf
debug: config: new section 'options'
debug: config: HoldPkg: pacman
debug: config: HoldPkg: glibc
debug: config: arch: x86_64
debug: config: SigLevel: Required
debug: config: SigLevel: DatabaseOptional
debug: config: LocalFileSigLevel: Optional
debug: config: new section 'nonprism'
debug: config file /etc/pacman.conf, line 80: including /etc/pacman.d/mirrorlist
debug: config: new section 'libre'
debug: config file /etc/pacman.conf, line 86: including /etc/pacman.d/mirrorlist
debug: config: new section 'core'
debug: config file /etc/pacman.conf, line 92: including /etc/pacman.d/mirrorlist
debug: config: new section 'extra'
debug: config file /etc/pacman.conf, line 95: including /etc/pacman.d/mirrorlist
debug: config: new section 'community'
debug: config file /etc/pacman.conf, line 101: including /etc/pacman.d/mirrorlist
debug: config: new section 'pcr'
debug: config file /etc/pacman.conf, line 111: including /etc/pacman.d/mirrorlist
debug: config: new section 'multilib'
debug: config file /etc/pacman.conf, line 132: including /etc/pacman.d/mirrorlist
debug: config: finished parsing /etc/pacman.conf
debug: setup_libalpm called
debug: option 'logfile' = /var/log/pacman.log
debug: option 'gpgdir' = /etc/pacman.d/gnupg/
debug: option 'hookdir' = /etc/pacman.d/hooks/
debug: option 'cachedir' = /var/cache/pacman/pkg/
debug: registering sync database 'nonprism'
debug: database path for tree nonprism set to /var/lib/pacman/sync/nonprism.db
debug: "/var/lib/pacman/sync/nonprism.db.sig" is not readable: No such file or directory
debug: sig path /var/lib/pacman/sync/nonprism.db.sig could not be opened
debug: missing optional signature
debug: setting usage of 15 for nonprism repository
debug: adding new server URL to database 'nonprism': https://repomirror.parabola.nu/nonprism/os/x86_64
debug: adding new server URL to database 'nonprism': http://mirror.fsf.org/parabola/nonprism/os/x86_64
debug: adding new server URL to database 'nonprism':
https://parabola.isacdaavid.info:8081/nonprism/os/x86_64
debug: adding new server URL to database 'nonprism':
https://mirror.yandex.ru/mirrors/parabola/nonprism/os/x86_64
debug: adding new server URL to database 'nonprism':
https://parabola.goodgnus.com.ar/nonprism/os/x86_64
debug: adding new server URL to database 'nonprism': https://server2.goodgnus.com.ar/nonprism/os/x86_64
debug: adding new server URL to database 'nonprism': http://alfplayer.com/parabola/nonprism/os/x86_64
debug: adding new server URL to database 'nonprism':
https://mirror.freedif.org/Parabola/nonprism/os/x86_64
debug: adding new server URL to database 'nonprism': https://repo.parabola.nu/nonprism/os/x86_64
debug: registering sync database 'libre'
debug: database path for tree libre set to /var/lib/pacman/sync/libre.db
debug: "/var/lib/pacman/sync/libre.db.sig" is not readable: No such file or directory
debug: sig path /var/lib/pacman/sync/libre.db.sig could not be opened
debug: missing optional signature
debug: setting usage of 15 for libre repository
debug: adding new server URL to database 'libre': https://repomirror.parabola.nu/libre/os/x86_64
debug: adding new server URL to database 'libre': http://mirror.fsf.org/parabola/libre/os/x86_64
debug: adding new server URL to database 'libre': https://parabola.isacdaavid.info:8081/libre/os/x86_64
debug: adding new server URL to database 'libre':
https://mirror.yandex.ru/mirrors/parabola/libre/os/x86_64
debug: adding new server URL to database 'libre': https://parabola.goodgnus.com.ar/libre/os/x86_64
debug: adding new server URL to database 'libre': https://server2.goodgnus.com.ar/libre/os/x86_64
debug: adding new server URL to database 'libre': http://alfplayer.com/parabola/libre/os/x86_64
debug: adding new server URL to database 'libre': https://mirror.freedif.org/Parabola/libre/os/x86_64
debug: adding new server URL to database 'libre': https://repo.parabola.nu/libre/os/x86_64
debug: registering sync database 'core'
debug: database path for tree core set to /var/lib/pacman/sync/core.db
debug: "/var/lib/pacman/sync/core.db.sig" is not readable: No such file or directory
debug: sig path /var/lib/pacman/sync/core.db.sig could not be opened
debug: missing optional signature
debug: setting usage of 15 for core repository
debug: adding new server URL to database 'core': https://repomirror.parabola.nu/core/os/x86_64
debug: adding new server URL to database 'core': http://mirror.fsf.org/parabola/core/os/x86_64
debug: adding new server URL to database 'core': https://parabola.isacdaavid.info:8081/core/os/x86_64
debug: adding new server URL to database 'core':
https://mirror.yandex.ru/mirrors/parabola/core/os/x86_64
debug: adding new server URL to database 'core': https://parabola.goodgnus.com.ar/core/os/x86_64
debug: adding new server URL to database 'core': https://server2.goodgnus.com.ar/core/os/x86_64
debug: adding new server URL to database 'core': http://alfplayer.com/parabola/core/os/x86_64
debug: adding new server URL to database 'core': https://mirror.freedif.org/Parabola/core/os/x86_64
debug: adding new server URL to database 'core': https://repo.parabola.nu/core/os/x86_64
debug: registering sync database 'extra'
debug: database path for tree extra set to /var/lib/pacman/sync/extra.db
debug: "/var/lib/pacman/sync/extra.db.sig" is not readable: No such file or directory
debug: sig path /var/lib/pacman/sync/extra.db.sig could not be opened
debug: missing optional signature
debug: setting usage of 15 for extra repository
debug: adding new server URL to database 'extra': https://repomirror.parabola.nu/extra/os/x86_64
debug: adding new server URL to database 'extra': http://mirror.fsf.org/parabola/extra/os/x86_64
debug: adding new server URL to database 'extra': https://parabola.isacdaavid.info:8081/extra/os/x86_64
debug: adding new server URL to database 'extra':
https://mirror.yandex.ru/mirrors/parabola/extra/os/x86_64
debug: adding new server URL to database 'extra': https://parabola.goodgnus.com.ar/extra/os/x86_64
debug: adding new server URL to database 'extra': https://server2.goodgnus.com.ar/extra/os/x86_64
debug: adding new server URL to database 'extra': http://alfplayer.com/parabola/extra/os/x86_64
debug: adding new server URL to database 'extra': https://mirror.freedif.org/Parabola/extra/os/x86_64
debug: adding new server URL to database 'extra': https://repo.parabola.nu/extra/os/x86_64
debug: registering sync database 'community'
debug: database path for tree community set to /var/lib/pacman/sync/community.db
debug: "/var/lib/pacman/sync/community.db.sig" is not readable: No such file or directory
debug: sig path /var/lib/pacman/sync/community.db.sig could not be opened
debug: missing optional signature
debug: setting usage of 15 for community repository
debug: adding new server URL to database 'community':
https://repomirror.parabola.nu/community/os/x86_64
debug: adding new server URL to database 'community':
http://mirror.fsf.org/parabola/community/os/x86_64
debug: adding new server URL to database 'community':
https://parabola.isacdaavid.info:8081/community/os/x86_64
debug: adding new server URL to database 'community':
https://mirror.yandex.ru/mirrors/parabola/community/os/x86_64
debug: adding new server URL to database 'community':
https://parabola.goodgnus.com.ar/community/os/x86_64
debug: adding new server URL to database 'community':
https://server2.goodgnus.com.ar/community/os/x86_64
debug: adding new server URL to database 'community': http://alfplayer.com/parabola/community/os/x86_64
debug: adding new server URL to database 'community':
https://mirror.freedif.org/Parabola/community/os/x86_64
debug: adding new server URL to database 'community': https://repo.parabola.nu/community/os/x86_64
debug: registering sync database 'pcr'
debug: database path for tree pcr set to /var/lib/pacman/sync/pcr.db
debug: "/var/lib/pacman/sync/pcr.db.sig" is not readable: No such file or directory
debug: sig path /var/lib/pacman/sync/pcr.db.sig could not be opened
debug: missing optional signature
debug: setting usage of 15 for pcr repository
debug: adding new server URL to database 'pcr': https://repomirror.parabola.nu/pcr/os/x86_64
debug: adding new server URL to database 'pcr': http://mirror.fsf.org/parabola/pcr/os/x86_64
debug: adding new server URL to database 'pcr': https://parabola.isacdaavid.info:8081/pcr/os/x86_64
debug: adding new server URL to database 'pcr': https://mirror.yandex.ru/mirrors/parabola/pcr/os/x86_64
debug: adding new server URL to database 'pcr': https://parabola.goodgnus.com.ar/pcr/os/x86_64
debug: adding new server URL to database 'pcr': https://server2.goodgnus.com.ar/pcr/os/x86_64
debug: adding new server URL to database 'pcr': http://alfplayer.com/parabola/pcr/os/x86_64
debug: adding new server URL to database 'pcr': https://mirror.freedif.org/Parabola/pcr/os/x86_64
debug: adding new server URL to database 'pcr': https://repo.parabola.nu/pcr/os/x86_64
debug: registering sync database 'multilib'
debug: database path for tree multilib set to /var/lib/pacman/sync/multilib.db
debug: "/var/lib/pacman/sync/multilib.db.sig" is not readable: No such file or directory
debug: sig path /var/lib/pacman/sync/multilib.db.sig could not be opened
debug: missing optional signature
debug: setting usage of 15 for multilib repository
debug: adding new server URL to database 'multilib': https://repomirror.parabola.nu/multilib/os/x86_64
debug: adding new server URL to database 'multilib': http://mirror.fsf.org/parabola/multilib/os/x86_64
debug: adding new server URL to database 'multilib':
https://parabola.isacdaavid.info:8081/multilib/os/x86_64
debug: adding new server URL to database 'multilib':
https://mirror.yandex.ru/mirrors/parabola/multilib/os/x86_64
debug: adding new server URL to database 'multilib':
https://parabola.goodgnus.com.ar/multilib/os/x86_64
debug: adding new server URL to database 'multilib': https://server2.goodgnus.com.ar/multilib/os/x86_64
debug: adding new server URL to database 'multilib': http://alfplayer.com/parabola/multilib/os/x86_64
debug: adding new server URL to database 'multilib':
https://mirror.freedif.org/Parabola/multilib/os/x86_64
debug: adding new server URL to database 'multilib': https://repo.parabola.nu/multilib/os/x86_64
:: Synchronizing package databases...
debug: url: https://repomirror.parabola.nu/nonprism/os/x86_64/nonprism.db
debug: maxsize: 26214400
debug: opened tempfile for download: /var/lib/pacman/sync/nonprism.db.part (wb)
downloading nonprism.db...
debug: curl returned error 0 from transfer
debug: response code: 200
debug: url: https://repomirror.parabola.nu/nonprism/os/x86_64/nonprism.db.sig
debug: maxsize: 16384
debug: opened tempfile for download: /var/lib/pacman/sync/nonprism.db.sig.part (wb)
debug: curl returned error 0 from transfer
debug: response code: 404
debug: "/var/lib/pacman/sync/nonprism.db.sig" is not readable: No such file or directory
debug: sig path /var/lib/pacman/sync/nonprism.db.sig could not be opened
debug: missing optional signature
debug: url: https://repomirror.parabola.nu/libre/os/x86_64/libre.db
debug: maxsize: 26214400
debug: opened tempfile for download: /var/lib/pacman/sync/libre.db.part (wb)
downloading libre.db...
debug: curl returned error 0 from transfer
debug: response code: 200
debug: url: https://repomirror.parabola.nu/libre/os/x86_64/libre.db.sig
debug: maxsize: 16384
debug: opened tempfile for download: /var/lib/pacman/sync/libre.db.sig.part (wb)
debug: curl returned error 0 from transfer
debug: response code: 404
debug: "/var/lib/pacman/sync/libre.db.sig" is not readable: No such file or directory
debug: sig path /var/lib/pacman/sync/libre.db.sig could not be opened
debug: missing optional signature
debug: url: https://repomirror.parabola.nu/core/os/x86_64/core.db
debug: maxsize: 26214400
debug: opened tempfile for download: /var/lib/pacman/sync/core.db.part (wb)
downloading core.db...
debug: curl returned error 0 from transfer
debug: response code: 200
debug: url: https://repomirror.parabola.nu/core/os/x86_64/core.db.sig
debug: maxsize: 16384
debug: opened tempfile for download: /var/lib/pacman/sync/core.db.sig.part (wb)
debug: curl returned error 0 from transfer
debug: response code: 404
debug: "/var/lib/pacman/sync/core.db.sig" is not readable: No such file or directory
debug: sig path /var/lib/pacman/sync/core.db.sig could not be opened
debug: missing optional signature
debug: url: https://repomirror.parabola.nu/extra/os/x86_64/extra.db
debug: maxsize: 26214400
debug: opened tempfile for download: /var/lib/pacman/sync/extra.db.part (wb)
downloading extra.db...
debug: curl returned error 0 from transfer
debug: response code: 200
debug: url: https://repomirror.parabola.nu/extra/os/x86_64/extra.db.sig
debug: maxsize: 16384
debug: opened tempfile for download: /var/lib/pacman/sync/extra.db.sig.part (wb)
debug: curl returned error 0 from transfer
debug: response code: 404
debug: "/var/lib/pacman/sync/extra.db.sig" is not readable: No such file or directory
debug: sig path /var/lib/pacman/sync/extra.db.sig could not be opened
debug: missing optional signature
debug: url: https://repomirror.parabola.nu/community/os/x86_64/community.db
debug: maxsize: 26214400
debug: opened tempfile for download: /var/lib/pacman/sync/community.db.part (wb)
downloading community.db...
debug: curl returned error 0 from transfer
debug: response code: 200
debug: url: https://repomirror.parabola.nu/community/os/x86_64/community.db.sig
debug: maxsize: 16384
debug: opened tempfile for download: /var/lib/pacman/sync/community.db.sig.part (wb)
debug: curl returned error 0 from transfer
debug: response code: 404
debug: "/var/lib/pacman/sync/community.db.sig" is not readable: No such file or directory
debug: sig path /var/lib/pacman/sync/community.db.sig could not be opened
debug: missing optional signature
debug: url: https://repomirror.parabola.nu/pcr/os/x86_64/pcr.db
debug: maxsize: 26214400
debug: opened tempfile for download: /var/lib/pacman/sync/pcr.db.part (wb)
downloading pcr.db...
debug: curl returned error 0 from transfer
debug: response code: 200
debug: url: https://repomirror.parabola.nu/pcr/os/x86_64/pcr.db.sig
debug: maxsize: 16384
debug: opened tempfile for download: /var/lib/pacman/sync/pcr.db.sig.part (wb)
debug: curl returned error 0 from transfer
debug: response code: 404
debug: "/var/lib/pacman/sync/pcr.db.sig" is not readable: No such file or directory
debug: sig path /var/lib/pacman/sync/pcr.db.sig could not be opened
debug: missing optional signature
debug: url: https://repomirror.parabola.nu/multilib/os/x86_64/multilib.db
debug: maxsize: 26214400
debug: opened tempfile for download: /var/lib/pacman/sync/multilib.db.part (wb)
downloading multilib.db...
debug: curl returned error 0 from transfer
debug: response code: 200
debug: url: https://repomirror.parabola.nu/multilib/os/x86_64/multilib.db.sig
debug: maxsize: 16384
debug: opened tempfile for download: /var/lib/pacman/sync/multilib.db.sig.part (wb)
debug: curl returned error 0 from transfer
debug: response code: 404
debug: "/var/lib/pacman/sync/multilib.db.sig" is not readable: No such file or directory
debug: sig path /var/lib/pacman/sync/multilib.db.sig could not be opened
debug: missing optional signature
debug: unregistering database 'local'
debug: unregistering database 'nonprism'
debug: unregistering database 'libre'
debug: unregistering database 'core'
debug: unregistering database 'extra'
debug: unregistering database 'community'
debug: unregistering database 'pcr'
debug: unregistering database 'multilib'
Então fiz 2 arquivos com os logs e executei o diff, veja o resultado aqui , não há diferenças, além da arquitetura e do repositório [multilib], apenas a coisa" error: segmentation fault ". Ainda não entendi porque isso acontece e como resolvê-lo.
- Especificações -
OS: Parábola GNU / Linux-libre
Architure: ARMv7h
SoC: Banana Pi M1
Gerenciador de Pacotes: Pacman v5.0.1