From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from lists.gentoo.org ([140.105.134.102] helo=robin.gentoo.org) by nuthatch.gentoo.org with esmtp (Exim 4.60) (envelope-from ) id 1GLu1x-0005ix-To for garchives@archives.gentoo.org; Sat, 09 Sep 2006 04:01:22 +0000 Received: from robin.gentoo.org (localhost [127.0.0.1]) by robin.gentoo.org (8.13.8/8.13.6) with SMTP id k893xsuu030387; Sat, 9 Sep 2006 03:59:54 GMT Received: from shuttle.zlin.dk (port78.ds1-abs.adsl.cybercity.dk [212.242.227.17]) by robin.gentoo.org (8.13.8/8.13.6) with ESMTP id k893tVAL029977 for ; Sat, 9 Sep 2006 03:55:32 GMT Received: from BA.zlin.dk (unknown [10.0.0.3]) by shuttle.zlin.dk (Postfix) with ESMTP id A159630037 for ; Sat, 9 Sep 2006 05:55:31 +0200 (CEST) From: Bo =?iso-8859-1?q?=D8rsted_Andresen?= To: gentoo-user@lists.gentoo.org Subject: Re: [gentoo-user] Re: gcc upgrade from 3.x to 4.x, when should I run revdep-rebuild? Date: Sat, 9 Sep 2006 05:55:26 +0200 User-Agent: KMail/1.9.1 References: <200609090459.16850.bo.andresen@zlin.dk> <45023601.4030508@vista-express.com> In-Reply-To: <45023601.4030508@vista-express.com> Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-user@gentoo.org Reply-to: gentoo-user@lists.gentoo.org MIME-Version: 1.0 Content-Type: multipart/signed; boundary="nextPart1189087.stXC14TqHM"; protocol="application/pgp-signature"; micalg=pgp-sha1 Content-Transfer-Encoding: 7bit Message-Id: <200609090555.32117.bo.andresen@zlin.dk> X-Archives-Salt: 18bf3625-df8a-4c4e-b55a-714ec530d439 X-Archives-Hash: 2ee2b13f54e0b654efdbf4f046b584bf --nextPart1189087.stXC14TqHM Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline On Saturday 09 September 2006 05:33, Dale wrote: > What would be a good way of finding files that were not deleted when > something was upgraded/unmerged? =A0I thought depclean was different from > what I wanted to say but it got the ball rolling. Depclean is to remove packages that are no longer in or a dependency of=20 something in your world file. > Last part, zoooooooom, right over my head I think. =A0Let's see if I get > this right. =A0emerge put a file in there, something, me maybe, changed > something so it leaves it alone. =A0That right?? Yep.=20 So just to illustrate: # touch /usr/share/vim/vimfiles/plugin/bugsummary.vim # emerge --unmerge -va gentoo-syntax >>> These are the packages that would be unmerged: [SNIP] >>> Unmerging app-vim/gentoo-syntax-20051221-r1... No package files given... Grabbing a set. [SNIP] <<< obj /usr/share/vim/vimfiles/plugin/newinitd.vim <<< obj /usr/share/vim/vimfiles/plugin/neweselect.vim <<< obj /usr/share/vim/vimfiles/plugin/newebuild.vim <<< obj /usr/share/vim/vimfiles/plugin/gentoo-common.vim =2D-- !mtime obj /usr/share/vim/vimfiles/plugin/bugsummary.vim [SNIP] =2D-- !empty dir /usr/share/vim <<< dir /usr/share/doc/gentoo-syntax-20051221-r1 All the things that has a "<<<" are actually removed. The things with "---"= =20 are not removed for the reason given in the following column. Since I=20 touch'ed /usr/share/vim/vimfiles/plugin/bugsummary.vim it wasn't removed=20 with the reason: "!mtime" which means the last modified time has been alter= ed=20 after it was installed. The reason "!empty" is the reason for dirs which=20 aren't empty (others packages have installed files in the same dirs...). After the unmerge is complete the only way to know is that the files no lon= ger=20 belong to any package. Of course when I remerge this package in a few minut= es=20 the files will be overwritten and the mtime will be correct again... Hope that makes it clear. =2D-=20 Bo Andresen --nextPart1189087.stXC14TqHM Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.5 (GNU/Linux) iD8DBQBFAjs08/kKEzmwNNoRAkgdAJwOukrNAf3lEt/a1wYXO08s38q7IgCfY1kK O4ABGniciSsHJRB9DyQgjoM= =XHtB -----END PGP SIGNATURE----- --nextPart1189087.stXC14TqHM-- -- gentoo-user@gentoo.org mailing list