* Re: [gentoo-portage-dev] Undo feature in portage-ng ?
@ 2004-06-02 21:10 99% ` hmhansolo gentoo
0 siblings, 0 replies; 1+ results
From: hmhansolo gentoo @ 2004-06-02 21:10 UTC (permalink / raw
To: gentoo-portage-dev
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
^ permalink raw reply [relevance 99%]
Results 1-1 of 1 | reverse | options above
-- pct% links below jump to the message on this page, permalinks otherwise --
2004-06-02 20:27 [gentoo-portage-dev] Undo feature in portage-ng ? humbaba
2004-06-02 21:10 99% ` hmhansolo gentoo
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox