You are not logged in.
Hi,
The first stage of the installation went without a glitch, then I rebooted and did a "pacman -Syu" when I get:
database file for "extra" does not exist
database file for "community" does not exist
error segmentation fault
I cannot proceed with the installation.
Any idea?
Thanks,
jmak
Offline
Do you have a working network connection?
Please post the output of 'pacman -Syu --debug'.
Offline
Thanks karol,
A bit embarassing, but I'm not sure how to save the debug output into a file to be able to post it. I got long output.
Last edited by jmak (2012-02-27 02:13:19)
Offline
First off, try running 'pacman -Syy' https://bbs.archlinux.org/viewtopic.php?id=134999
If it doesn't work, post your pacman.conf and
pacman -Syu --debug > pac.log
using an app from https://wiki.archlinux.org/index.php/Pastebin_Clients (if you can install it).
Offline
First off, try running 'pacman -Syy' https://bbs.archlinux.org/viewtopic.php?id=134999
If it doesn't work, post your pacman.conf and
pacman -Syu --debug > pac.log
using an app from https://wiki.archlinux.org/index.php/Pastebin_Clients (if you can install it).
I've tried the "pacman -Syy" but didn't work.
I don't know what's wrong but the debug output is not saved in the output file. Only one line saved.
Offline
Sorry, my mistake, you should use
pacman -Syu --debug 2> pac.log
the missing '2' was the culprit.
Offline
Sorry, my mistake, you should use
pacman -Syu --debug 2> pac.log
the missing '2' was the culprit.
Here goes the output.
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: SyncFirst: pacman
debug: config: arch: x86_64
debug: config: SigLevel: Never
debug: config: finish section 'options'
debug: config: new section 'core'
debug: config file /etc/pacman.conf, line 81: 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 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 'extra'
debug: config: new section 'community'
debug: config file /etc/pacman.conf, line 93: 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 file /etc/pacman.conf, line 104: 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: 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 81: 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: adding new server URL to database 'core': ftp://mirror.csclub.uwaterloo.ca/archlinux/core/os/x86_64
debug: config: new section 'extra'
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 'extra'
debug: registering sync database 'extra'
debug: database path for tree extra set to /var/lib/pacman/sync/extra.db
warning: database file for 'extra' does not exist
debug: adding new server URL to database 'extra': ftp://mirror.csclub.uwaterloo.ca/archlinux/extra/os/x86_64
debug: config: new section 'community'
debug: config file /etc/pacman.conf, line 93: 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 file /etc/pacman.conf, line 104: 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
warning: database file for 'community' does not exist
debug: adding new server URL to database 'community': ftp://mirror.csclub.uwaterloo.ca/archlinux/community/os/x86_64
debug: adding new server URL to database 'community': ftp://mirror.csclub.uwaterloo.ca/archlinux/community/os/x86_64
debug: config: finished parsing /etc/pacman.conf
debug: url: ftp://mirror.csclub.uwaterloo.ca/archlinux/core/os/x86_64/core.db
debug: maxsize: 26214400
debug: using time condition: 1330085456
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.
Offline
I don't know what happened, but you can
- pick another mirror
- try using an http mirror, not an ftp one (pick http mirror from the mirrorlist).
Alternatively you can manually download the databases
wget ftp://mirror.csclub.uwaterloo.ca/archlinux/community/os/x86_64/community.db
wget ftp://mirror.csclub.uwaterloo.ca/archlinux/extra/os/x86_64/extra.db
move them to /var/lib/pacman/sync/ and run 'pacman -Syu' again.
Edit: If you find any *.part files in /var/lib/pacman/sync/ e.g. /var/lib/pacman/sync/core.db.part - remove them.
Last edited by karol (2012-02-27 03:36:06)
Offline
I don't know what happened, but you can
- pick another mirror
- try using an http mirror, not an ftp one (pick http mirror from the mirrorlist).Alternatively you can manually download the databases
wget ftp://mirror.csclub.uwaterloo.ca/archlinux/community/os/x86_64/community.db wget ftp://mirror.csclub.uwaterloo.ca/archlinux/extra/os/x86_64/extra.db
move them to /var/lib/pacman/sync/ and run 'pacman -Syu' again.
Edit: If you find any *.part files in /var/lib/pacman/sync/ e.g. /var/lib/pacman/sync/core.db.part - remove them.
Thanks,
I've tried everything concivable -- changing mirros, reving the part files, changing http from ftp but nothing worked. Tomorrow, I try to reinstall the system to see what happens.
Offline
Alternatively you can manually download the databases
wget ftp://mirror.csclub.uwaterloo.ca/archlinux/community/os/x86_64/community.db wget ftp://mirror.csclub.uwaterloo.ca/archlinux/extra/os/x86_64/extra.db
move them to /var/lib/pacman/sync/ and run 'pacman -Syu' again.
I just wanted to say thank you for this information. I had the same issue with my installation (could find the extra or community dbs) and this solution worked perfectly.
Offline
I had this same issue. Running the debug karol suggested fixed my errors. I am finally able to install my bootloader. Thanks karol.
Offline
I had the same problem, this worked for me.
sudo pacman -Syy
sudo pacman -Syu
Offline