diff options
author | Bruno Friedmann <bruno.friedmann@bareos.com> | 2022-09-26 17:55:09 +0300 |
---|---|---|
committer | Bruno Friedmann <bruno.friedmann@bareos.com> | 2022-09-27 15:26:46 +0300 |
commit | 2393928bdf9d971d98dc2d8d0bb089f8187234bc (patch) | |
tree | 750248506735d20ccb22104cbc599f62520ffdb3 /docs | |
parent | 6bf69897ca6784734d62bce849c3d8a7d4750d7f (diff) |
docs: Document howto upgrade from generic python plugin
- 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>
Diffstat (limited to 'docs')
-rw-r--r-- | docs/manuals/source/Appendix/FAQ.rst | 41 |
1 files changed, 41 insertions, 0 deletions
diff --git a/docs/manuals/source/Appendix/FAQ.rst b/docs/manuals/source/Appendix/FAQ.rst index 09d8c1367..fa2c242d1 100644 --- a/docs/manuals/source/Appendix/FAQ.rst +++ b/docs/manuals/source/Appendix/FAQ.rst @@ -12,6 +12,47 @@ The process for handling security-related problems is described in our GitHub `s .. _security policy: https://github.com/bareos/bareos/security/policy +.. _bareos-1920-updatefaq: + +Upgrade of Bareos 19.2 with installed Python plugin on Debian +------------------------------------------------------------- + +.. index:: + single: Platform; Debian + single: bareos-19.2; Upgrade with Python packages on Debian + +On Debian platform, if you update from Bareos <=19.2 to Bareos >= 20 with any Python plugin installed, you will face some difficulties with :command:`apt upgrade`. +This is due to the renaming of Python plugin packages into python2 packages and introducing the python3 packages. apt/dpkg is not able to handle this situation alone. + + +.. code-block:: shell-session + :caption: Error upgrading from 19.2 with apt upgrade + + apt upgrade bareos bareos-director bareos-filedaemon + Reading package lists... Done + Building dependency tree + Reading state information... Done + Calculating upgrade... Done + Some packages could not be installed. This may mean that you have + requested an impossible situation or if you are using the unstable + distribution that some required packages have not yet been created + or been moved out of Incoming. + The following information may help to resolve the situation: + + The following packages have unmet dependencies: + bareos-director-python-plugin : Depends: bareos-common (= 19.2.12-2) but 21.1.2-1 is to be installed + bareos-filedaemon-python-plugin : Depends: bareos-common (= 19.2.12-2) but 21.1.2-1 is to be installed + E: Broken packages + + +In this case, it is advised to use :command:`apt` with `full-upgrade` and directly move to new recommended python3 plugin. + +.. code-block:: shell-session + :caption: for full upgrade to python3 + + apt full-upgrade bareos-director-python3-plugin bareos-filedaemon-python3-plugin + + .. _bareos-1825-updatefaq: Bareos 18.2.5 FAQ |