From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 14750 invoked from network); 2 Jun 2004 21:11:41 +0000 Received: from smtp.gentoo.org (156.56.111.197) by lists.gentoo.org with SMTP; 2 Jun 2004 21:11:41 +0000 Received: from lists.gentoo.org ([156.56.111.196] helo=parrot.gentoo.org) by smtp.gentoo.org with esmtp (Exim 4.34) id 1BVd1O-00072i-NU for arch-gentoo-portage-dev@lists.gentoo.org; Wed, 02 Jun 2004 21:11:39 +0000 Received: (qmail 15671 invoked by uid 89); 2 Jun 2004 21:11:37 +0000 Mailing-List: contact gentoo-portage-dev-help@gentoo.org; run by ezmlm Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail Reply-To: gentoo-portage-dev@lists.gentoo.org X-BeenThere: gentoo-portage-dev@gentoo.org Received: (qmail 15499 invoked from network); 2 Jun 2004 21:11:36 +0000 From: hmhansolo gentoo To: gentoo-portage-dev@lists.gentoo.org In-Reply-To: <20040602222708.3efc11ef@localhost> References: <20040602222708.3efc11ef@localhost> Content-Type: text/plain Content-Transfer-Encoding: 7bit Message-Id: <1086210643.8626.9.camel@localhost> Mime-Version: 1.0 X-Mailer: Ximian Evolution 1.4.6 Date: Wed, 02 Jun 2004 14:10:43 -0700 Subject: Re: [gentoo-portage-dev] Undo feature in portage-ng ? X-Archives-Salt: 4bb9dd19-aa5d-4e50-a07c-5736c292eda2 X-Archives-Hash: ae1b9b44c9237ded7e37e9fec0a4d88a Yo, If you mean uninstalling an installed application, then portage is capable of that. After you emerge something as such: emerge thissocoolapplication -v all you have to do to undo the changes that the above command made is this: emerge unmerge thissocoolapplication -v . Notice a few things. emerge unmerge does not remove files from cfgprotected directed such as /etc or /lib/modules/*/ and there are some others.. so those files will have to be removed manually.. they will show up as a "--- cfgpro NAMEOFFILE" listing in the output of the uninstall command.. those are the ones u have to manually remove.. on the other hand.. u could just change the environment variable 'CONFIG_PROTECT', to empty.. and then "emerge unmerge": export CONFIG_PROTECT="" emerge unmerge ... if u go to /var/db/pkg, you can see all the info for all the packages installed, like what files were installed and other cool stuff alternatively.. u can install gentoolkit which installs the qpkg command, which can be used to query information about installed and not yet installed packages via.. "qpkg -l PACKAGENAME" now if u mean recording the entire state of the filesystem that has been installed by portage at some point (like an emerge snapshot) and reverting back to that snapshot from some other point of time.. well.. that hasn't been done.. --31337357 313373 93n700 H4(|<3|2 --hmhansolo On Wed, 2004-06-02 at 13:27, humbaba@gmx.net wrote: > Hi > I was wandering whether the are plans to implement a kind of undo function in portage-ng or even portage. > It would be very nice to have an option in emerge wich makes portage to record all the changes that are done during an emerge, so you can later undo this changes. > Somthing like: > emerge kde-3.2 --record-changes-in /path/to/file > and when you want get back to the previour version/state of system: > emerge --undo-changes /path/to/file > > I hope this is the right place to ask for such things. When it is not (please let me know), I appolozise. > > Thanks > > -- > gentoo-portage-dev@gentoo.org mailing list > -- gentoo-portage-dev@gentoo.org mailing list