Date: Wed, 14 Sep 2011 16:00:23 GMT From: Sergey Kandaurov <pluknet@freebsd.org> To: freebsd-bugs@FreeBSD.org Subject: Re: bin/160516: pkg_delete(1) error messages miss which package had the problem Message-ID: <201109141600.p8EG0NcE002579@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
The following reply was made to PR bin/160516; it has been noted by GNATS. From: Sergey Kandaurov <pluknet@freebsd.org> To: bug-followup@FreeBSD.org, freebsd-gnats@in-addr.com Cc: Subject: Re: bin/160516: pkg_delete(1) error messages miss which package had the problem Date: Wed, 14 Sep 2011 19:51:31 +0400 Please try this patch. --- usr.sbin/pkg_install/delete/perform.c 2011-02-14 20:16:45.000000000 +0300 +++ usr.sbin/pkg_install/delete/perform.c 2011-09-14 19:46:31.000000000 +0400 @@ -318,8 +318,8 @@ */ if (delete_package(FALSE, CleanDirs, &Plist) == FAIL) warnx( - "couldn't entirely delete package (perhaps the packing list is\n" - "incorrectly specified?)"); + "couldn't entirely delete package %s (perhaps the packing list is\n" + "incorrectly specified?)", Plist.name); if (chdir(LogDir) == FAIL) { warnx("unable to change directory to %s! deinstall failed", LogDir);
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201109141600.p8EG0NcE002579>