A couple of hours ago i decided to upgrade everything i got from ponce's sbo. According to this
article i executed
Code:
rm -fR /var/lib/sbopkg/SBo-git
and then after rsync command i got
Code:
sbopkg -r
fatal: ambiguous argument 'HEAD': unknown revision or path not in the working tree.
Use '--' to separate paths from revisions, like this:
'git <command> [<revision>...] -- [<file>...]'
You do not have the initial commit yet
fatal: your current branch 'master' does not have any commits yet
Syncing with the remote repository into /var/lib/sbopkg/SBo-git.
From git://github.com/Ponce/slackbuilds
* branch current -> FETCH_HEAD
error: The following untracked working tree files would be overwritten by merge:
ChangeLog.txt
Please move or remove them before you merge.
Aborting
Removing .gitignore
Removing ChangeLog.txt
fatal: ambiguous argument 'HEAD': unknown revision or path not in the working tree.
Use '--' to separate paths from revisions, like this:
'git <command> [<revision>...] -- [<file>...]'
fatal: your current branch 'master' does not have any commits yet
Repository update complete.
The only file i have now in SBo-git directory is ChangeLog.txt which is empty. I haven't done anything with sbopkg.conf and sbopkg files since i changed two options in config from the article to use it with ponce's repo. Anyway here is my config
Code:
# $Id$
#
# Please read the sbopkg.conf(5) man page for information about this
# configuration file, including an explanation of how to set these
# variables.
# The following variables are used by sbopkg and by the SlackBuild
# scripts themselves. They must be exported for this reason.
export TMP=${TMP:-/tmp/SBo}
export OUTPUT=${OUTPUT:-/tmp}
# The following are variables used by sbopkg. Any of these variables
# could be exported, if desired.
# Path variables
LOGFILE=${LOGFILE:-/var/log/sbopkg/sbopkg-build-log}
QUEUEDIR=${QUEUEDIR:-/var/lib/sbopkg/queues}
REPO_ROOT=${REPO_ROOT:-/var/lib/sbopkg}
SRCDIR=${SRCDIR:-/var/cache/sbopkg}
# sbopkg's temporary directory (where its internal temporary files are
# kept and where packages are made prior to being moved to OUTPUT)
# defaults to /tmp/sbopkg.XXXXXX where 'XXXXXX' is a random string. If
# /tmp is not a suitable containing directory, pass in an alternate
# TMPDIR or modify the following variable. This is actually a mktemp(1)
# variable.
export TMPDIR=${TMPDIR:-/tmp}
# Other variables:
CLEANUP=${CLEANUP:-NO}
DEBUG_UPDATES=${DEBUG_UPDATES:-0}
KEEPLOG=${KEEPLOG:-YES}
MKDIR_PROMPT=${MKDIR_PROMPT:-YES}
NICE=${NICE:-10}
REPO_BRANCH=${REPO_BRANCH:-current}
REPO_NAME=${REPO_NAME:-SBo-git}
# The following variable determines if multiple instances of sbopkg can
# be run simultaneously. It is *strongly* recommended that this value be
# set to NO. Do not set it to YES without first reading the
# sbopkg.conf(5) man page.
ALLOW_MULTI=${ALLOW_MULTI:-NO}
# The following variables are required and can be tweaked if desired,
# although this is not recommended. Note: rsync already uses
# --archive, --delete, --no-owner, and --exclude in the main sbopkg
# script so there is no need to add those flags here.
DIFF=${DIFF:-diff}
DIFFOPTS=${DIFFOPTS:--u}
RSYNCFLAGS="${RSYNCFLAGS:---verbose --timeout=30}"
WGETFLAGS="${WGETFLAGS:--c --progress=bar:force --timeout=30 --tries=5}"
# SRC_REPO defaults to "http://slackware.uk/sbosrcarch". To use
# a different repository, uncomment and edit this variable. The value
# must be the URL of the directory containing the by-name and by-md5
# sub directories, and should NOT have a trailing slash.
# SRC_REPO="http://slackware.uk/sbosrcarch"
I found a
thread where a similar error was described, but i have no idea how relative is the answer since i don't use default slackbuilds repo for 14.2.
I did a full reinstall (first, i deleted sbopkg.conf) but it didn't help. What should i do to make sbopkg work again?