You are not logged in.

#1 2007-03-30 01:39:18

T-u-N-i-X
Member
From: İstanbul
Registered: 2006-03-14
Posts: 435
Website

error: failed to parse config (syntax error in config file)

Hi There,

I just installed pacman-3.0 and when I try pacman -Syu, i got this error:

error: failed to parse config (syntax error in config file)

Here is my pacman.conf file:

----------------------------------------------------------------------------------------------

[04:37] (tunix@penguix ~)$ cat /etc/pacman.conf
#
# GENERAL OPTIONS
#
[options]
LogFile = /var/log/pacman.log
NoUpgrade   = etc/passwd etc/group etc/shadow etc/sudoers
NoUpgrade   = etc/fstab etc/raidtab etc/ld.so.conf
NoUpgrade   = etc/rc.conf etc/rc.local
NoUpgrade   = etc/modprobe.conf etc/modules.conf
NoUpgrade   = etc/lilo.conf boot/grub/menu.lst
HoldPkg     = pacman glibc
IgnorePkg   = kernel26beyond
#XferCommand = /usr/bin/wget --passive-ftp -c -O %o %u

[testing]
Server = ftp://kulupler/testing/os/i686

[current]
# Add your preferred servers here, they will be used first
Include = /etc/pacman.d/current

[extra]
# Add your preferred servers here, they will be used first
Include = /etc/pacman.d/extra

#[unstable]
# Add your preferred servers here, they will be used first
#Include = /etc/pacman.d/unstable

[community]
# Add your preferred servers here, they will be used first
Include = /etc/pacman.d/community

# An example of a custom package repository.  See the pacman manpage for
# tips on creating your own repositories.
#[custom]
#Server = file:///home/custompkgs

[danimoth]
Server = http://jjdanimoth.altervista.org/arch/i686

----------------------------------------------------------------------------------------------

I found out that commenting out LogFile line, solves the problem and pacman works after commenting out that line.. But it's weird because I talked to people who has that option in their pacman.conf..

Any thoughts on this ?


Quis custodiet ipsos custodiet?

Offline

#2 2007-03-30 01:44:40

T-u-N-i-X
Member
From: İstanbul
Registered: 2006-03-14
Posts: 435
Website

Re: error: failed to parse config (syntax error in config file)

Just found out that this a bug because of the Turkish locale... I'm now going to file this as a bug report.. Thanks to the people in #archlinux in irc.freenode.net !!


Quis custodiet ipsos custodiet?

Offline

#3 2007-06-25 08:18:06

xfce4
Member
Registered: 2007-06-24
Posts: 13

Re: error: failed to parse config (syntax error in config file)

Now i've upgraded the system and i've set Turkish local too..
System is up-to-date, i can "pacman -Syu" but i can't "pacman -S vlc".. How can i fix this bug?

Edit: now i've tried the logfile method.. smile

ignored the logfile line and fixed.. weird bug.. hmm

Last edited by xfce4 (2007-06-25 08:28:45)

Offline

#4 2007-06-25 09:55:41

shining
Pacman Developer
Registered: 2006-05-10
Posts: 2,043

Re: error: failed to parse config (syntax error in config file)

here is a more recent thread about it :
http://bbs.archlinux.org/viewtopic.php?id=34301

see the bug report.


pacman roulette : pacman -S $(pacman -Slq | LANG=C sort -R | head -n $((RANDOM % 10)))

Offline

Board footer

Powered by FluxBB