You are not logged in.
Hello.
Yesterday I updated successfully. Today when I try pacman -Syu I get:
:: Synchronizing package databases...
core is up to date
extra is up to date
community is up to date
archlinuxfr is up to date
mate is up to date
:: Starting full system upgrade...
error: segmentation fault
Please submit a full bug report with --debug if appropriate.
After that, pacman's lock get locked, so I have to delete it to try new things (don't know if this info is useful).
I thought this problem was the same than this one (https://bbs.archlinux.org/viewtopic.php?pid=1297343) but it's not because as I said there, I don't have any ".part" file. I also don't have any ".sig" file neither.
I also have tried to change the servers' list for others faster with this command:
reflector -l 5 --sort rate --save /etc/pacman.d/mirrorlist && pacman -Syy
But didn't fix it. And I've also tried somethings like pacman-key --init, etc... but didn't work.
Here is my pacman's debug log:
debug: pacman v4.1.2 - libalpm v8.0.2
debug: parseconfig: options pass
debug: config: attempting to read file /etc/pacman.conf
debug: config: finish section '(null)'
debug: config: new section 'options'
debug: config: HoldPkg: pacman
debug: config: HoldPkg: glibc
debug: config: arch: i686
debug: config: IgnorePkg: foo2zjs,
debug: config: IgnorePkg: foomatic-db-foo2zjs
debug: config: finish section 'options'
debug: config: new section 'core'
debug: config file /etc/pacman.conf, line 76: including /etc/pacman.d/mirrorlist
debug: config: attempting to read file /etc/pacman.d/mirrorlist
debug: config: finished parsing /etc/pacman.d/mirrorlist
debug: config: finish section 'core'
debug: config: new section 'extra'
debug: config file /etc/pacman.conf, line 80: including /etc/pacman.d/mirrorlist
debug: config: attempting to read file /etc/pacman.d/mirrorlist
debug: config: finished parsing /etc/pacman.d/mirrorlist
debug: config: finish section 'extra'
debug: config: new section 'community'
debug: config file /etc/pacman.conf, line 88: including /etc/pacman.d/mirrorlist
debug: config: attempting to read file /etc/pacman.d/mirrorlist
debug: config: finished parsing /etc/pacman.d/mirrorlist
debug: config: finish section 'community'
debug: config: new section 'archlinuxfr'
debug: config: finish section 'archlinuxfr'
debug: config: new section 'mate'
debug: config: finish section 'mate'
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 'cachedir' = /var/cache/pacman/pkg/
debug: parseconfig: repo pass
debug: config: attempting to read file /etc/pacman.conf
debug: config: finish section '(null)'
debug: config: new section 'options'
debug: config: finish section 'options'
debug: config: new section 'core'
debug: config: SigLevel: PackageRequired
debug: config file /etc/pacman.conf, line 76: including /etc/pacman.d/mirrorlist
debug: config: attempting to read file /etc/pacman.d/mirrorlist
debug: config: finished parsing /etc/pacman.d/mirrorlist
debug: config: finish section 'core'
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: adding new server URL to database 'core': http://mirror.de.leaseweb.net/archlinux/core/os/i686
debug: adding new server URL to database 'core': http://ftp.byfly.by/pub/archlinux/core/os/i686
debug: adding new server URL to database 'core': http://archlinux.polymorf.fr/core/os/i686
debug: adding new server URL to database 'core': http://mirror.archlinux.no/core/os/i686
debug: adding new server URL to database 'core': rsync://ftp.byfly.by/archlinux/core/os/i686
debug: config: new section 'extra'
debug: config: SigLevel: PackageRequired
debug: config file /etc/pacman.conf, line 80: including /etc/pacman.d/mirrorlist
debug: config: attempting to read file /etc/pacman.d/mirrorlist
debug: config: finished parsing /etc/pacman.d/mirrorlist
debug: config: finish section 'extra'
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: adding new server URL to database 'extra': http://mirror.de.leaseweb.net/archlinux/extra/os/i686
debug: adding new server URL to database 'extra': http://ftp.byfly.by/pub/archlinux/extra/os/i686
debug: adding new server URL to database 'extra': http://archlinux.polymorf.fr/extra/os/i686
debug: adding new server URL to database 'extra': http://mirror.archlinux.no/extra/os/i686
debug: adding new server URL to database 'extra': rsync://ftp.byfly.by/archlinux/extra/os/i686
debug: config: new section 'community'
debug: config: SigLevel: PackageRequired
debug: config file /etc/pacman.conf, line 88: including /etc/pacman.d/mirrorlist
debug: config: attempting to read file /etc/pacman.d/mirrorlist
debug: config: finished parsing /etc/pacman.d/mirrorlist
debug: config: finish section 'community'
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: adding new server URL to database 'community': http://mirror.de.leaseweb.net/archlinux/community/os/i686
debug: adding new server URL to database 'community': http://ftp.byfly.by/pub/archlinux/community/os/i686
debug: adding new server URL to database 'community': http://archlinux.polymorf.fr/community/os/i686
debug: adding new server URL to database 'community': http://mirror.archlinux.no/community/os/i686
debug: adding new server URL to database 'community': rsync://ftp.byfly.by/archlinux/community/os/i686
debug: config: new section 'archlinuxfr'
debug: config: finish section 'archlinuxfr'
debug: registering sync database 'archlinuxfr'
debug: database path for tree archlinuxfr set to /var/lib/pacman/sync/archlinuxfr.db
debug: "/var/lib/pacman/sync/archlinuxfr.db.sig" is not readable: No such file or directory
debug: sig path /var/lib/pacman/sync/archlinuxfr.db.sig could not be opened
debug: missing optional signature
debug: adding new server URL to database 'archlinuxfr': http://repo.archlinux.fr/i686
debug: config: new section 'mate'
debug: config: finish section 'mate'
debug: registering sync database 'mate'
debug: database path for tree mate set to /var/lib/pacman/sync/mate.db
debug: "/var/lib/pacman/sync/mate.db.sig" is not readable: No such file or directory
debug: sig path /var/lib/pacman/sync/mate.db.sig could not be opened
debug: missing optional signature
debug: adding new server URL to database 'mate': http://repo.mate-desktop.org/archlinux/i686
debug: config: finished parsing /etc/pacman.conf
:: Synchronizing package databases...
debug: url: http://mirror.de.leaseweb.net/archlinux/core/os/i686/core.db
debug: maxsize: 26214400
debug: using time condition: 1373003744
debug: opened tempfile for download: /var/lib/pacman/sync/core.db.part (wb)
debug: curl returned error 0 from transfer
debug: response code: 304
debug: file met time condition
core is up to date
debug: url: http://mirror.de.leaseweb.net/archlinux/extra/os/i686/extra.db
debug: maxsize: 26214400
debug: using time condition: 1373136599
debug: opened tempfile for download: /var/lib/pacman/sync/extra.db.part (wb)
debug: curl returned error 0 from transfer
debug: response code: 304
debug: file met time condition
extra is up to date
debug: url: http://mirror.de.leaseweb.net/archlinux/community/os/i686/community.db
debug: maxsize: 26214400
debug: using time condition: 1373137005
debug: opened tempfile for download: /var/lib/pacman/sync/community.db.part (wb)
debug: curl returned error 0 from transfer
debug: response code: 304
debug: file met time condition
community is up to date
debug: url: http://repo.archlinux.fr/i686/archlinuxfr.db
debug: maxsize: 26214400
debug: using time condition: 1371220615
debug: opened tempfile for download: /var/lib/pacman/sync/archlinuxfr.db.part (wb)
debug: curl returned error 0 from transfer
debug: response code: 304
debug: file met time condition
archlinuxfr is up to date
debug: url: http://repo.mate-desktop.org/archlinux/i686/mate.db
debug: maxsize: 26214400
debug: using time condition: 1373109316
debug: opened tempfile for download: /var/lib/pacman/sync/mate.db.part (wb)
debug: curl returned error 0 from transfer
debug: response code: 304
debug: file met time condition
mate is up to date
:: Starting full system upgrade...
debug: checking for package upgrades
debug: loading package cache for repository 'local'
debug: added 950 packages to package cache for db 'local'
debug: searching for replacements for a52dec in core
debug: loading package cache for repository 'core'
debug: opening archive /var/lib/pacman/sync/core.db
debug: added 189 packages to package cache for db 'core'
debug: searching for replacements for a52dec in extra
debug: loading package cache for repository 'extra'
debug: opening archive /var/lib/pacman/sync/extra.db
debug: added 2818 packages to package cache for db 'extra'
debug: searching for replacements for aalib in core
debug: searching for replacements for aalib in extra
debug: searching for replacements for acl in core
debug: searching for replacements for acpi in core
debug: searching for replacements for acpi in extra
debug: searching for replacements for acpi in community
debug: loading package cache for repository 'community'
debug: opening archive /var/lib/pacman/sync/community.db
debug: added 2927 packages to package cache for db 'community'
debug: searching for replacements for adwaita-x-dark-and-light-theme in core
debug: searching for replacements for adwaita-x-dark-and-light-theme in extra
debug: searching for replacements for adwaita-x-dark-and-light-theme in community
debug: searching for replacements for adwaita-x-dark-and-light-theme in archlinuxfr
debug: loading package cache for repository 'archlinuxfr'
debug: opening archive /var/lib/pacman/sync/archlinuxfr.db
debug: added 37 packages to package cache for db 'archlinuxfr'
debug: searching for replacements for adwaita-x-dark-and-light-theme in mate
debug: loading package cache for repository 'mate'
debug: opening archive /var/lib/pacman/sync/mate.db
error: segmentation fault
Please submit a full bug report with --debug if appropriate.
And here my /etc/pacman.conf :
#
# /etc/pacman.conf
#
# See the pacman.conf(5) manpage for option and repository directives
#
# GENERAL OPTIONS
#
[options]
# The following paths are commented out with their default values listed.
# If you wish to use different paths, uncomment and update the paths.
#RootDir = /
#DBPath = /var/lib/pacman/
#CacheDir = /var/cache/pacman/pkg/
#LogFile = /var/log/pacman.log
#GPGDir = /etc/pacman.d/gnupg/
HoldPkg = pacman glibc
# If upgrades are available for these packages they will be asked for first
#SyncFirst = pacman linux-headers
#XferCommand = /usr/bin/curl -C - -f %u > %o
#XferCommand = /usr/bin/wget --passive-ftp -c -O %o %u
#CleanMethod = KeepInstalled
Architecture = auto
# Pacman won't upgrade packages listed in IgnorePkg and members of IgnoreGroup
IgnorePkg = foo2zjs, foomatic-db-foo2zjs
#IgnoreGroup =
#NoUpgrade =
#NoExtract =
# Misc options
#UseSyslog
#UseDelta
#TotalDownload
CheckSpace
#VerbosePkgLists
# By default, pacman accepts packages signed by keys that its local keyring
# trusts (see pacman-key and its man page), as well as unsigned packages.
#SigLevel = Optional TrustedOnly
# NOTE: You must run `pacman-key --init` before first using pacman; the local
# keyring can then be populated with the keys of all official Arch Linux
# packagers with `pacman-key --populate archlinux`.
#
# REPOSITORIES
# - can be defined here or included from another file
# - pacman will search repositories in the order defined here
# - local/custom mirrors can be added here or in separate files
# - repositories listed first will take precedence when packages
# have identical names, regardless of version number
# - URLs will have $repo replaced by the name of the current repo
# - URLs will have $arch replaced by the name of the architecture
#
# Repository entries are of the format:
# [repo-name]
# Server = ServerName
# Include = IncludePath
#
# The header [repo-name] is crucial - it must be present and
# uncommented to enable the repo.
#
# The testing repositories are disabled by default. To enable, uncomment the
# repo name header and Include lines. You can add preferred servers immediately
# after the header, and they will be used before the default mirrors.
#[testing]
#SigLevel = PackageRequired
#Include = /etc/pacman.d/mirrorlist
[core]
SigLevel = PackageRequired
Include = /etc/pacman.d/mirrorlist
[extra]
SigLevel = PackageRequired
Include = /etc/pacman.d/mirrorlist
#[community-testing]
#SigLevel = PackageRequired
#Include = /etc/pacman.d/mirrorlist
[community]
SigLevel = PackageRequired
Include = /etc/pacman.d/mirrorlist
# An example of a custom package repository. See the pacman manpage for
# tips on creating your own repositories.
#[custom]
#SigLevel = Optional TrustAll
#Server = file:///home/custompkgs
[archlinuxfr]
Server = http://repo.archlinux.fr/$arch
[mate]
Server = http://repo.mate-desktop.org/archlinux/$arch
#[unity]
#Server = http://unity.xe-xe.org/$arch
#[unity-extra]
#Server = http://unity.xe-xe.org/extra/$arch
#[dieghen89]
#Server = http://dl.dropbox.com/u/794061/arch/
PS: Maybe it's about siglevels? or is it a server problem? To be honest I don't have any clue
Thank you!
EDIT 0:
I also cleaned pacman's cache with this command:
pacman -Rsn $(pacman -Qdtq) && pacman -Scc
Last edited by ZoSoDaltrey (2013-07-08 18:37:17)
Offline
Where you have
#SigLevel = Optional TrustedOnly
I have
SigLevel = Required DatabaseOptional
LocalFileSigLevel = Optional
#RemoteFileSigLevel = Required
And I do not have the PackageRequired sig level lines for particular repos. I checked and this matches pacman's default configuration. Do you have an unmerged .pacnew by any chance?
I am not claiming this explains the seg fault but I wonder if it might explain the complaints about sig files.
Last edited by cfr (2013-07-07 01:46:27)
CLI Paste | How To Ask Questions
Arch Linux | x86_64 | GPT | EFI boot | refind | stub loader | systemd | LVM2 on LUKS
Lenovo x270 | Intel(R) Core(TM) i5-7200U CPU @ 2.50GHz | Intel Wireless 8265/8275 | US keyboard w/ Euro | 512G NVMe INTEL SSDPEKKF512G7L
Offline
And I do not have the PackageRequired sig level lines for particular repos. I checked and this matches pacman's default configuration. Do you have an unmerged .pacnew by any chance?
I am not claiming this explains the seg fault but I wonder if it might explain the complaints about sig files.
I thougth I merged them because I just checked the date of the file pacman.conf.pacnew and was created (created o modificated) on april whilst pacman.conf was changed on may.
Anyway, I merged them and now here is the debug's output:
debug: pacman v4.1.2 - libalpm v8.0.2
debug: parseconfig: options pass
debug: config: attempting to read file /etc/pacman.conf
debug: config: finish section '(null)'
debug: config: new section 'options'
debug: config: HoldPkg: pacman
debug: config: HoldPkg: glibc
debug: config: arch: i686
debug: config: IgnorePkg: foo2zjs,
debug: config: IgnorePkg: foomatic-db-foo2zjs
debug: config: SigLevel: Required
debug: config: SigLevel: DatabaseOptional
debug: config: LocalFileSigLevel: Optional
debug: config: finish section 'options'
debug: config: new section 'core'
debug: config file /etc/pacman.conf, line 76: including /etc/pacman.d/mirrorlist
debug: config: attempting to read file /etc/pacman.d/mirrorlist
debug: config: finished parsing /etc/pacman.d/mirrorlist
debug: config: finish section 'core'
debug: config: new section 'extra'
debug: config file /etc/pacman.conf, line 79: including /etc/pacman.d/mirrorlist
debug: config: attempting to read file /etc/pacman.d/mirrorlist
debug: config: finished parsing /etc/pacman.d/mirrorlist
debug: config: finish section 'extra'
debug: config: new section 'community'
debug: config file /etc/pacman.conf, line 85: including /etc/pacman.d/mirrorlist
debug: config: attempting to read file /etc/pacman.d/mirrorlist
debug: config: finished parsing /etc/pacman.d/mirrorlist
debug: config: finish section 'community'
debug: config: new section 'archlinuxfr'
debug: config: finish section 'archlinuxfr'
debug: config: new section 'mate'
debug: config: finish section 'mate'
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 'cachedir' = /var/cache/pacman/pkg/
debug: parseconfig: repo pass
debug: config: attempting to read file /etc/pacman.conf
debug: config: finish section '(null)'
debug: config: new section 'options'
debug: config: finish section 'options'
debug: config: new section 'core'
debug: config file /etc/pacman.conf, line 76: including /etc/pacman.d/mirrorlist
debug: config: attempting to read file /etc/pacman.d/mirrorlist
debug: config: finished parsing /etc/pacman.d/mirrorlist
debug: config: finish section 'core'
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: adding new server URL to database 'core': http://mirror.de.leaseweb.net/archlinux/core/os/i686
debug: adding new server URL to database 'core': http://ftp.byfly.by/pub/archlinux/core/os/i686
debug: adding new server URL to database 'core': http://archlinux.polymorf.fr/core/os/i686
debug: adding new server URL to database 'core': http://mirror.archlinux.no/core/os/i686
debug: adding new server URL to database 'core': rsync://ftp.byfly.by/archlinux/core/os/i686
debug: config: new section 'extra'
debug: config file /etc/pacman.conf, line 79: including /etc/pacman.d/mirrorlist
debug: config: attempting to read file /etc/pacman.d/mirrorlist
debug: config: finished parsing /etc/pacman.d/mirrorlist
debug: config: finish section 'extra'
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: adding new server URL to database 'extra': http://mirror.de.leaseweb.net/archlinux/extra/os/i686
debug: adding new server URL to database 'extra': http://ftp.byfly.by/pub/archlinux/extra/os/i686
debug: adding new server URL to database 'extra': http://archlinux.polymorf.fr/extra/os/i686
debug: adding new server URL to database 'extra': http://mirror.archlinux.no/extra/os/i686
debug: adding new server URL to database 'extra': rsync://ftp.byfly.by/archlinux/extra/os/i686
debug: config: new section 'community'
debug: config file /etc/pacman.conf, line 85: including /etc/pacman.d/mirrorlist
debug: config: attempting to read file /etc/pacman.d/mirrorlist
debug: config: finished parsing /etc/pacman.d/mirrorlist
debug: config: finish section 'community'
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: adding new server URL to database 'community': http://mirror.de.leaseweb.net/archlinux/community/os/i686
debug: adding new server URL to database 'community': http://ftp.byfly.by/pub/archlinux/community/os/i686
debug: adding new server URL to database 'community': http://archlinux.polymorf.fr/community/os/i686
debug: adding new server URL to database 'community': http://mirror.archlinux.no/community/os/i686
debug: adding new server URL to database 'community': rsync://ftp.byfly.by/archlinux/community/os/i686
debug: config: new section 'archlinuxfr'
debug: config: finish section 'archlinuxfr'
debug: registering sync database 'archlinuxfr'
debug: database path for tree archlinuxfr set to /var/lib/pacman/sync/archlinuxfr.db
debug: "/var/lib/pacman/sync/archlinuxfr.db.sig" is not readable: No such file or directory
debug: sig path /var/lib/pacman/sync/archlinuxfr.db.sig could not be opened
debug: missing optional signature
debug: adding new server URL to database 'archlinuxfr': http://repo.archlinux.fr/i686
debug: config: new section 'mate'
debug: config: finish section 'mate'
debug: registering sync database 'mate'
debug: database path for tree mate set to /var/lib/pacman/sync/mate.db
debug: "/var/lib/pacman/sync/mate.db.sig" is not readable: No such file or directory
debug: sig path /var/lib/pacman/sync/mate.db.sig could not be opened
debug: missing optional signature
debug: adding new server URL to database 'mate': http://repo.mate-desktop.org/archlinux/i686
debug: config: finished parsing /etc/pacman.conf
:: Synchronizing package databases...
debug: url: http://mirror.de.leaseweb.net/archlinux/core/os/i686/core.db
debug: maxsize: 26214400
debug: using time condition: 1373003744
debug: opened tempfile for download: /var/lib/pacman/sync/core.db.part (wb)
debug: curl returned error 0 from transfer
debug: response code: 304
debug: file met time condition
core is up to date
debug: url: http://mirror.de.leaseweb.net/archlinux/extra/os/i686/extra.db
debug: maxsize: 26214400
debug: using time condition: 1373184867
debug: opened tempfile for download: /var/lib/pacman/sync/extra.db.part (wb)
debug: curl returned error 0 from transfer
debug: response code: 304
debug: file met time condition
extra is up to date
debug: url: http://mirror.de.leaseweb.net/archlinux/community/os/i686/community.db
debug: maxsize: 26214400
debug: using time condition: 1373137005
debug: opened tempfile for download: /var/lib/pacman/sync/community.db.part (wb)
debug: curl returned error 0 from transfer
debug: response code: 304
debug: file met time condition
community is up to date
debug: url: http://repo.archlinux.fr/i686/archlinuxfr.db
debug: maxsize: 26214400
debug: using time condition: 1371220615
debug: opened tempfile for download: /var/lib/pacman/sync/archlinuxfr.db.part (wb)
debug: curl returned error 0 from transfer
debug: response code: 304
debug: file met time condition
archlinuxfr is up to date
debug: url: http://repo.mate-desktop.org/archlinux/i686/mate.db
debug: maxsize: 26214400
debug: using time condition: 1373109316
debug: opened tempfile for download: /var/lib/pacman/sync/mate.db.part (wb)
debug: curl returned error 0 from transfer
debug: response code: 304
debug: file met time condition
mate is up to date
:: Starting full system upgrade...
debug: checking for package upgrades
debug: loading package cache for repository 'local'
debug: added 950 packages to package cache for db 'local'
debug: searching for replacements for a52dec in core
debug: loading package cache for repository 'core'
debug: opening archive /var/lib/pacman/sync/core.db
debug: added 189 packages to package cache for db 'core'
debug: searching for replacements for a52dec in extra
debug: loading package cache for repository 'extra'
debug: opening archive /var/lib/pacman/sync/extra.db
debug: added 2818 packages to package cache for db 'extra'
debug: searching for replacements for aalib in core
debug: searching for replacements for aalib in extra
debug: searching for replacements for acl in core
debug: searching for replacements for acpi in core
debug: searching for replacements for acpi in extra
debug: searching for replacements for acpi in community
debug: loading package cache for repository 'community'
debug: opening archive /var/lib/pacman/sync/community.db
debug: added 2927 packages to package cache for db 'community'
debug: searching for replacements for adwaita-x-dark-and-light-theme in core
debug: searching for replacements for adwaita-x-dark-and-light-theme in extra
debug: searching for replacements for adwaita-x-dark-and-light-theme in community
debug: searching for replacements for adwaita-x-dark-and-light-theme in archlinuxfr
debug: loading package cache for repository 'archlinuxfr'
debug: opening archive /var/lib/pacman/sync/archlinuxfr.db
debug: added 37 packages to package cache for db 'archlinuxfr'
debug: searching for replacements for adwaita-x-dark-and-light-theme in mate
debug: loading package cache for repository 'mate'
debug: opening archive /var/lib/pacman/sync/mate.db
error: segmentation fault
Please submit a full bug report with --debug if appropriate.
Notiece now it opens a ".part" file for temp downloading
Here it is my merged pacman.conf (just in case):
#
# /etc/pacman.conf
#
# See the pacman.conf(5) manpage for option and repository directives
#
# GENERAL OPTIONS
#
[options]
# The following paths are commented out with their default values listed.
# If you wish to use different paths, uncomment and update the paths.
#RootDir = /
#DBPath = /var/lib/pacman/
#CacheDir = /var/cache/pacman/pkg/
#LogFile = /var/log/pacman.log
#GPGDir = /etc/pacman.d/gnupg/
HoldPkg = pacman glibc
# If upgrades are available for these packages they will be asked for first
#SyncFirst = pacman linux-headers
#XferCommand = /usr/bin/curl -C - -f %u > %o
#XferCommand = /usr/bin/wget --passive-ftp -c -O %o %u
#CleanMethod = KeepInstalled
Architecture = auto
# Pacman won't upgrade packages listed in IgnorePkg and members of IgnoreGroup
IgnorePkg = foo2zjs, foomatic-db-foo2zjs
#IgnoreGroup =
#NoUpgrade =
#NoExtract =
# Misc options
#UseSyslog
#UseDelta
#TotalDownload
CheckSpace
#VerbosePkgLists
# By default, pacman accepts packages signed by keys that its local keyring
# trusts (see pacman-key and its man page), as well as unsigned packages.
SigLevel = Required DatabaseOptional
LocalFileSigLevel = Optional
#RemoteFileSigLevel = Required
# NOTE: You must run `pacman-key --init` before first using pacman; the local
# keyring can then be populated with the keys of all official Arch Linux
# packagers with `pacman-key --populate archlinux`.
#
# REPOSITORIES
# - can be defined here or included from another file
# - pacman will search repositories in the order defined here
# - local/custom mirrors can be added here or in separate files
# - repositories listed first will take precedence when packages
# have identical names, regardless of version number
# - URLs will have $repo replaced by the name of the current repo
# - URLs will have $arch replaced by the name of the architecture
#
# Repository entries are of the format:
# [repo-name]
# Server = ServerName
# Include = IncludePath
#
# The header [repo-name] is crucial - it must be present and
# uncommented to enable the repo.
#
# The testing repositories are disabled by default. To enable, uncomment the
# repo name header and Include lines. You can add preferred servers immediately
# after the header, and they will be used before the default mirrors.
#[testing]
#Include = /etc/pacman.d/mirrorlist
[core]
Include = /etc/pacman.d/mirrorlist
[extra]
Include = /etc/pacman.d/mirrorlist
#[community-testing]
#Include = /etc/pacman.d/mirrorlist
[community]
Include = /etc/pacman.d/mirrorlist
# An example of a custom package repository. See the pacman manpage for
# tips on creating your own repositories.
#[custom]
#SigLevel = Optional TrustAll
#Server = file:///home/custompkgs
[archlinuxfr]
Server = http://repo.archlinux.fr/$arch
[mate]
Server = http://repo.mate-desktop.org/archlinux/$arch
#[unity]
#Server = http://unity.xe-xe.org/$arch
#[unity-extra]
#Server = http://unity.xe-xe.org/extra/$arch
#[dieghen89]
#Server = http://dl.dropbox.com/u/794061/arch/
Please post the mate.db file somewhere. I suspect this is what the problem is.
I tried to open it with "SQLite Manager" but seems isn't a SQLite DB.
Here is the link:
https://dl.dropboxusercontent.com/u/695 … ch/mate.db
Offline
I finally figured out how to register in the arch forums, however i have to say that this problem, i mean the segmentation fault message when trying to install some packages, is something new for me but, and i think as well that the MATE repository is causing the problem. I commented out the lines related to the mate repository in my pacman.conf file and executed the following commands as root (new installation on VBox so i don't really care):
pacman -Syyu && pacman -S reflector xorg-server xorg-apps
I need to point out that when i tried to install those three packages, with the MATE repository lines uncommented i get the segmentation fault error but now pacman Works as expected, anyone knows how is this posible?
Sorry for the bad English
Offline
You are right! I just commented the MATE repository and it works fine!
How you and falconindy suspected about mate.db?
Should we alert MATE guys? And should I mark this topic as "solved"?
Thank you very much.
Offline
no big deal, it was a lucky strike but i'm glad it worked for you too
Offline
As you can see, the last line of the debug output before the segmentation fault says: "debug: opening archive /var/lib/pacman/sync/mate.db" so it's probable that something is wrong with the mate database and with the mate server, from here the database is downloaded.
How can we update the mate desktop from now on? Is there any other repository for mate?
Offline
That make sense! These 2 empty lines between the opening and the error made me confused.
You can try to update using aur, but you would have to compile a git version of everything. I prefer to wait. Plus MATE don't get update daily, so...
With yaourt the command is:
yaourt -Syu --devel --aur
Offline
The mate DB was clearly massaged by hand:
$ bsdtar tf mate.db
libmatekbd-1.6.1-1/
libmatekbd-1.6.1-1/depends
libmatekbd-1.6.1-1/desc
libmatekbd-1.6.1-1-i686.pkg.tar.xz
...
The package itself should not be part of the database, and repo-add would never do such a thing...
On the other hand, the code that handles DB reading should merely cough on the invalid entry and move on, not segfault. The problem appears to be that the final entry appears in the root of the archive, and not in any subdirectory. The filename alpm expects to find is therefore NULL, and explodes on a strcmp call.
Last edited by falconindy (2013-07-07 23:54:10)
Offline
Nice one falconindy. I just noticed that this has already lead to a patch on [pacman-dev]... by you. Double nice one!
Offline
sry for that 32bit repo had corrupted mate.db
should be fixed now
also mate.db wasnt massaged by hand.
it was done via repo-add
Last edited by xpander (2013-07-08 16:39:40)
Linux Gaming Videos:http://www.youtube.com/user/Xpander666
Offline
Ok, thank you all. Now is solved!
Offline
sry for that 32bit repo had corrupted mate.db
should be fixed nowalso mate.db wasnt massaged by hand.
it was done via repo-add
Would love to know how you managed to add a package tarball to the repo using repo-add ... Can you reproduce this and provide a test case?
Last edited by falconindy (2013-07-08 19:16:10)
Offline
There are some mistakes yet. I guess it will get solved soon, won't it?
error: libmatekbd: missing required signature
:: File /var/cache/pacman/pkg/libmatekbd-1.6.1-1-i686.pkg.tar.xz is corrupted (invalid or corrupted package (PGP signature)).
Do you want to delete it? [Y/n]
error: mate-icon-theme: missing required signature
:: File /var/cache/pacman/pkg/mate-icon-theme-1.6.1-1-any.pkg.tar.xz is corrupted (invalid or corrupted package (PGP signature)).
Do you want to delete it? [Y/n]
error: mate-themes: missing required signature
:: File /var/cache/pacman/pkg/mate-themes-1.6.1-1-i686.pkg.tar.xz is corrupted (invalid or corrupted package (PGP signature)).
Do you want to delete it? [Y/n]
error: failed to commit transaction (invalid or corrupted package)
Errors occurred, no packages were upgraded.
Offline
There are some mistakes yet. I guess it will get solved soon, won't it?
error: libmatekbd: missing required signature :: File /var/cache/pacman/pkg/libmatekbd-1.6.1-1-i686.pkg.tar.xz is corrupted (invalid or corrupted package (PGP signature)). Do you want to delete it? [Y/n] error: mate-icon-theme: missing required signature :: File /var/cache/pacman/pkg/mate-icon-theme-1.6.1-1-any.pkg.tar.xz is corrupted (invalid or corrupted package (PGP signature)). Do you want to delete it? [Y/n] error: mate-themes: missing required signature :: File /var/cache/pacman/pkg/mate-themes-1.6.1-1-i686.pkg.tar.xz is corrupted (invalid or corrupted package (PGP signature)). Do you want to delete it? [Y/n] error: failed to commit transaction (invalid or corrupted package) Errors occurred, no packages were upgraded.
you are missing SigLevel = Optional TrustAll from your pacman.conf?
http://wiki.mate-desktop.org/archlinux_custom_repo
@falconindy
im just running script:
repo-add /home/xpander/Desktop/1.6/i686/mate.db.tar.gz /home/xpander/Desktop/1.6/i686/*.pkg.tar.xz
those are the folders where my packages will be after making them.
anyway. the problem with it mate.db was that i had libmatekbd-1.6.1-1 package, but somehow the package got deleted from the ftp i use for syncing with repo.mate-desktop.org
and i think that caused the trouble. allthough it shouldnt still segfault then
Linux Gaming Videos:http://www.youtube.com/user/Xpander666
Offline
@falconindy
im just running script:
repo-add /home/xpander/Desktop/1.6/i686/mate.db.tar.gz /home/xpander/Desktop/1.6/i686/*.pkg.tar.xz
Running that command does not add the actual packages to the DB, let alone to the root of the DB.
those are the folders where my packages will be after making them.
anyway. the problem with it mate.db was that i had libmatekbd-1.6.1-1 package, but somehow the package got deleted from the ftp i use for syncing with repo.mate-desktop.org
and i think that caused the trouble. allthough it shouldnt still segfault then
I already stated that it was your DB file which was wrong. Perhaps the fact that it was "deleted" from your FTP and somehow appeared in the DB file are related...
Nevermind, I'm just going to write this off as repo administrator error...
Offline