You are not logged in.
Hello. I've installed abs (pacman -Sy abs) and rsync as a dependence for it.
Now, after # abs, I stiil haven't core and extra directories in /var/abs.
Here is /etc/abs.conf
#
# /etc/abs.conf
#
# the top-level directory of all your PKGBUILDs
[ "$ABSROOT" = "" ] && ABSROOT="/var/abs/"
#
# Server to sync from
#
SYNCSERVER="rsync.archlinux.org"
#
# The architecture to fetch abs for
# Either i686 or x86_64
#
ARCH="i686"
#
# Pacman mirror list used for syncing via tarball
#
MIRRORLIST="/etc/pacman.d/mirrorlist"
#
# REPOS to be parsed by abs (in this order)
# (prefix a repo with a ! to disable it)
#
# Note: If a repo is removed, it is still fetched!
# Repos must be preceded with a ! to prevent fetching
#
REPOS=(core extra !community !testing)
I can't realize where is the problem, need help.
Offline
Thank you for the bug report links.
I use the pacbuilder-svn for upgrading from ABS/AUR, and I thought that one of my recent updates had changed something to make pacbuilder unable to pull from the abs. I had no idea my abs folders had been deleted.
Thanks again.
Offline
Fixed now.
Offline
Thanks for fast answer and fixing this issue, Allan.
I'm still having this problem with pacbuilder not being able to pull the 'community' packages from the ABS tree. (I can do do it manually but that ruins the ease of using pacbuilder instead of pacman)
The 'core' packages and the 'extra' extra packages from the ABS tree build like normal when using pacbuilder.
Last edited by methuselah (2009-08-01 04:31:27)
Offline
Pacbuilder will probably need updated due to the CVS -> SVN switch for community changing the ABS tree a bit for community packages. It used to be /var/abs/community/<category>/<package> but not the <category>s have been removed.
Offline
Pacbuilder will probably need updated due to the CVS -> SVN switch for community changing the ABS tree a bit for community packages. It used to be /var/abs/community/<category>/<package> but not the <category>s have been removed.
Thanks. I'll be patient, or I guess I could try to edit pacbuilder in /usr/bin with the new changes.
EDITED. I think it might be one of these 2 parts, probably the second part with the PKGBUILDS
1st.
function get_community_category()
{
AUR_ID=`wget -q -O - "http://aur.archlinux.org/rpc.php?type=info&arg=${1}" \
| sed -e 's/^.*{"ID":"//' -e 's/",".*$//' \
| sed '/^$/d'`
CATEGORY=`wget -q -O - "http://aur.archlinux.org/packages.php?ID=${AUR_ID}" \
| grep 'community ::' \
| sed 's|<[^<]*>||g' \
| awk '{print $3}'`
echo $CATEGORY
}
2nd.
function get_pkgbuild()
{
get_pkg_repo ${1}
if [ "$REPO" != "aur" ]; then
[ "$REPO" == "community" ] && REPO=${REPO}/`get_community_category ${1}`
abs; cp -rf /var/abs/${REPO}/${1} ${BUILD_DIR}
$SYNCCMD $SYNCARGS ${SYNCSERVER}::abs/x86_64/${REPO}/${1} ${BUILD_DIR}
if [ ! -f ${BUILD_DIR}/${1}/PKGBUILD ]; then
REPO="aur"
fi
fi
if [ "$REPO" == "aur" ]; then
cd $BUILD_DIR
wget http://aur.archlinux.org/packages/${1}/${1}.tar.gz || return 1
tar xfz ./${1}.tar.gz
rm -rf ./${1}.tar.gz
fi
cd ${BUILD_DIR}/${1}
return 0
}
Thanks again.
Last edited by methuselah (2009-08-01 20:58:21)
Offline
Okay, it seems that pacbuilder has community packages in the list that it creates before upgrading, but it can't grab them from my /var/abs/community for some reason. I messed around with the script by editing out the "_category" part but that didn't help at all.
I guess I'll just be patient and wait for somebody else to fix it. Maybe I should try Yaourt out since it looks like it I can do the same thing by upgrading with the abs/aur.
Offline
Probably just remove this line.
[ "$REPO" == "community" ] && REPO=${REPO}/`get_community_category ${1}`
Offline
Probably just remove this line.
[ "$REPO" == "community" ] && REPO=${REPO}/`get_community_category ${1}`
Yes, that worked perfectly. Thank you.
Offline