bin/62965: pkg_add -r fails if fetching multiple packages at a time

Volker Stolz vs at FreeBSD.org
Mon Feb 14 00:45:43 PST 2005


Synopsis: pkg_add -r fails if fetching multiple packages at a time

Responsible-Changed-From-To: freebsd-bugs->eik
Responsible-Changed-By: vs
Responsible-Changed-When: Mon Feb 14 08:40:29 GMT 2005
Responsible-Changed-Why: 
eik is our pkg_install-hacker-in-residence (and I'm bitten by this, too)
Also a bit more details: Replacing upchuck() with err() yields (on 4.x):

ocaml-pxp at menelaos [09:42:30]> ktrace -d pkg_add -r ocaml ocaml-findlib ocmal-ulex Fetching ftp://sunsite.informatik.rwth-aachen.de/pub/FreeBSD/ports/i386/packages-4-stable/Latest/ocaml.tgz... Done.
Fetching ftp://sunsite.informatik.rwth-aachen.de/pub/FreeBSD/ports/i386/packages-4-stable/All/tcl-8.4.7,1.tgz... Done.
Fetching ftp://sunsite.informatik.rwth-aachen.de/pub/FreeBSD/ports/i386/packages-4-stable/All/tk-8.4.7,2.tgz... Done.
Fetching ftp://sunsite.informatik.rwth-aachen.de/pub/FreeBSD/ports/i386/packages-4-stable/Latest/ocaml-findlib.tgz...pkg_add: No such file or directory

ktrace:
   441 pkg_add  CALL  chmod(0xbfbfc8c0,0x1c0)
   441 pkg_add  NAMI  "/usr/tmp/instmp.XMryEv"
   441 pkg_add  RET   chmod 0
   441 pkg_add  CALL  statfs(0xbfbfc8c0,0xbfbfa740)
   441 pkg_add  NAMI  "/usr/tmp/instmp.XMryEv"
   441 pkg_add  RET   statfs 0
   441 pkg_add  CALL  __getcwd(0x8056360,0x400)
   441 pkg_add  RET   __getcwd -1 errno 20 Not a directory
   441 pkg_add  CALL  stat(0x28239e20,0xbfbfa7e0)
   441 pkg_add  NAMI  "/"
   441 pkg_add  RET   stat 0
   441 pkg_add  CALL  lstat(0x808b000,0xbfbfa7e0)
   441 pkg_add  NAMI  "."
   441 pkg_add  RET   lstat 0
   441 pkg_add  CALL  stat(0x808b000,0xbfbfa6b0)
   441 pkg_add  NAMI  ".."
   441 pkg_add  RET   stat -1 errno 2 No such file or directory

http://www.freebsd.org/cgi/query-pr.cgi?pr=62965


More information about the freebsd-bugs mailing list