- Package
OpenERP
, installed in version7.0.0-0106
- Package
Python Modules
, previously installed in version0114
, was automatically updated to version0115
- The update caused
OpenERP
to fail, due to missing compatibility withPython Modules
in version0115
- No update available for
OpenERP
because it is EOL and replaced by https://www.odoo.com/
Synology DSM is not capable of downgrading individual packages and you can not uninstall a package (to install the older version), when there are packages installed, that depend on the package to be downgraded. Uninstalling the depending packages is often not in option or the last way to go.
- Do a full system and data backup - just in case
- Enable SSH server on the Synology via [Control Center -> Terminal & SNMP].
- Download the older package version here: https://archive.synology.com/download/Package
- Disable automatic updates entirely or for the package that you want to downgrade.
- Log into your Synology via SSH as an administrative user.
- Go to package directory
Navigate to/var/packages/
and find the directory of your package, that has a dependency on the package to downgrade, in my case:OpenERP
in/var/packages/OpenERP7.x
- Backup the
INFO
file - Open the INFO file with vim and find the dependency-line, in my case:
install_dep_packages="PythonModule"
remove the line and save the file. - Repeat step 4 for all packages, that depend on your packge to downgrade.
- Open the Package Center in your web browser and uninstall the package to downgrade, in my case
Python Modules
- Install the old version of your package via Package Center or via SSH
synopkg install <package-file>.spk
- Replace the modified
INFO
file with your backup, or insert the removed line yourself. - Start the failed package via Package Center.