You are not logged in.

#1 2012-02-27 01:26:20

jmak
Member
Registered: 2008-12-21
Posts: 453

Fresh Install: database file for "extra" does not exist

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

#2 2012-02-27 01:34:48

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Re: Fresh Install: database file for "extra" does not exist

Do you have a working network connection?
Please post the output of 'pacman -Syu --debug'.

Offline

#3 2012-02-27 02:11:13

jmak
Member
Registered: 2008-12-21
Posts: 453

Re: Fresh Install: database file for "extra" does not exist

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

#4 2012-02-27 02:17:28

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Re: Fresh Install: database file for "extra" does not exist

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

#5 2012-02-27 03:02:18

jmak
Member
Registered: 2008-12-21
Posts: 453

Re: Fresh Install: database file for "extra" does not exist

karol wrote:

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

#6 2012-02-27 03:04:34

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Re: Fresh Install: database file for "extra" does not exist

Sorry, my mistake, you should use

pacman -Syu --debug 2> pac.log

the missing '2' was the culprit.

Offline

#7 2012-02-27 03:21:45

jmak
Member
Registered: 2008-12-21
Posts: 453

Re: Fresh Install: database file for "extra" does not exist

karol wrote:

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

#8 2012-02-27 03:34:18

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Re: Fresh Install: database file for "extra" does not exist

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

#9 2012-02-27 03:59:58

jmak
Member
Registered: 2008-12-21
Posts: 453

Re: Fresh Install: database file for "extra" does not exist

karol wrote:

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

#10 2012-03-07 06:04:05

dfxdeimos
Member
Registered: 2012-03-07
Posts: 2

Re: Fresh Install: database file for "extra" does not exist

karol wrote:

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

#11 2012-10-23 02:30:20

ArchBackOfNotreDame
Member
From: Indiana, United States
Registered: 2012-10-21
Posts: 4

Re: Fresh Install: database file for "extra" does not exist

I had this same issue. Running the debug karol suggested fixed my errors. I am finally able to install my bootloader. Thanks karol.

Offline

#12 2012-11-23 20:46:13

kennymingt
Member
Registered: 2012-11-23
Posts: 1

Re: Fresh Install: database file for "extra" does not exist

I had the same problem, this worked for me.

sudo pacman -Syy
sudo pacman -Syu

Offline

Board footer

Powered by FluxBB