Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 17 Sep 2016 14:37:57 +0000
From:      bugzilla-noreply@freebsd.org
To:        freebsd-bugs@FreeBSD.org
Subject:   [Bug 212768] portsnap fetch update: cannot open (hash).gz: No such file or directory
Message-ID:  <bug-212768-8-LgCK6HWt4p@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-212768-8@https.bugs.freebsd.org/bugzilla/>
References:  <bug-212768-8@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D212768

--- Comment #1 from Aleksander Alekseev <afiskon@devzen.ru> ---
If I understand correctly the problem is somewhere near line 757 of
/usr/src/usr.sbin/portsnap/portsnap.sh script:

```
# Update metadata without patches
    join -t '|' -v 2 tINDEX tINDEX.new |
        cut -f 2 -d '|' /dev/stdin patchlist |
        while read Y; do
            if [ ! -f "files/${Y}.gz" ]; then=20
                echo ${Y};
            fi
        done > filelist
    echo -n "Fetching `wc -l < filelist | tr -d ' '` "
    echo ${NDEBUG} "metadata files... "
    lam -s "f/" - -s ".gz" < filelist |
        xargs ${XARGST} ${PHTTPGET} ${SERVERNAME}   \
        2>${QUIETREDIR}
```

Frankly I don't see anything suspicious. Just in case I added `sleep 1` bef=
ore
`lam ...` line. I let you know whether it helps shortly.

--=20
You are receiving this mail because:
You are the assignee for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-212768-8-LgCK6HWt4p>