Pacman (pacman.conf)
configuração personalizada para gestor do pacotes do Arch Linux
Categoria: Miscelânea
Software: Pacman
[ Hits: 10.294 ]
Por: edps
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
# # /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
Relato de experiência: contribuição para tradução de um artigo da Wikipédia
Melhores Distribuições Linux Voltadas Para Servidores
Gerando Pacote do QMPlay2 20.12.16 no Slackware Current Facilmente
Clonando uma tag específica no GIT
Converter vários vídeos em lote facilmente
Renomeado em Massa com GPRename
Uso o elementary OS e a uma semana sempre quando eu dou sudo update, m... (3)