You are not logged in.
I create a local repository as wiki says. http://wiki.archlinux.org/index.php/Cus … nd_gensync.
My db.tar.gz is at
/home/lq/abs/myrepo.db.tar.gzAnd here is my 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 =xorg-server xorg-server-utils xf86-input-evdev xf86-input- synaptics kernel26 kernel26-firmware libgl ati-dri kernel-headers glibc binutils gcc-libs gcc
#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
[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
[myrepo]
Server = file:///home/lq/abs
# An example of a custom package repository. See the pacman manpage for
# tips on creating your own repositories.
#[archlinuxfr]
#Server = http://repo.archlinux.fr/i686
#[Gooth]
#Server = http://public.gooth.cn/archlinux/gooth/os/i686And when update,it says
2009-10-12 21:26:59 (9.92 MB/s) - `/var/lib/pacman/community.db.tar.gz.part' saved [377225/377225]
file:///home/lq/abs/myrepo.db.tar.gz: Unsupported scheme `file'.
:: Starting full system upgrade...
local database is up to dateCould anyone tell me what is the problem ?
Last edited by fbchaos (2009-10-12 14:56:01)
Offline
Looks like you are using wget as your download agent (check XferCommand in pacman.conf). wget doesn't understand file, you can either switch to curl or the internal downloader.
Last edited by Garns (2009-10-12 14:31:18)
Offline