You are not logged in.
#
# /etc/pacman.conf
#
# See the pacman manpage for option directives
#
# GENERAL OPTIONS
#
[options]
LogFile = /var/log/pacman.log
HoldPkg = pacman glibc
#XferCommand = /usr/bin/wget --passive-ftp -c -O %o %u
#
# 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
#
[testing]
Include = /etc/pacman.d/testing
[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
[community]
# Add your preferred servers here, they will be used first
Include = /etc/pacman.d/community
#[unstable]
# Add your preferred servers here, they will be used first
#Include = /etc/pacman.d/unstable
# An example of a custom package repository. See the pacman manpage for
# tips on creating your own repositories.
#[custom]
#Server = file:///home/custompkgs
This is my pacman.conf file.. And this is what I got when I type pacman -Ss firefox:
[23:34] (tunix@penguix ~)$ pacman -Ss firefox --debug
debug: config: new section 'options'
debug: returning error 54 from alpm_parse_config : syntax error in config file
error: failed to parse config (syntax error in config file)
If it helps, this is my rc.conf. I set en_US.UTF-8 for the locale, since I got more problems with the locale tr_TR.UTF-8 (CUPS).. I use tr_TR.UTF-8 in my local.. (.bashrc)
#
# /etc/rc.conf - Main Configuration for Arch Linux
#
#
# -----------------------------------------------------------------------
# LOCALIZATION
# -----------------------------------------------------------------------
#
# LOCALE: available languages can be listed with the 'locale -a' command
# HARDWARECLOCK: set to "UTC" or "localtime"
# TIMEZONE: timezones are found in /usr/share/zoneinfo
# KEYMAP: keymaps are found in /usr/share/kbd/keymaps
# CONSOLEFONT: found in /usr/share/kbd/consolefonts (only needed for non-US)
# CONSOLEMAP: found in /usr/share/kbd/unimaps
# USECOLOR: use ANSI color sequences in startup messages
#
LOCALE="en_US.UTF-8"
HARDWARECLOCK="localtime"
TIMEZONE="Europe/Istanbul"
KEYMAP="trq"
CONSOLEFONT="lat5-16"
CONSOLEMAP=
USECOLOR="yes"
#
# -----------------------------------------------------------------------
# HARDWARE
# -----------------------------------------------------------------------
#
# Scan hardware and load required modules at bootup
MOD_AUTOLOAD="yes"
# Module Blacklist - modules in this list will never be loaded by hwdetect
MOD_BLACKLIST=(bcm43xx)
#
# Modules to load at boot-up (in this order)
# - prefix a module with a ! to disable it
#
MODULES=(powernow-k8 cpufreq_powersave cpufreq_userspace freq_table ndiswrapper snd-pcm-oss snd-intel8x0 capability fuse ac battery button dock fan i2c_ec sbs video)
# Scan for LVM volume groups at startup, required if you use LVM
USELVM="no"
#
# -----------------------------------------------------------------------
# NETWORKING
# -----------------------------------------------------------------------
#
HOSTNAME="penguix"
#
# Interfaces to start at boot-up (in this order)
# Declare each interface then list in INTERFACES
# - prefix an entry in INTERFACES with a ! to disable it
#
# Note: to use DHCP, set your interface to be "dhcp" (eth0="dhcp")
#
lo="lo 127.0.0.1"
#eth0="dhcp"
INTERFACES=(lo)
#
# Routes to start at boot-up (in this order)
# Declare each route then list in ROUTES
# - prefix an entry in ROUTES with a ! to disable it
#
#gateway="default gw 10.0.0.2"
#ROUTES=(gateway)
#
# Enable these network profiles at boot-up. These are only useful
# if you happen to need multiple network configurations (ie, laptop users)
# - set to 'menu' to present a menu during boot-up
# - prefix an entry with a ! to disable it
#
# Network profiles are found in /etc/network-profiles
#
NET_PROFILES=(kablo !ev !arzu !okul)
#
# -----------------------------------------------------------------------
# DAEMONS
# -----------------------------------------------------------------------
#
# Daemons to start at boot-up (in this order)
# - prefix a daemon with a ! to disable it
# - prefix a daemon with a @ to start it up in the background
#
DAEMONS=(syslog-ng cpufreqd acpid @network @adsl @crond !gpm sshd @ntpdate @samba @hplip @cups @alsa fam hal @avahi-daemon !@bluetooth gdm)
# End of file
Last, this is my .bashrc:
if [[ $- != *i* ]]; then
# Shell is non-interactive. Be done now
return
fi
export PS1='\[\033[01;33m\][`date +'%H:%M'`] \[\033[01;31m\](\[\033[00;37m\]\u@\h \W\[\033[01;31m\])\[\033[00m\]\$ '
# Locale Settings
export LANG=tr_TR.UTF-8
export LC_ALL=tr_TR.UTF-8
alias ls='ls --color=auto'
test -n "$DISPLAY" && export TERM=xterm-color
export PATH=/bin:/usr/bin:/sbin:/usr/sbin:/usr/X11R6/bin:/opt/bin:/opt/gnome/bin:/opt/mozilla/bin:/opt/java/bin:/opt/java/jre/bin:/opt/xfce4/bin:/opt/kde/bin/
. /etc/bash_completion
alias firefox="aoss firefox"
if [ "$PS1" ]; then
/usr/bin/fortune
echo
fi
export EDITOR=joe
export VISUAL=joe
# Open Office..
export OOO_FORCE_DESKTOP=gnome
# Set Locale to C
alias l2c="export LANG=C; export LC_ALL=C"
I use l2c everytime before I use pacman just because of this problem..
Quis custodiet ipsos custodiet?
Offline
pacman roulette : pacman -S $(pacman -Slq | LANG=C sort -R | head -n $((RANDOM % 10)))
Offline