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

Update removing packages without replacement #51

Closed
andreas-p opened this issue May 3, 2019 · 3 comments
Closed

Update removing packages without replacement #51

andreas-p opened this issue May 3, 2019 · 3 comments
Labels

Comments

@andreas-p
Copy link

When updating from 19.1.6 to 19.1.7, the bind912 package was removed (probably because bind-tools-914 was to be installed), but bind914 wasn't installed so I was left with disfunctional local resolving.

In general, the updater shouldn't remove a package without installing a replacement.

@fichtner
Copy link
Member

fichtner commented May 3, 2019

You can report this to https://github.com/freebsd/pkg or https://bugs.freebsd.org/bugzilla/ or discuss this package split on the FreeBSD ports mailing list. It was a FreeBSD ports decision to break out bind-tools completely. There's nothing I can do here.

https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=237551

All plugin dependencies have been correctly adjusted so you must have been assuming "bind912" is always there and use it manually.

opnsense/plugins@942687d476

Looking at closer it's good that "pkg" uses consistency and forces the stale package out rather than keeping the stale one and not updating correctly. If you run into these issues you can always lock the particular package from the GUI, but having said the previous it'll probably prevent you from updating correctly. It's an impossible choice to assume what the user wants so the system goes with a sane state.

Please also note this has nothing to do with opnsense-update as the "bad" behaviour is a single call of "pkg upgrade".

@fichtner fichtner closed this as completed May 3, 2019
@fraenki
Copy link
Member

fraenki commented May 8, 2019

but bind914 wasn't installed so I was left with disfunctional local resolving

@andreas-p, if you want to ensure that a working BIND package is always installed, I'd suggest to install (and configure) the official BIND plugin "os-bind". (Feel free to open feature requests in opnsense/plugins if it's missing functionality that you rely on.)

@andreas-p
Copy link
Author

os-bind doesn't allow support file include or "custom options", I already requested that. Need to stay with plain freebsd pkg.

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

No branches or pull requests

3 participants