Date: Sun, 30 Apr 1995 23:36:24 +0200 From: Mark Murray <mark@grondar.za> To: "Jordan K. Hubbard" <jkh@time.cdrom.com> Cc: asami@cs.berkeley.edu, bugs@FreeBSD.org, ports@FreeBSD.org Subject: Re: pkg_manage has a problem? Message-ID: <199504302136.XAA10328@grumble.grondar.za>
next in thread | raw e-mail | index | archive | help
> Hmmmm... Can you add a little diagnostic output to pkg_manage and tell > me which args its invoking pkg_add with? I may have broken something > with my recent changes and would like a chance to debug it! OK - back from the movies, and I have found something: 1) I put a line to print all arguments to exec_catch_errors, and that looks OK: /usr/sbin/pkg_info -a /var/tmp/pkg.009638 /usr/sbin/pkg_info -a /var/tmp/pkg.009820 but there is a diagnostic in that routine that hard-codes certain errors as though they are from pkg_add (around line 129 of pkg_manage.c). That could be fixed by replacing the string with a variable. 2) Around line 374 of pkg_manage.c, there is a hardcoded attempt to get package details using tar. This is the bugger that is failing. > Also, please put the failing package information up for ftp someplace > so that I can debug the problem under the same set of circumstances. It fails for all packages. M -- Mark Murray 46 Harvey Rd, Claremont, Cape Town 7700, South Africa +27 21 61-3768 GMT+0200
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199504302136.XAA10328>