From: Nicholas Clark Date: 11:42 on 13 Dec 2007 Subject: emerge Right. So I have "emerge"d something that I realise doesn't do what I want. So I want to undo that. Easy? No. There is no simple option to do it. By simple, I mean simple for the user --unmerge (-C) WARNING: This action can remove important packages! Removes all matching packages. This does no checking of dependencies, so it may remove packages necessary for the proper operation of your system. Its arguments can be atoms or ebuilds. For a dependency aware version of --unmerge, use --depclean or --prune. nope. Having warnings that big doesn't qualify as simple. --prune (-P) WARNING: This action can remove important packages! Removes all but the highest installed version of a package from your system. This action doesn't verify the possible binary compatibility between versions and can thus remove essential dependencies from your system. Use --prune together with --verbose to show reverse dependencies or with --nodeps to ignore all dependencies. nope. Again warnings that big *and* it isn't going to remove all versions of something I don't need --depclean Cleans the system by removing packages that are not associated with explicitly merged packages. Depclean works by creating the full dependency tree from the system list and the world file, then comparing it to installed packages. Packages installed, but not associated with an explicit merge are listed as candidates for unmerging. Inexperienced users are advised to use --pretend nope. Removes everything, not just the one thing I'm interested in. Why is this so hard? It is a simple task, that I can't have been the first person needing to do it. It's almost as if the Gentoo developers don't actually use Gentoo themselves. Nicholas Clark
From: Peter da Silva Date: 16:13 on 13 Dec 2007 Subject: Re: emerge On 13-Dec-2007, at 05:42, Nicholas Clark wrote: > Why is this so hard? It is a simple task, that I can't have been > the first > person needing to do it. It's almost as if the Gentoo developers don't > actually use Gentoo themselves. I doubt very much whether they ever remove a package. It seems like the Gentoo way would be to reinstall the system from scratch rather than pollute the pristine serenity of a perfect build with a single inconsistently merged package.
Generated at 10:26 on 16 Apr 2008 by mariachi