Pular para o conteúdo

Pacman (pacman.conf)

Alguma modificações que fiz no arquivo pacman.conf original do Arch Linux.

Inclui opções de:

- escolha do outros agente de download padrão (wget, curl, axel e aria2c).

- inclusão do ARM (Arch RollBack Machine que tanto pode ser usado para downgrade de pacotes como pode ser escolhido para upgrades seguindo o modelo de snapshots de pacotes.

- diversos repositórios extras (kernels, games, archlinuxfr e de um fork do Gnome2, o MATE).

Com esse arquivo de configuração, peço que desconsiderem o uso de meu anterior:
http://www.vivaolinux.com.br/etc/pacman.conf
edps edps
Hits: 18.785 Categoria: Miscelânea
  • Download
  • Indicar
  • Denunciar
O Viva o Linux depende da receita de anúncios para se manter. Ative os cookies aqui para nos patrocinar.
Não conseguimos carregar os anúncios. Se usa bloqueador, considere liberar o Viva o Linux para nos patrocinar.
Download pacman.conf
O Viva o Linux depende da receita de anúncios para se manter. Ative os cookies aqui para nos patrocinar.
Não conseguimos carregar os anúncios. Se usa bloqueador, considere liberar o Viva o Linux para nos patrocinar.

Esconder código-fonte

#
# /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

# Caso algum usuário desavisado tente remover os pacotes abaixo, o Pacman pedirá confirmação para a ação.
# Mensagem típica: " Pacotes HoldPkg foram encontrados na lista. Você deseja continuar? [s/N] "
HoldPkg     = pacman glibc

# Atualizar primeiro o Pacman.
# If upgrades are available for these packages they will be asked for first
SyncFirst   = pacman

### Definição do agente de download padrão.
## https://wiki.archlinux.org/index.php/Improve_Pacman_Performance
#
# wget.
XferCommand = /usr/bin/wget --passive-ftp -c -v -O %o %u

# aria2c.
# XferCommand = /usr/bin/aria2c --allow-overwrite=true -c --file-allocation=falloc --log-level=error -m2 --max-connection-per-server=2 --max-file-not-found=5 --min-split-size=5M --no-conf --remote-time=true --summary-interval=0 -t5 -d / -o %o %u

# axel.
# XferCommand = /usr/bin/axel -S4 -v -a -o %o %u
# XferCommand = /usr/bin/axel -S4 -n2 -v -a -o %o %u

# curl.
# XferCommand = /usr/bin/curl -C - %u > %o
#
## https://wiki.archlinux.org/index.php/Improve_Pacman_Performance
### Definição do agente de download padrão.

# Método de limpeza.
CleanMethod = KeepInstalled

# Arquitetura (i686, x86_64 ou auto).
Architecture = auto

# Pacotes que não serão atualizados.
# Pacman won't upgrade packages listed in IgnorePkg and members of IgnoreGroup
# IgnorePkg =
# IgnoreGroup =

# NoUpgrade = 
# NoExtract   =

# Log mais detalhado.
# Misc options (all disabled by default)
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
#   - 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.
#

### Arch RollBack Machine. (utilização de snapshots, basta descomentar as linhas e escolher a data).
##
#[core]
#Server=http://arm.konnichi.com/2011/09/14/core/os/i686

#[extra]
#Server=http://arm.konnichi.com/2011/09/14/extra/os/i686

#[community]
#Server=http://arm.konnichi.com/2011/09/14/community/os/i686
##
### Arch RollBack Machine.

# 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

#
#
#

# Meu Repositório Local de Pacotes.
# [my_packages]
# Server = file:///home/h4rd3r/PkgBuilds/packages

#
#
#

#
# Arch Unnoficial Repositories
# https://wiki.archlinux.org/index.php/Unofficial_User_Repositories
#
# Outros Repositórios.
# Para pesquisar o conteúdo dos repositórios usem: pacman -Sl <nome-do-repositorio> exemplo:
# pacman -Sl repo-ck
#

[repo-ck]
# ARCH kernel with Brain Fuck Scheduler and all the goodies in the ck1 patch set
# Kernel26-ck is the Linux Kernel built with Con Kolivas' ck1 patchset.
# https://wiki.archlinux.org/index.php/Kernel26-ck
# http://repo-ck.com/
Server = http://repo-ck.com/i686

[heftig]
# Includes kernel26-zen and aurora (firefox development build - works alongside firefox in extra.)
# https://bbs.archlinux.org/viewtopic.php?id=117157
Server = http://pkgbuild.com/~heftig/repo/i686

[pfkernel]
# Kernel packages: generic i686 and x86_64, optimized P3, P4, K7, Atom, Pentium-M, K8, Core2
# nvidia-pf, squid3, arora-git, nvidia-utils-beta
Server = http://dl.dropbox.com/u/11734958/i686

[kernel26-pae]
Server = http://kernel26-pae.archlinux.ca/

[archlinuxfr]
# The french Archlinux communities packages
Server = http://repo.archlinux.fr/i686

[mate]
# Contains official mate desktop packages. a.k.a Gnome2 FORK.
Server = http://matsusoft.com.ar/repository/archlinux/mate/i686

[archstuff]
# AUR's most voted and many bin32-* and lib32-* packages
Server = http://archstuff.vs169092.vserver.de/i686

[herecura-stable]
# additional apps not found in community
Server = http://herecura.be/repo/herecura-stable/i686

[herecura-stable-any]
# Just some stuff; a few java apps, wallpapers, small scripts, xbmc-skin
Server = http://herecura.be/repo/herecura-stable/any

[arch-games]
# The Arch Linux Gaming repository project.
# Active mirrors listed in https://github.com/Arch-Games/arch-games/wiki/Mirrors
Server = ftp://mirror.selfnet.de/arch-games/i686

[arch-fonts]
# Prebuilt packages for font packages found in AUR
# This should be faster than building from source
# as many have download speed of 10KB/s. If you find
# missing font, email to <gmail.com: jesse.jaara>
Server = http://huulivoide.pp.fi/Arch/arch-fonts

[ayatana]
# Packages from Ubuntu (humanity-icon-theme, ttf-ubuntu, ubuntu-light-themes, ubuntuone-client, indicator-applet, notify-osd…),
# packages from elementary project (dexter, elementary-icon-theme, gloobus-preview, gnome-theme-elementary, postler…),
# packages from Linux Mint (gnome-theme-mint, mintbackup, mintdesktop, mint-icon-theme, mintmenu…) and
# apps with ayatana support (audio-recorder, banshee-community-extensions, cloudsn, gwibber, pino, sbackup, smuxi…),
# extra GNOME apps (conduit, eog-plugins, glabels, gnome-color-manager, gnome-globalmenu, gnome-subtitles, ontv, pdfmod, rygel, postr, tasque…),
# mapping apps (bt747, emerillon, foxtrotgps, gpx-viewer, merkaartor, navit, prune…),
# some other apps (backintime, connman, faenza-icon-theme, gdesklets, keepnote, kompozer, nautilus-terminal, openbve, pinta, textflow, uget…).
# More info: http://arch.ballogyorgy.com/
Server = http://repo.ayatana.info/

[xyne-any]
# The home of Xyne's contributions.
# More info including a package list can be found at http://xyne.archlinux.ca/repos
Server = http://xyne.archlinux.ca/repos/xyne-any/
Server = http://xyne.archlinux.ca/repos/xyne-any

[compiz-fusion]
Server = http://compiz.dreamz-box.de/i686

[kittyserve]
# Contains kittykatt's packages and packages from friends of kittykatt, as well as most mint-related packages
Server = http://repo.kittykatt.us/i686

[burg]
# Burg bootloader repo
# More info : http://archydeb.wordpress.com/
Server = http://dl.dropbox.com/u/11529444/repos/archlinux/burg/i686

#
# Arch Unnoficial Repositories
# https://wiki.archlinux.org/index.php/Unofficial_User_Repositories
O Viva o Linux depende da receita de anúncios para se manter. Ative os cookies aqui para nos patrocinar.
Não conseguimos carregar os anúncios. Se usa bloqueador, considere liberar o Viva o Linux para nos patrocinar.

APT, APTITUDE (sources.list)

mutt (muttrc)

APT, APTITUDE (sources.list)

xorg (xorg.conf)

makepkg (.makepkg.conf)

Emacs (.emacs)

ALSA Sound System (rc.audio)

Mozilla Firebird (user.js)

Idesk (.ideskrc)

pacman (gerenciador de pacotes do Arch) (makepkg.conf)

#1 Comentário enviado por darksign em 23/09/2011 - 14:19h
Obrigado pelo conf. Vai ajudar bastante aqui.
#3 Comentário enviado por berlotto em 25/09/2011 - 16:00h
Ótimas alterações !
O aria2c não fica mais rápido que o wget ?
#4 Comentário enviado por removido em 25/09/2011 - 18:21h
grande berlotto,

acontece é que uso net 3G e para esse tipo de conexão o wget é mais eficiente que o aria2c no que que se refere ao não corrompimento dos dados baixados.

se tivesse net rápida, eu usaria o axel ou o aria2c.

obrigado pelo comentário.
#5 Comentário enviado por removido em 13/11/2011 - 16:29h

Buenas,

sugiro que desabilitem a linha referente ao arch-games e do kittyserve pois ambas estão offline.
#6 Comentário enviado por removido em 22/03/2012 - 19:45h
Poste uma nova atualização do pacman.conf em meu Blog, caso se interessem:

http://gnu2all.blogspot.com.br/2012/03/screenshot-arch-linux_21.html

As alterações são:

- a parte referente à assinatura GPG dos pacotes que estão desabilitadas;
- a alteração nos endereços dos repositórios: herecura-stable e herecura-stable-any;
- os repositórios do ARM estão setados para a data do meu último sysupgrade: 2012/03/21, mas estão desabilitados, sobre o ARM vejam isto:

http://www.vivaolinux.com.br/artigo/ARM-utilizacao-de-snapshot-de-pacotes-no-Arch-Linux/

Contribuir com comentário

Entre na sua conta para comentar.