From owner-freebsd-questions@FreeBSD.ORG Thu Sep 17 22:12:21 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 A032F106568B for ; Thu, 17 Sep 2009 22:12:21 +0000 (UTC) (envelope-from rsmith@xs4all.nl) Received: from smtp-vbr10.xs4all.nl (smtp-vbr10.xs4all.nl [194.109.24.30]) by mx1.freebsd.org (Postfix) with ESMTP id 35BD38FC14 for ; Thu, 17 Sep 2009 22:12:20 +0000 (UTC) Received: from slackbox.xs4all.nl (slackbox.xs4all.nl [213.84.242.160]) by smtp-vbr10.xs4all.nl (8.13.8/8.13.8) with ESMTP id n8HMCJbH084944; Fri, 18 Sep 2009 00:12:19 +0200 (CEST) (envelope-from rsmith@xs4all.nl) Received: by slackbox.xs4all.nl (Postfix, from userid 1001) id 5CECDBA8F; Fri, 18 Sep 2009 00:12:19 +0200 (CEST) Date: Fri, 18 Sep 2009 00:12:19 +0200 From: Roland Smith To: Jeronimo Calvo Message-ID: <20090917221219.GA96757@slackbox.xs4all.nl> References: MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="qMm9M+Fa2AknHoGS" Content-Disposition: inline In-Reply-To: X-GPG-Fingerprint: 1A2B 477F 9970 BA3C 2914 B7CE 1277 EFB0 C321 A725 X-GPG-Key: http://www.xs4all.nl/~rsmith/pubkey.txt X-GPG-Notice: If this message is not signed, don't assume I sent it! User-Agent: Mutt/1.5.20 (2009-06-14) X-Virus-Scanned: by XS4ALL Virus Scanner Cc: FreeBSD Questions Subject: Re: pkg_delete: unable to completely remove directory (pkgdb -F) X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 17 Sep 2009 22:12:21 -0000 --qMm9M+Fa2AknHoGS Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Thu, Sep 17, 2009 at 09:57:09PM +0000, Jeronimo Calvo wrote: > Hi folks, >=20 > dealing with broken package.... (virtualbox which is driving me crazy) > I am getting the following error everytime i try to deinstall it, to > make a clean installation from source: >=20 > pkg_delete: unable to completely remove directory >=20 > any idea on how to manage to get rid of this error? The package/ports system will not delete files unless it knows they came fr= om a package/port that is being deleted; it will not delete possible user-made files, which is a Good Thing! Apparently some file(s) were left in the directory in question. Have a look= at what they are. If they are part of VirtualBox, then the packing list for virtualbox should be updated to include them, so that they will be deleted when virtualbox is removed. Roland --=20 R.F.Smith http://www.xs4all.nl/~rsmith/ [plain text _non-HTML_ PGP/GnuPG encrypted/signed email much appreciated] pgp: 1A2B 477F 9970 BA3C 2914 B7CE 1277 EFB0 C321 A725 (KeyID: C321A725) --qMm9M+Fa2AknHoGS Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.13 (FreeBSD) iEYEARECAAYFAkqytEMACgkQEnfvsMMhpyXNtwCcCApbgKk0+8ktSvLLBhUnbzRg 7d0An0aJG8zD0MoxuH3xeG9rx+dC8c5S =1alc -----END PGP SIGNATURE----- --qMm9M+Fa2AknHoGS--