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

pkg-update(8): if multiple repositories are specified, then perform updates in the specified order #2403

Open
grahamperrin opened this issue Jan 24, 2025 · 1 comment

Comments

@grahamperrin
Copy link
Contributor

grahamperrin commented Jan 24, 2025

A very minor issue:

root@mowa219-gjp4-zbook-freebsd:~ # pkg update -r FreeBSD-base -r FreeBSD-ports ; date
Updating FreeBSD-ports repository catalogue...
FreeBSD-ports repository is up to date.
Updating FreeBSD-base repository catalogue...
Fetching data.pkg: 100%   51 KiB  52.6kB/s    00:01    
Processing entries: 100%
The provides database is up-to-date.
FreeBSD-base repository update completed. 540 packages processed.
FreeBSD-base, FreeBSD-ports are up to date.
Fri Jan 24 04:23:41 GMT 2025
root@mowa219-gjp4-zbook-freebsd:~ # 
  • I specified FreeBSD-base followed by FreeBSD-ports
  • the result was FreeBSD-ports followed by FreeBSD-base (with the provides database between the two, in my case).

Enhancement request

Make the order of actions, and results, consistent with the order at the command line.

Thanks

Thoughts

It's probably true that the end result will be the same with, or without, matching order.

There is, however, slight potential for an end user to misunderstand things by viewing (but not mentally acknowledging) a first action performed on a second repo; a second action performed on a first repo; and so on.

@grahamperrin

This comment has been minimized.

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

1 participant