Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Port upgrading leaves system unusable #40

Open
bdrewery opened this issue Jun 18, 2014 · 3 comments
Open

Port upgrading leaves system unusable #40

bdrewery opened this issue Jun 18, 2014 · 3 comments

Comments

@bdrewery
Copy link
Member

When a port is upgraded it is:

  1. Deinstalled
  2. Dependencies are then upgraded
  3. Dependencies are deleted as their own dependencies are upgraded
  4. As the chain is walked back up then the various ports are installed

This leaves the system missing many packages for a long period of time.

It would be much better if this upgraded dependencies first and then deinstalled/installed the upgraded port.

@bdrewery
Copy link
Member Author

The -t option seems to work as I expect. This also avoids the issue of portmaster losing control of building ports due to make all default changing to make stage (which installs run-depends) [https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=189398]

@bdrewery
Copy link
Member Author

Ports r191960 changed this behavior

7. Split tracking of build and run depends to before and after the
port build respectively.

@oparoz
Copy link

oparoz commented Jan 6, 2015

I've just fallen victim to this bug. binutils got removed before updating indexinfo, which left the system in an unusable state.

  1. Does -t fix this then?
  2. How do we know when to apply it?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants