I haven’t been able to get updates for 3 weeks now on 11.0. Every time I run zypper refresh, I get this error
'repo2solv.sh' '-o' '/var/cache/zypp/solv/http:__download.opensuse.org_update_11.0__1/solv' '/var/cache/zypp/raw/http:__download.opensuse.org_update_11.0__1'
/usr/bin/repo2solv.sh: line 28: cd: -o: invalid option
cd: usage: cd -L|-P] [dir]
When I open up repo2solv.sh, Line 28 does not show this invalid option
test_susetags() {
if test -s content; then
DESCR=`grep DESCRDIR content | cut -d ' ' -f 2`
if test -z $DESCR; then
DESCR=suse/setup/descr
fi
test -d $DESCR
return $?
else
return 1
fi
}
# this should signal an error if there is a problem
set -e
LANG=C
parser_options=${PARSER_OPTIONS:-}
dir="$1"
cd "$dir" || exit 1 <- Line 28
if test -d repodata; then
cd repodata || exit 2
# This contains a primary.xml* and maybe patches
for i in primary.xml*; do
case $i in
*.gz) cmd="gzip -dc" ;;
*.bz2) cmd="bzip2 -dc" ;;
*) cmd="cat" ;;
esac
# only check the first primary.xml*, in case there are more
break
done
primfile="/nonexist"
if test -n "$cmd"; then
# we have some primary.xml*
primfile=`mktemp` || exit 3
$cmd $i | rpmmd2solv $parser_options > $primfile || exit 4
fi
# This contains a updateinfo.xml* and maybe patches
if test -f updateinfo.xml || test -f updateinfo.xml.gz || test -f updateinfo.xml.bz2 ; then
for i in updateinfo.xml*; do
case $i in
*.gz) cmd="gzip -dc" ;;
*.bz2) cmd="bzip2 -dc" ;;
*) cmd="cat" ;;
esac
# only check the first updateinfo.xml*, in case there are more
break
done
updateinfofile="/nonexist"
if test -n "$cmd"; then
# we have some updateinfo.xml*
updateinfofile=`mktemp` || exit 3
What is going on, this is driving me nuts. I use OpenSuSe exclusively for SSL transactions. I do no trust anything M$ for secure transactions, as thats comparable to having "relations with a $2 lady of the evening without protection.
Can somebody please help.