Cannot enable wget in pacman.conf(solved)
Pacman does not recognize wget in /etc/pacman.conf....
[root@n6re ~]# pacman -Scc
error: config file /etc/pacman.conf, line 19: directive 'xferCommand' noted.
[root@n6re ~]#
Attempting to eliminate pacman's filling of my /root partition during full system download I attempted to use wget to aid in downloading. The result is noted above.
My root partition is filled...used
pacman -Scc
once but the problem repeated. Some users use wget to solve the problem so I tried that .
Attempted to use:
pacman -Q |less
The same error concerning wget occured again and no display of installed packages ensued.
So for the present cannot state which pacman version I have installed.
Will restore /etc/pacman.conf to original condition and report further on this problem.
Last edited by lilsirecho (2009-10-10 06:19:32)
Thanks for the sharp eye.
Reset my modem, re-installed pacman and corrected the pacman.conf entry for wget.
All is well again....
Similar Messages
-
Using kdemod4.3(32bit). I re-installed kernel26-2.6.30.5-1-i686(earliest in pacman pkg cache) and added kernel26 and kernel-headers to /etc/pacman.conf IgnorePkg but # "pacman -Syu" still asks to upgrade kernel to 2.30.6-1-i686. What do I add to that IgnorePkg to avoid kernel upgrade? Tried kernel, kernel26 and kernel26*. Adding nvidia,nvidia-utils and xorg-server to Ignorepkg give me that thee aren't upgraded(desirred result). Thanx.
Last edited by lestoil (2009-10-08 18:08:14)# /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
HoldPkg = pacman glibc
# If upgrades are available for these packages they will be asked for first
SyncFirst = pacman
#XferCommand = /usr/bin/wget --passive-ftp -c -O %o %u
#XferCommand = /usr/bin/curl %u > %o
#CleanMethod = KeepInstalled
# Pacman won't upgrade packages listed in IgnorePkg and members of IgnoreGroup
IgnorePkg = nvidia nvidia-utils xorg-server
#IgnoreGroup =
#NoUpgrade =
#NoExtract =
# Misc options (all disabled by default)
#UseSyslog
#ShowSize
#UseDelta
#TotalDownload
# 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
# 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.
# Testing is disabled by default. To enable, uncomment the following
# two 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
#KDEmod4
[kdemod-core]
Server = http://mirror.rit.edu/kdemod/core/i686
#KDEmod4
[kdemod-extragear]
Server = http://mirror.rit.edu/kdemod/extragear/i686
[core]
# Add your preferred servers here, they will be used first
Include = /etc/pacman.d/mirrorlist
[extra]
# Add your preferred servers here, they will be used first
Include = /etc/pacman.d/mirrorlist
[community]
# Add your preferred servers here, they will be used first
Include = /etc/pacman.d/mirrorlist
#Yaourt
[archlinuxfr]
Server = http://repo.archlinux.fr/i686
# An example of a custom package repository. See the pacman manpage for
# tips on creating your own repositories.
#[custom]
#Server = file:///home/custompkgs
Here is complete /etc/pacman.conf. file without the "kernel" or "kernel26" entry which doesn't work. -
Pacman.conf problem [solved]
Hi im having a problem with yaourt, and packer and i cant also install any package form Aur for example:
packer -S opencascade
grep: /etc/pacman.conf: Permission denied
error: config file /etc/pacman.conf could not be read: Permission denied
error: config file /etc/pacman.conf could not be read: Permission denied
Aur Targets (1): opencascade
Proceed with installation? [Y/n] y
Dependencies for `opencascade' are not met, not building..
i have the same problem with yaourt
if i try to install from a tarball for example i get this
makepkg -s
==> Making package: plank-bzr 820-1 (Fri Jun 7 13:06:26 ART 2013)
==> Checking runtime dependencies...
error: config file /etc/pacman.conf could not be read: Permission denied
==> ERROR: 'pacman' returned a fatal error (1):
[dam2@dam1d plank-bzr]$
i installed arch linux again yesterday and i copy the pacman.conf file that i have in my older arch linux to my new one
# /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
#XferCommand = /usr/bin/curl -C - -f %u > %o
#XferCommand = /usr/bin/wget --passive-ftp -c -O %o %u
#CleanMethod = KeepInstalled
#UseDelta = 0.7
Architecture = auto
# Pacman won't upgrade packages listed in IgnorePkg and members of IgnoreGroup
#IgnorePkg =
#IgnoreGroup =
#NoUpgrade =
#NoExtract =
# Misc options
#UseSyslog
#Color
#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
# If you want to run 32 bit applications on your x86_64 system,
# enable the multilib repositories as required here.
#[multilib-testing]
#Include = /etc/pacman.d/mirrorlist
[multilib]
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
# /etc/pacman.conf
# See the pacman.conf(5) manpage for option and repository directives
# GENERAL OPTIONS
modedit: added code tags /Xyne
Last edited by adcdam (2013-06-07 19:28:32)grep: /etc/pacman.conf: Permission denied
error: config file /etc/pacman.conf could not be read: Permission denied
error: config file /etc/pacman.conf could not be read: Permission denied
This tells you that you have incorrectly configured permissions when you copied the file. Fix that with
chmod 644 /etc/pacman.conf
Also note that I have added code tags ([code]) to your post. Please use them in the future when you post command output or file contents. -
[SOLVED] pacman.conf simple line error or... ?
So here's what happened:
I was trying to enable the [multilib] repository. (As according to https://wiki.archlinux.org/index.php/Multilib).
Thus, I went ahead and uncommented the following from /etc/pacman.conf:
[multilib]
SigLevel = PackageRequired
Include = /etc/pacman.d/mirrorlist
To edit /etc/pacman.conf, I used LibreOffice Writer. I saved the file as a .txt document and made sure that it is properly renamed as pacman.conf.
Next, I went to update pacman's package list by running pacman with the -Sy switch.
And then, voila:
# pacman -Sy
error: config file /etc/pacman.conf, line 1: All directives must belong to a section.
However, when looking at pacman.conf I don't see any errors in line 1. Nor do I see any problems with directives.
Here are the contents of pacman.conf:
http://pastebin.com/raw.php?i=XWh9eagr
Is there a simple problem with a line in pacman.conf --- or is it because I used LibreOffice Writer instead of Vi? Or?
Is the answer to this right in front of my nose?
Thank ya'll..
Last edited by adamstjohn (2012-12-08 00:31:28)adamstjohn wrote:or is it because I used LibreOffice Writer instead of Vi?.
LibreOffice Writer is a word processor - it will do odd things to your .conf files. Use a text editor. If you don't want to use vi, then use nano, or gedit or anything other than a word processor.
Moving to NC: not at all related to pacman... -
[solved] when to update pacman.conf
I apologise in advance. I'm worried that I've either read the answer to this or asked the question before but, if so, I cannot for the life of me find it.
What is the best way to check the progress on package signing? and, even, database signing? (I assume the latter is not yet implemented.)
Currently, I'm using PackageRequired for multilib and core but not community or extra (and not for AUR).
Is there a sticky, blog or wiki page I can monitor so that I know when to require signing for the remaining packages? And when signatures for the databases themselves are implemented?
Or will this be announced via a pacman -Syu announcement?
Last edited by cfr (2012-03-18 03:17:22)Thanks. I didn't know about expac... expac + grep "(null)" also works nicely though I admit awk is neater. (I just always find awk kind of alien and have never really got to grips with it.)
I've updated pacman.conf to "PackageRequired" for extra. Just a few things in Community to go, I guess. I didn't realise the signing was this far along! -
Pacman.conf - No Repositories listed [SOLVED]
My pacman.conf is showing no respositories.
http://gmjones.org/tv/pacman.conf
Where can I go to get a current list to insert into this file?
Thanks.
Last edited by chome4 (2012-01-16 15:10:09)[core]
Include = /etc/pacman.d/mirrorlist
Should be rather self explaining, it grabs the mirrors from /etc/pacman.d/mirrorlist.
And for updating that list, there are two tools linked to on archlinux.org mainpage:
http://www.archlinux.org/mirrors/status/
http://www.archlinux.org/mirrorlist/ -
[Solved](Offline) install of packages, pacman.conf?
Good morning (or what ever time of the day it is for you now )!
I tried offline installation as this guide http://wiki.archlinux.org/index.php/Off … f_packages instructed plus configured pacman.conf to have Server = file:///var/lib/pacman/sync/approriate_dir lines. When trying pacman -Sp --noconfirm any_package I get ERROR: not found in sync db. Is there something I should know? Is my pacman.conf file made by an ass ?
Last edited by aCyd (2008-03-24 11:53:22)I fixed it. This is how (maybe someone finds this useful):
the pacman that came with the installation cd was apparently different version than the one used when writing the wiki. It wouldn't look for the core.db.tar.gz and the other files from the /var/lib/pacman/sync/core etc folders (perhaps it would have found them from the /var/lib/pacman/core etc folders there were already, who knows didn't try).
I made a folder called /mnt/usb
mkdir /mnt/usb
mounted the usb stick (it showd as sdb1 for me)
mount /dev/sdx /mnt/usb
and added
Server = file:///mnt/usb/Arch
to my pacman.conf under [core], [extra] and [community] so pacman found them from my usb stick along with packages. I also made sure that the 'Include /path/to/mirrorlist' was commented. No tar command was needed.
pacman -Sp --noconfim {package-name} > pkglist
didn't work for me. I just got the last error line without any package names. Instead I used grep
pacman -Syu --noconfirm | grep error > pkglist
and upgraded the whole system.
I modified the pkglist in emacs with replace-string to remove '' from disk : No such file or directory' after the package name and then again to replace 'error: failed retrieving file '' with the url of my selected mirror. (I know that could have been done more elegantly using sed or something or even a proper regexp in emacs if not with the command) After that I downloaded the packages as instructed, copied them to my usb and mounted it to my Arch system and ran again
pacman -Syu -
Pacman.conf kinda confused
Hello i am just trying out Arch Linux and just did a fresh install. And i trying to enable the repositories and i seem to keep running into an error
everytime i type pacman or anything related it get this error
error: config file /etc/pacman.conf, line 65: directive 'Add your preferred servers here, they will be used first' not recognized.
I know you have to add your own mirrors and such which i did, but still getting errors here is my etc/pacman.conf and /etc/pacman.d/mirrorlist
here is the 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
HoldPkg = pacman glibc
# If upgrades are available for these packages they will be asked for first
SyncFirst = pacman
#XferCommand = /usr/bin/wget --passive-ftp -c -O %o %u
#XferCommand = /usr/bin/curl %u > %o
#CleanMethod = KeepInstalled
# Pacman won't upgrade packages listed in IgnorePkg and members of IgnoreGroup
#IgnorePkg =
#IgnoreGroup =
#NoUpgrade =
#NoExtract =
# Misc options (all disabled by default)
#NoPassiveFtp
#UseSyslog
#ShowSize
#UseDelta
#TotalDownload
# 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
# 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.
# Testing is disabled by default. To enable, uncomment the following
# two 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
[localmirror]
Server = http://www.pollicina.org/arch/localmirror
core
Add your preferred servers here, they will be used first
Server = http://mirrors.easynews.com/linux/archl … po/os/i686
Include = /etc/pacman.d/core
extra
Add your preferred servers here, they will be used first
Server = http://mirror.pacific.net.au/linux/arch/extra/os/i686
Include = /etc/pacman.d/extra
community
Add your preferred servers here, they will be used first
Server = http://shlunix.org/archlinux/repo/os/i686
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
Here is the /etc/mirrorlist
# Arch Linux repository mirrorlist
# Generated on 2009-06-16
United States
Server = http://mirror.archlinux.com.ve/$repo/os/i686
Server = http://archlinux.unixheads.org/$repo/os/i686
Server = ftp://mirror.cs.vt.edu/pub/ArchLinux/$repo/os/i686
Server = http://mirror.cs.vt.edu/pub/ArchLinux/$repo/os/i686
Server = ftp://mirrors.easynews.com/linux/archli … po/os/i686
Server = http://mirrors.easynews.com/linux/archl … po/os/i686
Server = ftp://ftp.archlinux.org/$repo/os/i686
Server = http://mirrors.gigenet.com/archlinux/$repo/os/i686
Server = ftp://ftp.gtlib.gatech.edu/pub/linux/di … po/os/i686
Server = http://www.gtlib.gatech.edu/pub/linux/d … po/os/i686
Server = ftp://mirrors.hosef.org/archlinux/$repo/os/i686
Server = http://mirrors.hosef.org/archlinux/$repo/os/i686
Server = ftp://ibiblio.org/pub/linux/distributio … po/os/i686
Server = http://distro.ibiblio.org/pub/linux/dis … po/os/i686
Server = ftp://locke.suu.edu/linux/dist/archlinux/$repo/os/i686
Server = ftp://mirror.rit.edu/archlinux/$repo/os/i686
Server = http://mirror.rit.edu/archlinux/$repo/os/i686
Server = http://schlunix.org/archlinux/$repo/os/i686
Server = http://mirror.sourceshare.org/archlinux/$repo/os/i686
Server = http://archlinux.umflint.edu/$repo/os/i686
Server = http://mirror.umoss.org/archlinux/$repo/os/i686
# Venezuela
#Server = http://mirror2.archlinux.com.ve/$repo/os/i686
# Vietnam
#Server = ftp://202.78.230.5/archlinux/$repo/os/i686
#Server = ftp://ftp.indochinalinux.com/archlinux/$repo/os/i686
#Server = ftp://mirror-fpt-telecom.fpt.net/archli … po/os/i686
#Server = http://mirror-fpt-telecom.fpt.net/archl … po/os/i686
Any help is greatly appreciated.Thanks for the reply appreciate it.
And i think i understand it alittle bit better here is a link to my changed pacman.conf and mirrorlist
Im still receiving errors about the mirrors
pacman.conf link
http://pastebin.ca/1576914
mirrorlist
http://pastebin.ca/1576916 -
Pacman segfaults(Solved by re-install)
Performing ...pacman -Syy... syncs correctly and exits.
However, ...pacman -Syyu.... segfaults.
Performing pacman -S grub2-bios...segfaults.
Since the first instance above was correct, there seems to be a failed DNS problem when attempting anything else.
Latest kernel in place and trying to grub2-install to system.
Last edited by lilsirecho (2012-05-20 20:26:25)The following is the full picture:
sh-4.2# mdadm --assemble /dev/md0 /dev/sdb2 /dev/sdc2 /dev/sdd2 /dev/sde2
mdadm: /dev/md0 has been started with 4 drives.
sh-4.2# mount /dev/md0 /mnt/md
sh-4.2# cd /mnt/md
sh-4.2# mount -t proc proc proc/
sh-4.2# mount -t sysfs sys sys/
sh-4.2# mount -o bind /dev dev/
sh-4.2# mount /dev/sdd1 boot/
sh-4.2# chroot . /bin/bash
[root@n6re /]# pacman -Syy
:: Synchronizing package databases...
core 101.6 KiB 83.7K/s 00:01 [######################] 100%
extra 1394.3 KiB 138K/s 00:10 [######################] 100%
community 1691.9 KiB 137K/s 00:12 [######################] 100%
multilib 86.9 KiB 78.0K/s 00:01 [######################] 100%
[root@n6re /]# pacman -S grub2-bios
error: segmentation fault
Please submit a full bug report with --debug if appropriate.
[root@n6re /]# pacman --debug
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: finish section 'community'
debug: config: new section 'multilib'
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 'multilib'
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://locke.suu.edu/linux/dist/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
debug: adding new server URL to database 'extra': ftp://locke.suu.edu/linux/dist/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: finish section 'community'
debug: registering sync database 'community'
debug: database path for tree community set to /var/lib/pacman/sync/community.db
debug: adding new server URL to database 'community': ftp://locke.suu.edu/linux/dist/archlinux/community/os/x86_64
debug: config: new section 'multilib'
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 'multilib'
debug: registering sync database 'multilib'
debug: database path for tree multilib set to /var/lib/pacman/sync/multilib.db
debug: adding new server URL to database 'multilib': ftp://locke.suu.edu/linux/dist/archlinux/multilib/os/x86_64
debug: config: finished parsing /etc/pacman.conf
error: no operation specified (use -h for help)
debug: unregistering database 'local'
debug: unregistering database 'core'
debug: unregistering database 'extra'
debug: unregistering database 'community'
debug: unregistering database 'multilib'
[root@n6re /]#
Perhaps more info is needed?
EDIT:Pacman.confGENERAL 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
#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 =
#IgnoreGroup =
#NoUpgrade =
#NoExtract =
# Misc options
#UseSyslog
#UseDelta
#TotalDownload
CheckSpace
#VerbosePkgLists
# PGP signature checking
# NOTE: None of this will work without running `pacman-key --init` first.
# The compiled in default is equivalent to the following line. This requires
# you to locally sign and trust packager keys using `pacman-key` for them to be
# considered valid.
#SigLevel = Optional TrustedOnly
# If you wish to check signatures but avoid local sign and trust issues, use
# the following line. This will treat any key imported into pacman's keyring as
# trusted.
#SigLevel = Optional TrustAll
# For now, off by default unless you read the above.
SigLevel = Never
# 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 = PackageOptional
Include = /etc/pacman.d/mirrorlist
#[community-testing]
#SigLevel = PackageRequired
#Include = /etc/pacman.d/mirrorlist
[community]
#SigLevel = PackageOptional
Include = /etc/pacman.d/mirrorlist
# If you want to run 32 bit applications on your x86_64 system,
# enable the multilib repositories as required here.
#[multilib-testing]
#SigLevel = PackageRequired
#Include = /etc/pacman.d/mirrorlist
[multilib]
#SigLevel = Never
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
Hope this is readable...........
Last edited by lilsirecho (2012-05-20 16:29:05) -
Hi accidentally overwrote new pacman.conf with /etc/pacman.conf.pacnew
Hi
I accidentally overwrote etc/pacman.conf with the old /etc/pacman.conf.pacnew.
Pacman now appears to work but disregards the signing of packages.
Is there an copy of the pacman.conf from the upgrade around so I can merge
the two files. perhaps pacman.conf~, but no I think this is overwritten too.
Regardz
El ZorroHi Trilby,
it may be the mouldy oldy one as there is no reference to "SigLevel = Never" it does not seem to exist only "Architecture = auto"
Here is the current /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
HoldPkg = pacman glibc
# If upgrades are available for these packages they will be asked for first
SyncFirst = pacman
#XferCommand = /usr/bin/wget --passive-ftp -c -O %o %u
#XferCommand = /usr/bin/curl -C - -f %u > %o
#CleanMethod = KeepInstalled
Architecture = auto
# Pacman won't upgrade packages listed in IgnorePkg and members of IgnoreGroup
#IgnorePkg =
#IgnoreGroup =
#NoUpgrade =
#NoExtract =
# Misc options (all disabled by default)
#UseSyslog
#ShowSize
#UseDelta
#TotalDownload
#CheckSpace
# 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]
#Server = file:///home/custompkgs
Trilby wrote:
The pacnew version includes everything for package signing. All you will have lost is any personal changes you have made.
The package signing lines are, however, commented out except for the "SigLevel = Never" line. Just read the instructions within the comments and uncomment the appropriate SigLevel line (and comment the "Never" line).
Last edited by elzorro (2012-01-21 06:31:50) -
Feature request: extra Include directive in default pacman.conf
Since arch's move to systemd, cluster administration requires less and less use of sed. In particular, systemctl, timedatectl, /etc/sysctl.d, /etc/modules-load.d, /etc/hostname, /etc/vconsole.conf, etc. make scripting configuration changes both simpler more robust than the old approach of editing multi-purpose files such as /etc/rc.conf.
An exception to this trend is pacman.conf, which has non-trivial default contents that almost certainly needs to be customized (e.g., to enable multilib and local repositories). These changes would be much simpler if the default pacman.conf included a line such as:
Include = /etc/pacman.d/conf/*.conf
Currently my scripts use sed to insert this line at the end of the [options] section. (Unfortunately "Include = /etc/pacman.d/*.conf" doesn't work because there's sometimes a gpg.conf file in /etc/pacman.d, but maybe that could be fixed.)
I don't know if the forum is the right place for feature requests, but I wanted to get people's reactions. If people think it's a good idea I can add it as a feature request to the bug tracker.
There are several other pieces of low-hanging fruit where I'd like to see arch decrease the complexity scripting configuration (e.g., an unattended pacman-key --populate and easier customization of mkinitcpio.conf), but I figured I'd start with the simplest and gauge people's reactions.aweb wrote:I don't know if the forum is the right place for feature requests, but I wanted to get people's reactions. If people think it's a good idea I can add it as a feature request to the bug tracker.
It isn't... best to place the feedback in flyspray so it will be sure to get to the peeps that need to see it. Welcome to Arch. -
After updating to iOS7 on my iPhone 4 I cannot enable location services. How do I enable location services? I have tried turning off restrictions but that did not work.
I finally just resolved this after not being able to enable location services since upagrading to iOS 7. Posting the solution here 'cause I couldn't find it anywhere else.
I enabled Restrictions under Settings > General > Restrictions and created a passcode (I'm not sure if this was part of the solution, but it wasn't enabled for me by default.)
In Restrictions, under Privacy, Location Services was set to "Allow Changes" (This still didn't solve the issue of the greyed-out Location Services switch though - I still couldn't turn it on.)
Also in Restrictions, I also switched "Find My Friends" to "Allow Changes"
Once I did step 3, the switch under Settings > Privacy > Location Services was no longer greyed out and could be switched on.
Hope this helps! -
ORA-00385: cannot enable Very Large Memory with new buffer cache 11.2.0.2
[oracle@bnl11237dat01][DWH11]$ sqlplus / as sysdba
SQL*Plus: Release 11.2.0.2.0 Production on Mon Jun 20 09:19:49 2011
Copyright (c) 1982, 2010, Oracle. All rights reserved.
Connected to an idle instance.
SQL> startup mount pfile=/u01/app/oracle/product/11.2.0/dbhome_1/dbs//initDWH11.ora
ORA-00385: cannot enable Very Large Memory with new buffer cache parameters
DWH12.__large_pool_size=16777216
DWH11.__large_pool_size=16777216
DWH11.__oracle_base='/u01/app/oracle'#ORACLE_BASE set from environment
DWH12.__pga_aggregate_target=2902458368
DWH11.__pga_aggregate_target=2902458368
DWH12.__sga_target=4328521728
DWH11.__sga_target=4328521728
DWH12.__shared_io_pool_size=0
DWH11.__shared_io_pool_size=0
DWH12.__shared_pool_size=956301312
DWH11.__shared_pool_size=956301312
DWH12.__streams_pool_size=0
DWH11.__streams_pool_size=134217728
#*._realfree_heap_pagesize_hint=262144
#*._use_realfree_heap=TRUE
*.audit_file_dest='/u01/app/oracle/admin/DWH/adump'
*.audit_trail='db'
*.cluster_database=true
*.compatible='11.2.0.0.0'
*.control_files='/dborafiles/mdm_bn/dwh/oradata01/DWH/control01.ctl','/dborafiles/mdm_bn/dwh/orareco/DWH/control02.ctl'
*.db_block_size=8192
*.db_domain=''
*.db_name='DWH'
*.db_recovery_file_dest='/dborafiles/mdm_bn/dwh/orareco'
*.db_recovery_file_dest_size=7373586432
*.diagnostic_dest='/u01/app/oracle'
*.dispatchers='(PROTOCOL=TCP) (SERVICE=DWH1XDB)'
DWH12.instance_number=2
DWH11.instance_number=1
DWH11.local_listener='(DESCRIPTION=(ADDRESS_LIST=(ADDRESS=(PROTOCOL=TCP)(HOST=bnl11237dat01-vip)(PORT=1521))))'
DWH12.local_listener='(DESCRIPTION=(ADDRESS_LIST=(ADDRESS=(PROTOCOL=TCP)(HOST=bnl11237dat02-vip)(PORT=1521))))'
*.log_archive_dest_1='LOCATION=/dborafiles/mdm_bn/dwh/oraarch'
*.log_archive_format='DWH_%t_%s_%r.arc'
#*.memory_max_target=7226785792
*.memory_target=7226785792
*.open_cursors=1000
*.processes=500
*.remote_listener='LISTENERS_SCAN'
*.remote_login_passwordfile='exclusive'
*.sessions=555
DWH12.thread=2
DWH11.thread=1
DWH12.undo_tablespace='UNDOTBS2'
DWH11.undo_tablespace='UNDOTBS1'
SPFILE='/dborafiles/mdm_bn/dwh/oradata01/DWH/spfileDWH1.ora' # line added by Agent
[oracle@bnl11237dat01][DWH11]$ cat /etc/sysctl.conf
# Kernel sysctl configuration file for Red Hat Linux
# For binary values, 0 is disabled, 1 is enabled. See sysctl(8) and
# sysctl.conf(5) for more details.
# Controls IP packet forwarding
net.ipv4.ip_forward = 0
# Controls source route verification
net.ipv4.conf.default.rp_filter = 1
# Do not accept source routing
net.ipv4.conf.default.accept_source_route = 0
# Controls the System Request debugging functionality of the kernel
kernel.sysrq = 0
# Controls whether core dumps will append the PID to the core filename
# Useful for debugging multi-threaded applications
kernel.core_uses_pid = 1
# Controls the use of TCP syncookies
net.ipv4.tcp_syncookies = 1
# Controls the maximum size of a message, in bytes
kernel.msgmnb = 65536
# Controls the default maxmimum size of a mesage queue
kernel.msgmax = 65536
# Controls the maximum shared segment size, in bytes
kernel.shmmax = 68719476736
# Controls the maximum number of shared memory segments, in pages
#kernel.shmall = 4294967296
kernel.shmall = 8250344
# Oracle kernel parameters
fs.aio-max-nr = 1048576
fs.file-max = 6815744
kernel.shmmni = 4096
kernel.sem = 250 32000 100 128
kernel.shmmax = 536870912
net.ipv4.ip_local_port_range = 9000 65500
net.core.rmem_default = 262144
net.core.rmem_max = 4194304
net.core.wmem_default = 262144
net.core.wmem_max = 1048586
net.ipv4.tcp_wmem = 262144 262144 262144
net.ipv4.tcp_rmem = 4194304 4194304 4194304
Please can I know how to resolve this error.CAUSE: User specified one or more of { db_cache_size , db_recycle_cache_size, db_keep_cache_size, db_nk_cache_size (where n is one of 2,4,8,16,32) } AND use_indirect_data_buffers is set to TRUE. This is illegal.
ACTION: Very Large Memory can only be enabled with the old (pre-Oracle_8.2) parameters -
I have a recently bought (22/01) B110 and it has setup easily, and connected to the network easily, but I cannot enable web services, it comes up with 'Server Connection Error' nothing else, I have also tried updating the firmware for the printer but it comes up with an identical message
This question was solved.
View Solution.Try these steps and check if printer connects to Web Services or not:
1) Turn OFF the wireless radio
2) Perform Restore Network defaults from the printer menu
3) Turn OFF the printer and unplug the power cable from the back. Wait for 5 min
4) Reconnect the power cable and turn ON the printer
5) Run the wireless setup wizard from the printer menu.
6) check if you are able to print and scan
7) "Remove Web Services" from the printer menu and wait for 2 minutes
8) "Enable Web Services" from the menu and wait.
This should print a page automatically.
Say "Thanks" by clicking the Kudos Star in the post that helped you.
Please mark the post that solves your problem as "Accepted Solution" -
Pacman/Pacman.conf Scripts
I've been working on these two pieces for a while. For the most part, they're complete to my standards, but obviously they can always looked to be improved upon. I use the first one daily with no real problems (though I could add a little more error handling) and the other one does work for me though I don't need to call upon it too much.
My goal was really to provide an interface for pacman which was fast but still easy to use. I also realized that I can't write any GUI code, nor do I feel like it's nessisary to make something simple. It really only requires bash, a few coreutils, and pacman to be used, so if you're on a lower-end system and don't want to call upon a large GUI front end, this may be something good for you to try out.
Any feedback is appreciated too
Pacman Manager Script
#!/bin/bash
#Pacman Manager
#Author: Doug Swain ([email protected])
###Defining Operations###
function install {
echo "Installing package now"
echo
sudo pacman -S $PACKAGE
echo
echo "The package ($PACKAGE) is now installed"
echo "Press enter to contiue"
read
function uninstall {
echo "Uninstalling package now"
echo
sudo pacman -R $PACKAGE
echo
echo "The package ($PACKAGE) has been removed."
echo "Press enter to contiue"
read
function sync {
echo "Syncing with servers"
echo
sudo pacman -Sy
echo
echo "Sync complete. Press enter to continue"
read
function update {
echo " Updating your system now"
echo
sudo pacman -Syu --noconfirm
sudo pacman -Scc
echo
echo "Your system has been updated"
echo "Press enter to contiue"
read
function search {
clear
echo "What package would you like to search?"
read PACKAGE
sudo pacman -Ss $PACKAGE
echo "Would you like to search again?"
echo "[Y]es"
echo "[N]o"
read CHOICE
if [[ "$CHOICE" = [Yy] ]]; then
search
elif [[ "$CHOICE" = [Nn] ]]; then
echo "Search Finished. Press Enter to Continue"
read
fi
function manage {
clear
if [ "$UID" != 0 ]; then
echo "Error! Not running as the root user right now. Become a super user and try again"
exit 1
fi
clear
echo " Welcome to the Pacman Manager"
echo
echo " What would you like to do?"
echo
###ENDDEFINE###
###MANAGER###
manage
OPTIONS="Install Uninstall Sync Update Search Exit"
select opt in $OPTIONS; do
if [ "$opt" = "Install" ]; then
clear
echo "What package would you like to install?"
read PACKAGE
install
manage
elif [ "$opt" = "Uninstall" ]; then
clear
echo "What package would you like to uninstall?"
read PACKAGE
uninstall
manage
elif [ "$opt" = "Sync" ]; then
clear
sync
manage
elif [ "$opt" = "Update" ]; then
clear
update
manage
elif [ "$opt" = "Search" ]; then
clear
search
manage
elif [ "$opt" = "Exit" ]; then
clear
exit
fi
done
###ENDMANAGER###
pacman.conf Script
#!/bin/bash
#Pacman Configurator
#Tool to configure and modify pacman and /etc/pacman.conf
#Pretty Stable from my tests, but use with caution
#Backup your /etc/pacman.conf file just in case.
#Author: Doug Swain ([email protected])
###DEFINE FUNCTIONS####
function srv_ctl {
clear
echo "Server Control"
echo "Selections:"
echo "[A]dd URL"
echo "[R]emove URL"
echo "[E]nable Resporitories"
echo "[D]isable Resporitories"
echo "[b]ack"
read CHOICE
if [ "$CHOICE" = "A" ]; then
cat /etc/pacman.conf | grep "srv_ctl"
if [ "$?" != "0" ]; then
echo "[srv_ctl]" >> /etc/pacman.conf
echo "Include = /etc/pacman.d/custom" >> /etc/pacman.conf
fi
clear
echo "Enter URL"
read URL
echo "Adding"
echo $URL >> /etc/pacman.d/custom
cat /etc/pacman.d/custom | grep $URL
echo "The server above has been added."
elif [ "$CHOICE" = "R" ]; then
clear
echo "Current Custom Server List:"
cat /etc/pacman.d/custom
echo "Enter URL"
read URL
echo "Removing"
URLTEST=$(cat /etc/pacman.d/custom | grep $URL)
if [ "$URL" = "$URLTEST" ]; then
cat /etc/pacman.d/custom | grep -v $URL >> /etc/pacman.d/custom1
mv /etc/pacman.d/custom1 /etc/pacman.d/custom
echo "Address removed. Press enter to continue."
read
srv_ctl
elif [ "$URL" != "$URLTEST" ]; then
echo "Error! Address not found. Press Enter to continue"
read
srv_ctl
fi
elif [ "$CHOICE" = "E" ]; then
clear
echo "Current Resporitiories available"
ls /etc/pacman.d/
echo "Enter Resporitory (example: current/custom/extra)"
read RES
echo "[$RES]" >> /etc/pacman.conf
echo "Include = /etc/pacman.d/$RES" >> /etc/pacman.conf
echo "Enabled. Press Enter to contiue"
read
srv_ctl
elif [ "$CHOICE" = "D" ]; then
clear
echo "Current Resporitiories available"
ls /etc/pacman.d/
echo "Enter Resporitory (example: current/custom/extra)"
read RES
cat /etc/pacman.conf | grep -v "$RES" >> /etc/pacman1.conf
mv /etc/pacman1.conf /etc/pacman.conf
echo "Disabled. Press Enter to continue."
read
srv_ctl
elif [ "$CHOICE" = "B" ]; then
echo "Press enter to continue"
read
manage
fi
function pkg_ctl {
clear
echo "What would you like to do?"
echo "[A]dd Package to Ignore List"
echo "[R]emove Package from Ignore List"
echo "[b]ack"
read CHOICE
if [ "$CHOICE" = "A" ]; then
clear
echo "Enter package name"
read PKG
echo "Adding"
echo "IgnorePkg = $PKG" >> /etc/pacman.conf
echo "HoldPkg = $PKG" >> /etc/pacman.conf
echo "Package added. Press Enter to Continue"
read
pkg_ctl
elif [ "$CHOICE" = "R" ]; then
clear
echo "Enter package name"
read PKG
echo "Removing"
cat /etc/pacman.conf | grep -v "$PKG" >> /etc/pacman1.conf
mv /etc/pacman1.conf /etc/pacman.conf
echo "Package removed. Press Enter to Continue"
read
pkg_ctl
elif [ "$CHOICE" = "B" ]; then
echo "Press enter to continue"
read
manage
fi
function manage {
clear
if [ "$UID" != 0 ]; then
echo "Error! Not running as the root user right now. Become a super user and try again"
exit 1
fi
clear
echo " Pacman Configuration"
echo " What would you like to do?"
###END DEFINE####
###MANAGER####
manage
OPTIONS="Server_Control Package_Control Exit"
select opt in $OPTIONS; do
if [ "$opt" = "Server_Control" ]; then
srv_ctl
elif [ "$opt" = "Package_Control" ]; then
pkg_ctl
elif [ "$opt" = "Exit" ]; then
clear
exit 0
fi
done
###ENDMANAGER###
Sadly my webserver is down as of now, so I can't post these scripts directly from my site, but this should work fine anyway. Enjoy!Oh no I understand. Hah I figured that'd be the case that somebody created something like this.
Well my main point with these scripts was really just for self-teaching and such. Essentially though, my idea was to make a script which can help somebody who is newer and doesn't quite know all the helpful syntax of pacman or somebody who just doesn't want to be bothered with it have a quick and easy way to do it. Since there are already GUI front ends to do something like this, I figured a scripted version would be nicer for somebody who may need something less resource intense. That's the first script
The second script was just to make it a little less painful to navigate the pacman.conf file without having to go through it and figure out the syntax for everything (if you don't already know it) because I figured it was easier to find just a URL than to know all the syntax of the config file, and this just fills in the voids for you.
I use it for myself daily and it does make it a bit easier when you just want to install a package or update real quickly. Like I said though, I'm not surprised that there's something better implimented already. I figured I'd just toss it out there to see who could enjoy it. I appreciate the questioning though as you're right; I didn't make myself very clear-cut. At any rate, useful or not for people, they're here haha. Like I also said, I wrote these just as a learning experience for coding and other things. So, if somebody can find a use for them, all the better. If not, um, sorry to waste thread space haha.
Maybe you are looking for
-
Hi, I have a fuction that accepts one input parameter, called v_inp. And this is the code of the function that i see in the code editor: --initialize variables here V_OUTPUT NUMBER; -- main body BEGIN case v_INP when 15,16,17,18,19 then V_OUTPUT := 1
-
[Newbie] FMS not visible in local network
Hi, I have a problem with FMS 3.5 installed on Windows 7. The problem is that FMS works only on my local machine, I am not able to use it from computers in local network. I turned off all windows firewalls and my machine is visible for other computer
-
[SOLVED] Disabling "dry" signal (ALSA or JACK)
I'm using VirtualBox to run FL Studio in a virtual Windows box. The problem (ok, not so much of a problem, but an annoyance) is, that I can't seem to find a way to disable the "dry" microphone signal. Probably you don't understand what I mean, so I'l
-
Hello all, Could some one help me with SMD registraion in central SLD I added my agent to http://host:port/sld >technical system> type as standalone. still during my diagnostic self check, I get msg, register SMD to SLD. Regards, Shyam.
-
Problems with video acceleration in Firefox
I am currently unable to watch HTML5 videos in Firefox because of some issues with VA-API and also had - before I uninstalled it - frequent crashes with Flash, when using hardware acceleration. Firefox instantly crashes when I open any hardware accel