Skip to content

Instantly share code, notes, and snippets.

@tiye
Created October 20, 2012 06:33
Show Gist options
  • Save tiye/3922371 to your computer and use it in GitHub Desktop.
Save tiye/3922371 to your computer and use it in GitHub Desktop.
➤➤ cat /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
#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
XferCommand = /usr/bin/axel -n 15 -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
# 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 = Optional TrustedOnly
SigLevel = Never
# 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]
#SigLevel = PackageRequired
#Include = /etc/pacman.d/mirrorlist
[core]
SigLevel = PackageRequired
Include = /etc/pacman.d/mirrorlist
[extra]
SigLevel = PackageRequired
Include = /etc/pacman.d/mirrorlist
#[community-testing]
#SigLevel = PackageRequired
#Include = /etc/pacman.d/mirrorlist
[community]
SigLevel = PackageRequired
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
[archlinuxfr]
Server = http://repo.archlinux.fr/$arch
➤➤ sudo pacman -S linux
resolving dependencies...
looking for inter-conflicts...
Targets (1): linux-3.6.2-1
Total Installed Size: 58.64 MiB
Net Upgrade Size: 0.68 MiB
Proceed with installation? [Y/n] y
(1/1) checking package integrity [############################################################] 100%
error: linux: signature from "Tobias Powalowski <tobias.powalowski@googlemail.com>" is invalid
error: failed to commit transaction (invalid or corrupted package (PGP signature))
Errors occurred, no packages were upgraded.
➤➤ sudo pacman -S linux
resolving dependencies...
looking for inter-conflicts...
Targets (1): linux-3.6.2-1
Total Installed Size: 58.64 MiB
Net Upgrade Size: 0.68 MiB
Proceed with installation? [Y/n] y
(1/1) checking package integrity [############################################################] 100%
:: File /var/cache/pacman/pkg/linux-3.6.2-1-i686.pkg.tar.xz is corrupted (invalid or corrupted package (checksum)).
Do you want to delete it? [Y/n] y
error: failed to commit transaction (invalid or corrupted package (checksum))
Errors occurred, no packages were upgraded.
➤➤ sudo rm /var/cache/pacman/pkg/linux-3.6.2-1-i686.pkg.tar.xz
rm: cannot remove ‘/var/cache/pacman/pkg/linux-3.6.2-1-i686.pkg.tar.xz’: No such file or directory
➤➤ sudo rm /var/cache/pacman/pkg/linux-3.6.2-1-i686.pkg.tar.xz
rm: cannot remove ‘/var/cache/pacman/pkg/linux-3.6.2-1-i686.pkg.tar.xz’: No such file or directory
➤➤ sudo pacman -S linux
resolving dependencies...
looking for inter-conflicts...
Targets (1): linux-3.6.2-1
Total Download Size: 40.85 MiB
Total Installed Size: 58.64 MiB
Net Upgrade Size: 0.68 MiB
Proceed with installation? [Y/n] y
:: Retrieving packages from core...
linux-3.6.2-1-i686 40.9 MiB 312K/s 02:14 [############################################################] 100%
(1/1) checking package integrity [############################################################] 100%
(1/1) loading package files [############################################################] 100%
(1/1) checking for file conflicts [############################################################] 100%
(1/1) checking available disk space [############################################################] 100%
(1/1) upgrading linux [############################################################] 100%
>>> Updating module dependencies. Please wait ...
>>> Generating initial ramdisk, using mkinitcpio. Please wait...
==> Building image from preset: 'default'
-> -k /boot/vmlinuz-linux -c /etc/mkinitcpio.conf -g /boot/initramfs-linux.img
==> Starting build: 3.6.2-1-ARCH
-> Running build hook: [base]
-> Running build hook: [udev]
-> Running build hook: [autodetect]
-> Running build hook: [pata]
-> Running build hook: [scsi]
-> Running build hook: [sata]
-> Running build hook: [filesystems]
-> Running build hook: [usbinput]
-> Running build hook: [fsck]
==> Generating module dependencies
==> Creating gzip initcpio image: /boot/initramfs-linux.img
==> Image generation successful
==> Building image from preset: 'fallback'
-> -k /boot/vmlinuz-linux -c /etc/mkinitcpio.conf -g /boot/initramfs-linux-fallback.img -S autodetect
==> Starting build: 3.6.2-1-ARCH
-> Running build hook: [base]
-> Running build hook: [udev]
-> Running build hook: [pata]
-> Running build hook: [scsi]
-> Running build hook: [sata]
-> Running build hook: [filesystems]
-> Running build hook: [usbinput]
-> Running build hook: [fsck]
==> Generating module dependencies
==> Creating gzip initcpio image: /boot/initramfs-linux-fallback.img
==> Image generation successful
➤➤ sudo pacman -S man-pages
resolving dependencies...
looking for inter-conflicts...
Targets (1): man-pages-3.43-1
Total Installed Size: 15.03 MiB
Net Upgrade Size: 0.01 MiB
Proceed with installation? [Y/n] y
(1/1) checking package integrity [############################################################] 100%
:: File /var/cache/pacman/pkg/man-pages-3.43-1-any.pkg.tar.xz is corrupted (invalid or corrupted package (checksum)).
Do you want to delete it? [Y/n] y
error: failed to commit transaction (invalid or corrupted package (checksum))
Errors occurred, no packages were upgraded.
➤➤ sudo rm /var/cache/pacman/pkg/man-pages-3.43-1-any.pkg.tar.xz
rm: cannot remove ‘/var/cache/pacman/pkg/man-pages-3.43-1-any.pkg.tar.xz’: No such file or directory
➤➤ sudo pacman -S man-pages
resolving dependencies...
looking for inter-conflicts...
Targets (1): man-pages-3.43-1
Total Download Size: 4.42 MiB
Total Installed Size: 15.03 MiB
Net Upgrade Size: 0.01 MiB
Proceed with installation? [Y/n] y
:: Retrieving packages from core...
man-pages-3.43-1-any 4.4 MiB 443K/s 00:10 [############################################################] 100%
(1/1) checking package integrity [############################################################] 100%
(1/1) loading package files [############################################################] 100%
(1/1) checking for file conflicts [############################################################] 100%
(1/1) checking available disk space [############################################################] 100%
(1/1) upgrading man-pages [############################################################] 100%
➤➤ sudo pacman -S linux-headers
resolving dependencies...
looking for inter-conflicts...
Targets (1): linux-headers-3.6.2-1
Total Installed Size: 47.10 MiB
Net Upgrade Size: 0.86 MiB
Proceed with installation? [Y/n] y
(1/1) checking package integrity [############################################################] 100%
:: File /var/cache/pacman/pkg/linux-headers-3.6.2-1-i686.pkg.tar.xz is corrupted (invalid or corrupted package (checksum)).
Do you want to delete it? [Y/n] y
error: failed to commit transaction (invalid or corrupted package (checksum))
Errors occurred, no packages were upgraded.
➤➤ sudo pacman -S /var/cache/pacman/pkg/linux-headers-3.6.2-1-i686.pkg.tar.xz
error: target not found: /var/cache/pacman/pkg/linux-headers-3.6.2-1-i686.pkg.tar.xz
➤➤ sudo pacman -S linux-headers
resolving dependencies...
looking for inter-conflicts...
Targets (1): linux-headers-3.6.2-1
Total Download Size: 4.85 MiB
Total Installed Size: 47.10 MiB
Net Upgrade Size: 0.86 MiB
Proceed with installation? [Y/n] y
:: Retrieving packages from core...
linux-headers-3.6.2-1-i686 4.8 MiB 424K/s 00:12 [############################################################] 100%
(1/1) checking package integrity [############################################################] 100%
(1/1) loading package files [############################################################] 100%
(1/1) checking for file conflicts [############################################################] 100%
(1/1) checking available disk space [############################################################] 100%
(1/1) upgrading linux-headers [############################################################] 100%
➤➤ sudo pacman -Suy
:: Synchronizing package databases...
core 107.1 KiB 719K/s 00:00 [############################################################] 100%
extra 1423.7 KiB 323K/s 00:04 [############################################################] 100%
community 1789.3 KiB 276K/s 00:06 [############################################################] 100%
error: failed retrieving file 'archlinuxcn.db' from repo.archlinuxcn.org : Operation too slow. Less than 1024 bytes/sec transferred the last 10 seconds
error: failed to update archlinuxcn (download library error)
repo-ck 17.3 KiB 47.4K/s 00:00 [############################################################] 100%
error: failed retrieving file 'archlinuxfr.db' from repo-fr.archlinuxcn.org : Operation too slow. Less than 1024 bytes/sec transferred the last 10 seconds
error: failed to update archlinuxfr (download library error)
error: failed retrieving file 'catalyst.db' from repo-catalyst.archlinuxcn.org : Failed to connect to 2001:470:c:716::2: Network is unreachable
error: failed to update catalyst (download library error)
arch-fonts is up to date 0.0 B 0.00B/s 00:00 [------------------------------------------------------------] 0%
:: Starting full system upgrade...
warning: freetype2-infinality: local (2.4.10-1) is newer than archlinuxcn (2.4.9-2)
:: Replace python-notify with extra/python2-notify? [Y/n] y
resolving dependencies...
looking for inter-conflicts...
Targets (42): git-1.7.12.4-1 hwids-20121012-1 ibus-1.4.2-2 jdk7-openjdk-7.u9_2.3.3-1 jre7-openjdk-7.u9_2.3.3-1 jre7-openjdk-headless-7.u9_2.3.3-1
lirc-utils-1:0.9.0-31 llvm-3.1-5 luajit-2.0.0b11-3 mosh-1.2.3-1 namcap-3.2.4-2 net-snmp-5.7.2-1 pam-1.1.6-1 poppler-0.20.5-1 poppler-glib-0.20.5-1
ppp-2.4.5-5 pyalpm-0.5.3-2 pygobject-devel-3.2.2-2 pygobject2-devel-2.28.6-8 pyqt-4.9.5-3 pyqt-common-4.9.5-3 python-3.3.0-1 python-dbus-1.1.1-2
python-dbus-common-1.1.1-2 python-notify-0.1.1-11 [removal] python-pyelftools-0.20-2 python-sip-4.14-2 python2-dbus-1.1.1-2 python2-gobject-3.2.2-2
python2-gobject2-2.28.6-8 python2-notify-0.1.1-12 python2-pyopenssl-0.13-2 python2-xdg-0.23-2 sip-4.14-2 systemd-194-4 util-linux-2.22.1-1
vlc-2.0.4-1 wpa_supplicant-1.0-2 xdg-utils-1.1.0.git20121008-1 xorg-server-1.13.0-3 xorg-server-common-1.13.0-3 xterm-284-1
Total Download Size: 4.06 MiB
Total Installed Size: 382.92 MiB
Net Upgrade Size: 18.66 MiB
Proceed with installation? [Y/n] y
:: Retrieving packages from extra...
xdg-utils-1.1.0.git20121008-1-any 48.9 KiB 1301K/s 00:00 [############################################################] 100%
net-snmp-5.7.2-1-i686 1536.4 KiB 1538K/s 00:01 [############################################################] 100%
poppler-0.20.5-1-i686 875.8 KiB 211K/s 00:04 [############################################################] 100%
poppler-glib-0.20.5-1-i686 143.4 KiB 1631K/s 00:00 [############################################################] 100%
pygobject2-devel-2.28.6-8-i686 100.7 KiB 1666K/s 00:00 [############################################################] 100%
python2-gobject2-2.28.6-8-i686 257.7 KiB 592K/s 00:00 [############################################################] 100%
xorg-server-common-1.13.0-3-i686 25.1 KiB 2.21M/s 00:00 [############################################################] 100%
xorg-server-1.13.0-3-i686 1165.4 KiB 240K/s 00:05 [############################################################] 100%
(41/41) checking package integrity [############################################################] 100%
(41/41) loading package files [############################################################] 100%
(41/41) checking for file conflicts [############################################################] 100%
(42/42) checking available disk space [############################################################] 100%
(1/1) removing python-notify [############################################################] 100%
( 1/41) upgrading git [############################################################] 100%
( 2/41) upgrading hwids [############################################################] 100%
( 3/41) upgrading python-dbus-common [############################################################] 100%
( 4/41) upgrading python2-dbus [############################################################] 100%
( 5/41) upgrading python2-xdg [############################################################] 100%
( 6/41) installing python2-notify [############################################################] 100%
( 7/41) upgrading ibus [############################################################] 100%
( 8/41) upgrading jre7-openjdk-headless [############################################################] 100%
( 9/41) upgrading xdg-utils [############################################################] 100%
(10/41) upgrading jre7-openjdk [############################################################] 100%
(11/41) upgrading jdk7-openjdk [############################################################] 100%
(12/41) upgrading lirc-utils [############################################################] 100%
(13/41) upgrading llvm [############################################################] 100%
(14/41) upgrading luajit [############################################################] 100%
(15/41) upgrading mosh [############################################################] 100%
(16/41) upgrading python [############################################################] 100%
(17/41) upgrading pyalpm [############################################################] 100%
(18/41) upgrading python-pyelftools [############################################################] 100%
(19/41) upgrading namcap [############################################################] 100%
(20/41) upgrading net-snmp [############################################################] 100%
(21/41) upgrading pam [############################################################] 100%
(22/41) upgrading poppler [############################################################] 100%
(23/41) upgrading poppler-glib [############################################################] 100%
(24/41) upgrading ppp [############################################################] 100%
(25/41) upgrading pygobject-devel [############################################################] 100%
(26/41) upgrading pygobject2-devel [############################################################] 100%
(27/41) upgrading sip [############################################################] 100%
(28/41) upgrading python-sip [############################################################] 100%
(29/41) upgrading python-dbus [############################################################] 100%
(30/41) upgrading pyqt-common [############################################################] 100%
(31/41) upgrading pyqt [############################################################] 100%
(32/41) upgrading python2-gobject [############################################################] 100%
(33/41) upgrading python2-gobject2 [############################################################] 100%
(34/41) upgrading python2-pyopenssl [############################################################] 100%
(35/41) upgrading util-linux [############################################################] 100%
(36/41) upgrading systemd [############################################################] 100%
New optional dependencies for systemd
python: systemd library bindings
(37/41) upgrading vlc [############################################################] 100%
(38/41) upgrading wpa_supplicant [############################################################] 100%
(39/41) upgrading xorg-server-common [############################################################] 100%
(40/41) upgrading xorg-server [############################################################] 100%
(41/41) upgrading xterm [############################################################] 100%
➤➤
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment