Summary: | Third-Party Tool Request - Checkpointing and restoring packages states, e.g. `emerge undo`. | ||
---|---|---|---|
Product: | Portage Development | Reporter: | rodgling <dav1dr> |
Component: | Third-Party Tools | Assignee: | Portage Tools Team <tools-portage> |
Status: | CONFIRMED --- | ||
Severity: | enhancement | CC: | gentoo, kalium, m.debruijne, mmokrejs, pacho, pf_wall79, sam, schulz.benjamin |
Priority: | High | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
URL: | https://ostreedev.github.io/ostree/ | ||
See Also: | https://bugs.gentoo.org/show_bug.cgi?id=537080 | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Bug Depends on: | |||
Bug Blocks: | 472746, 748108 |
Description
rodgling
2004-02-01 13:50:01 UTC
*** Bug 2042 has been marked as a duplicate of this bug. *** You may need to rengenerate /usr/lib/portage/pym/portage.pyc (or emerge will crash). This is done by first patching, and then: cd /usr/lib/portage/pym python -c "import portage" Patches against 2.0.50 are at http://www.cs.swan.ac.uk/~csdave/portage/ *** Bug 85146 has been marked as a duplicate of this bug. *** I think it would be nice since with emerge -uD world, often many package are emerged, the user could specify the package to undo. for example, I installed recently with emerge -uD world a buggy graphics driver by nvidia. I only needed the old driver back, but had not noticed it's version number. It would be good if I could type emerge --undo package and the last installed package is re emerged. Also an emerge --undo D package that re emerges all older librarys which new versions would not work because of the re- emerge of the old version of "package" It already has this exact functionality :-) Just use emerge --undo [list of packages or regexes] e.g. emerge --undo .*nvidia.* Unfortunately as can be seen by the version of the patch, I haven't updated this for some time, and probably won't as no-one seems really interested in putting it into main-line portage. But it should be easy to get it up to date again. Putting a hold on feature requests for portage as they are drowning out the bugs. Most of these features should be available in the next major version of portage. But for the time being, they are just drowning out the major bugs and delaying the next version's progress. Any bugs that contain patches and any bugs for etc-update or dispatch-conf can be reopened. Sorry, I'm just not good enough with bugzilla. ;) *** Bug 111079 has been marked as a duplicate of this bug. *** *** Bug 143113 has been marked as a duplicate of this bug. *** Reopening for duping. Actually this isn't a dupe of 127797 I think this kind of functionality is best handled via filesystem-level snapshots, like btrfs supports via subvolume snapshots. I'm not so sure it would be a good idea for portage to be aware of such things, since it's easy enough for the user to manage with the tools of his/her choice. *** Bug 654586 has been marked as a duplicate of this bug. *** There is also defaulting to building binpkgs, and restoring an unmerged pkg from it. That won't track any manual config changes though. We can create a gentoo-ostree, like https://github.com/coreos/rpm-ostree, but for gentoo. |