docs: add FAQ entry about howto upgrade from Bareos < 20 with Bareos Python packages installed#1260
Conversation
joergsteffens
left a comment
There was a problem hiding this comment.
I've tested with bareos-19.2 and packages bareos-filedaemon and bareos-filedaemon-python-plugin(and the automatic dependency bareos-common).
While apt upgrade bareos-filedaemon fails, you can work around it by:
apt install bareos-filedaemon
or
apt full-upgrade bareos-filedaemon
will both succeed, but remove the package bareos-filedaemon-python-plugin.
However, if you specify
apt full-upgrade bareos-filedaemon bareos-filedaemon-python3-plugin
or even only
apt full-upgrade bareos-filedaemon-python3-plugin
or
apt install bareos-filedaemon bareos-filedaemon-python3-plugin
or
apt install bareos-filedaemon-python3-plugin
will all succeed and achieve what is requested.
Of course, same is true if you replace bareos-filedaemon-python3-plugin by bareos-filedaemon-python2-plugin
Given this, I'm not sure it is worth to spend a section in the Update chapter for it, as it only affects old versions. But I understood, that there have been questions about this. Would placing the section into https://docs.bareos.org/Appendix/FAQ.html instead be helpful?
|
Hi @joergsteffens thanks a lot for your precious addition and tests.
|
21f1dce to
84f9c99
Compare
joergsteffens
left a comment
There was a problem hiding this comment.
Looks good. I've added a few minor comments.
|
I suggest renaming this PR to |
|
All changes applied, once agreed I will squash I propose to add the CHANGELOG |
00089e3 to
879f63d
Compare
- Add instructions to FAQ about python plugin `broken package` with apt upgrade [OP #5250] [OP #5155] Co-authored-by: Jörg Steffens <joergsteffens@users.noreply.github.com> Signed-off-by: Bruno Friedmann <bruno.friedmann@bareos.com>
Signed-off-by: Bruno Friedmann <bruno.friedmann@bareos.com>
879f63d to
9834b8b
Compare
This PR add instructions to FAQ Bareos chapter about python plugin
broken packageswithapt upgrade[OP #5250] [OP #5155]
Please check
If you have any questions or problems, please give a comment in the PR.
Helpful documentation and best practices
Checklist for the reviewer of the PR (will be processed by the Bareos team)
General
Source code quality
bareos-check-sources --since-mergedoes not report any problems