bin/160516: pkg_delete(1) error messages miss which package had
the problem
Sergey Kandaurov
pluknet at freebsd.org
Wed Sep 14 16:00:23 UTC 2011
The following reply was made to PR bin/160516; it has been noted by GNATS.
From: Sergey Kandaurov <pluknet at freebsd.org>
To: bug-followup at FreeBSD.org, freebsd-gnats at 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);
More information about the freebsd-bugs
mailing list