From owner-freebsd-questions@FreeBSD.ORG Wed Apr 22 14:43:20 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id D4103106573E for ; Wed, 22 Apr 2009 14:43:20 +0000 (UTC) (envelope-from gesbbb@yahoo.com) Received: from smtp102.prem.mail.ac4.yahoo.com (smtp102.prem.mail.ac4.yahoo.com [76.13.13.41]) by mx1.freebsd.org (Postfix) with SMTP id 7F09B8FC25 for ; Wed, 22 Apr 2009 14:43:20 +0000 (UTC) (envelope-from gesbbb@yahoo.com) Received: (qmail 39632 invoked from network); 22 Apr 2009 14:43:19 -0000 DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=Received:X-YMail-OSG:X-Yahoo-Newman-Property:Date:From:To:Subject:Message-ID:In-Reply-To:References:Reply-To:Organization:X-Mailer:Face:X-Face:Mime-Version:Content-Type; b=DJqnmadDHahArYD3lIAJRktCGa7ogkZnrMROjr/CtLylZetvapk0LNDXA1vbg17M8ZmhDewyNERX4O665XeiGSlEg2Wlar54zcfbi62LmtAupXJ/+P9sD9mimP9Wi78ZW0Tp/pYhUS9UMXPJVxdcyfSl6Tcdi7F/t1EFVxGWGZ4= ; Received: from unknown (HELO scorpio) (gesbbb@76.23.177.172 with login) by smtp102.prem.mail.ac4.yahoo.com with SMTP; 22 Apr 2009 14:43:19 -0000 X-YMail-OSG: A3VZWMQVM1ncUbCWLH7_G5LU32gPbdy70A1ZW_TwPhAwzg_eUmLe8XqFP7es2HPqiTtmEhWy2NS1voDXLFI1Dgp4y89uj4ydqP.5KZFom9TSqThwctBXr83SVQZDssce0EmamONm4oFDp5p33Npoo17cVZQbbsWPkVBUPLHRqro9rPSYy5pUUTUy5hpS4O0AS9kaA3B9K0_i4e7OmOlmo8r5_3oDJw3Z_M9Yy3wS7csu03gproaHrli.7JHOe4w.SVHOTegGP.ohKAA056zwBF4nl_eSAxeTSltXaZavRGrlqSi3T75DVYc- X-Yahoo-Newman-Property: ymail-3 Date: Wed, 22 Apr 2009 10:43:10 -0400 From: Jerry To: freebsd-questions@freebsd.org Message-ID: <20090422104310.4134e4f0@scorpio> In-Reply-To: <4324dbec0904220716l6f3f0108td4a67dc58f46e10d@mail.gmail.com> References: <4324dbec0904220716l6f3f0108td4a67dc58f46e10d@mail.gmail.com> Organization: seibercom.net X-Mailer: Claws Mail 3.7.1 (GTK+ 2.16.1; i386-portbld-freebsd6.4) Face: iVBORw0KGgoAAAANSUhEUgAAADAAAAAwBAMAAAClLOS0AAAAGFBMVEX+/v7++v6YOTrq8PCcuIX989UvOSj++v0BNCbpAAAAB3RJTUUHsQwfFzs7RBhzUQAAAhJJREFUOI1dU8GOqzAMNKIoV1bvwD1i0ysqrHplIdBrVSX7ATSbd03VVvn9tQNtQy0hjAdn7LED4AAcPtWm9RV+MPSfxhBLx9ajd6X/ngB6/mTwnRSZua7i7Ca+0ctZKo4Qmz+JY13X6I3nFZBxIYW1PbgfQ5RP8g0XlltEWGf3cV03joYpRnFbvYDKbXjZlXyyhEZA4lI+cN3NaVXE4VKjSwTExO10eTEkkJVqIAD5z0nUBQJluQDRSQjcrBiHAJxZlAH5CUMBMC7OcJ4LMQNnxhZ1HYPscMc6J4UlWRMNwzOpCcAHKSICd1EDn83abdREIbXsHkD1OinP1aCUCOEVRaa1lMcvywUWdYgk13JQUpYNKmvXQ8Kw5ML9YI5h8SakctBc7E/IYuLhYd/zZIk+1gM1vNweQBvHE0j+oYah3sMqAytQYlZk6+ANaaawJdu3OFzYGMZ3iGpa3qMlq9ZH0VZTgrCtw/ngdYkEIIpSbP1bWQAdFdX9vocBdkH2qVjVmuMu3gI5rjs814EUdrCZgWlPaxZZ3RiLFUtr+ud0PXwp2dnQSNXgePt6AZpBj6UMJ7VQkzN4utVeaSW1Dhn/kblGrKeMvNGnzwX4zuEDarYz1KdPtR60Gul0Gued+515SJXhCsl+Tx/3kY/UDvicPll9mfu50t3tvQ/thZpJYgeuwdSKNJ6tCD98MCgoxLDaPxbwqqwPWaWiAAAAAElFTkSuQmCC X-Face: "\j?x](l|]4p?-1Bf@!wN<&p=$.}^k-HgL}cJKbQZ3r#Ar]\%U(#6}'?<3s7%(%(gxJxxcR nSNPNr*/^~StawWU9KDJ-CT0k$f#@t2^K&BS_f|?ZV/.7Q Mime-Version: 1.0 Content-Type: multipart/signed; micalg=PGP-SHA1; boundary="Sig_/9nBxKXWGRU4N9NjIVAjzoxf"; protocol="application/pgp-signature" Subject: Re: "unable to completely remove directory" during deinstall X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: freebsd-questions@freebsd.org List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 22 Apr 2009 14:43:22 -0000 --Sig_/9nBxKXWGRU4N9NjIVAjzoxf Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable On Wed, 22 Apr 2009 09:16:22 -0500 Richard DeLaurell wrote: >This is undoubtedly a very "newbie" question, but I have seen this >type of error >a few times recently: > >pkg_delete: unable to completely remove directory '/directory.name' >pkg_delete: couldn't entirely delete package (perhaps the packing list >is incorrectly specified?) > >It occurs at the end of a "deinstall" as a matter of updating a port >"by hand". > >What is the proper procedure to correct this? Run "pkgdb -F"? Rm the >offending files/dirs by hand? Both? > >The updated packages seem to run okay afterward if I ignore these >errors; however, I am certain that they >are really just swept under the carpet for the time being and will >reemerge in the future (at a moment of maximum inconvenience no doubt). > >Also, is "make deinstall" the same as "uninstall"? First, there is a good chance that the 'pkg-plist' file is not correct. It is usually harmless, however. You can usually just do a: make deinstall reinstall distclean Prior to updating, running 'pkgdb -Ffuv' is usually a safe concept. If there are any problems, they will usually become self evident. What port are you referencing? I assume 'by hands' means that you are not using a port tool to manage updating a specific port. Is that correct? --=20 Jerry gesbbb@yahoo.com A prisoner of war is a man who tries to kill you and fails, and then asks you not to kill him. Sir Winston Churchill, 1952 --Sig_/9nBxKXWGRU4N9NjIVAjzoxf Content-Type: application/pgp-signature; name=signature.asc Content-Disposition: attachment; filename=signature.asc -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.11 (FreeBSD) iEYEARECAAYFAknvLQYACgkQBvaKIJWWCO3ewgCfaBVtZvFchIav9WLOnndbCaKB sGQAoJMo2RKynPeLEew/fpjo3mGjvHOO =1e0F -----END PGP SIGNATURE----- --Sig_/9nBxKXWGRU4N9NjIVAjzoxf--