passbolt / passbolt_help

Passbolt help and knowledge base site for the open source password manager for teams!
https://help.passbolt.com
GNU Affero General Public License v3.0
52 stars 183 forks source link

Documentation on help.passbolt.com is wrong in regard to apt syntax #103

Open RandomUser0815 opened 8 months ago

RandomUser0815 commented 8 months ago

Here https://help.passbolt.com/hosting/update/ubuntu-package.html the syntax for the apt package manager is wrong. "--only-upgrade" is only available to "apt-get" and not "apt" command, atleast for Ubuntu 22.04 (Jammy) and apt 2.4.10.

The same probably applies also to

https://help.passbolt.com/hosting/update/debian-package.html and https://help.passbolt.com/hosting/update/raspberry.html

Wrong:

3. Upgrade your system

sudo apt update
sudo apt --only-upgrade install passbolt-ce-server
sudo apt upgrade

Right:

sudo apt-get update
sudo apt-get --only-upgrade install passbolt-ce-server
sudo apt-get upgrade
RandomUser0815 commented 8 months ago

Update:

The command "apt --only-upgrade install passbolt-ce-server" works, although the apt man page does not mention, that the argument "--only-upgrade" is available. So this should probably get raised to the apt maintainers.

The question is whether the documentation for passbolt should be modified accordingly.