[Bug 212768] portsnap fetch update: cannot open (hash).gz: No such file or directory

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Sat Sep 17 14:37:56 UTC 2016


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=212768

--- Comment #1 from Aleksander Alekseev <afiskon at 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 
                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` before
`lam ...` line. I let you know whether it helps shortly.

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


More information about the freebsd-bugs mailing list