Ticket #129 (new enhancement)

Opened 13 years ago

Last modified 13 years ago

Safe Upgrading / Removal Support

Reported by: ciaranm Owned by: ciaranm
Priority: ProjectIdeas Milestone:
Component: core/paludis Version:
Keywords: Cc:
Blocked By: Blocking:


Upgrading packages is dangerous. Paludis does not check before uninstalling or upgrading a .so file that that .so file is not required.

This project, as we see it currently, consists of:

  • Handling needed .so files upon upgrades. This can be done by reparenting files to the upgraded package rather than removing them.
  • Warning before uninstalling a package that provides in-use .so files.
  • Lots of unit tests.

Problems to solve:

  • How to check for needed .so files, and reasonably quickly.
  • How to support dependencies that aren't .so files.
  • How to avoid leaving lots of cruft around for ages.

You may have better ideas than we do about how to solve this. Feel free to discuss ideas with us on IRC before submitting proposals.

Note: See TracTickets for help on using tickets.