From cdf3ae1399da9d498bac3decea195734361c5a9c Mon Sep 17 00:00:00 2001 From: spacemanspiff2007 <10754716+spacemanspiff2007@users.noreply.github.com> Date: Wed, 6 Sep 2023 09:26:53 +0200 Subject: [PATCH 1/9] Update linux.md Added version pinning Signed-off-by: spacemanspiff2007 <10754716+spacemanspiff2007@users.noreply.github.com> --- installation/linux.md | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/installation/linux.md b/installation/linux.md index 68972e7053..ce490b930a 100644 --- a/installation/linux.md +++ b/installation/linux.md @@ -128,6 +128,19 @@ If you plan on disconnecting your machine from the internet, then you will want sudo apt-get install openhab-addons ``` +It's recommended to pin the openhab version (and openhab-addons) version to prevent unexpected breakage by accidentally updating openHAB. +This can be done by specifying the version, e.g. +```shell +sudo apt install openhab=4.0.1 +sudo apt install openhab-addons=4.0.1 +``` + +To get a list of all available version you can use +```shell +apt list -a openhab +``` + + {% include collapsible/item-end.html %} {% include collapsible/heading.html %} From 5d9f3fe578493d037266230881879332097186d5 Mon Sep 17 00:00:00 2001 From: spacemanspiff2007 <10754716+spacemanspiff2007@users.noreply.github.com> Date: Sun, 17 Sep 2023 15:08:16 +0200 Subject: [PATCH 2/9] Update linux.md --- installation/linux.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/installation/linux.md b/installation/linux.md index ce490b930a..a82a881633 100644 --- a/installation/linux.md +++ b/installation/linux.md @@ -128,14 +128,14 @@ If you plan on disconnecting your machine from the internet, then you will want sudo apt-get install openhab-addons ``` -It's recommended to pin the openhab version (and openhab-addons) version to prevent unexpected breakage by accidentally updating openHAB. -This can be done by specifying the version, e.g. +It's recommended to pin the openhab version (and openhab-addons version) to prevent unexpected breakage by accidentally updating openHAB. +This can be done by specifying the version when using the install command, e.g. ```shell sudo apt install openhab=4.0.1 sudo apt install openhab-addons=4.0.1 ``` -To get a list of all available version you can use +To get a list of all available versions you can use ```shell apt list -a openhab ``` From 5fd04403f56ec31003b52b293890eb2f2afd7b30 Mon Sep 17 00:00:00 2001 From: spacemanspiff2007 <10754716+spacemanspiff2007@users.noreply.github.com> Date: Sun, 17 Sep 2023 15:11:40 +0200 Subject: [PATCH 3/9] Update linux.md --- installation/linux.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/installation/linux.md b/installation/linux.md index a82a881633..76e68c8f43 100644 --- a/installation/linux.md +++ b/installation/linux.md @@ -130,12 +130,14 @@ sudo apt-get install openhab-addons It's recommended to pin the openhab version (and openhab-addons version) to prevent unexpected breakage by accidentally updating openHAB. This can be done by specifying the version when using the install command, e.g. + ```shell sudo apt install openhab=4.0.1 sudo apt install openhab-addons=4.0.1 ``` To get a list of all available versions you can use + ```shell apt list -a openhab ``` From e7aff1419b191998997a81e6df0e8bf4a5918182 Mon Sep 17 00:00:00 2001 From: spacemanspiff2007 <10754716+spacemanspiff2007@users.noreply.github.com> Date: Sun, 17 Sep 2023 15:13:45 +0200 Subject: [PATCH 4/9] Update linux.md --- installation/linux.md | 1 - 1 file changed, 1 deletion(-) diff --git a/installation/linux.md b/installation/linux.md index 76e68c8f43..3e50d5ecc5 100644 --- a/installation/linux.md +++ b/installation/linux.md @@ -142,7 +142,6 @@ To get a list of all available versions you can use apt list -a openhab ``` - {% include collapsible/item-end.html %} {% include collapsible/heading.html %} From dce1b44a61721ed1b066408a25adbe6aec38f247 Mon Sep 17 00:00:00 2001 From: spacemanspiff2007 <10754716+spacemanspiff2007@users.noreply.github.com> Date: Mon, 18 Sep 2023 05:43:08 +0200 Subject: [PATCH 5/9] Update linux.md --- installation/linux.md | 30 ++++++++++++++++++++++++++++-- 1 file changed, 28 insertions(+), 2 deletions(-) diff --git a/installation/linux.md b/installation/linux.md index 3e50d5ecc5..e29521fe26 100644 --- a/installation/linux.md +++ b/installation/linux.md @@ -115,6 +115,8 @@ Next, resynchronize the package index: sudo apt-get update ``` +##### Installing the latest version + Now install openHAB with the following command: ```shell @@ -128,8 +130,32 @@ If you plan on disconnecting your machine from the internet, then you will want sudo apt-get install openhab-addons ``` -It's recommended to pin the openhab version (and openhab-addons version) to prevent unexpected breakage by accidentally updating openHAB. -This can be done by specifying the version when using the install command, e.g. +##### Prevent automatic upgrade of openHAB + +To prevent unexpected breakage by accidentally updating openHAB it's recommended to only manually upgrade to the newest version. +This can be achieved by putting the openHAB package on "hold". + +```shell +sudo apt-mark hold openhab +sudo apt-mark hold openhab-addons +``` + +To enable automatic upgrades again run + +```shell +sudo apt-mark unhold openhab +sudo apt-mark unhold openhab-addons +``` + +To show the packages on hold run + +```shell +sudo apt-mark showhold +``` + +##### Installing a specific version + +Installing a specific version is possible by specifing the version that should be installed. ```shell sudo apt install openhab=4.0.1 From 0db824bbfc187ce970a00d702636f7bae621b612 Mon Sep 17 00:00:00 2001 From: spacemanspiff2007 <10754716+spacemanspiff2007@users.noreply.github.com> Date: Mon, 18 Sep 2023 05:47:59 +0200 Subject: [PATCH 6/9] Update linux.md --- installation/linux.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/installation/linux.md b/installation/linux.md index e29521fe26..d478006df1 100644 --- a/installation/linux.md +++ b/installation/linux.md @@ -115,7 +115,7 @@ Next, resynchronize the package index: sudo apt-get update ``` -##### Installing the latest version +**Installing the latest version** Now install openHAB with the following command: @@ -130,7 +130,7 @@ If you plan on disconnecting your machine from the internet, then you will want sudo apt-get install openhab-addons ``` -##### Prevent automatic upgrade of openHAB +**Prevent automatic upgrade of openHAB** To prevent unexpected breakage by accidentally updating openHAB it's recommended to only manually upgrade to the newest version. This can be achieved by putting the openHAB package on "hold". @@ -153,7 +153,7 @@ To show the packages on hold run sudo apt-mark showhold ``` -##### Installing a specific version +**Installing a specific version** Installing a specific version is possible by specifing the version that should be installed. From 364bfa157549bdf61260f9440fca411f5c3b9afd Mon Sep 17 00:00:00 2001 From: spacemanspiff2007 <10754716+spacemanspiff2007@users.noreply.github.com> Date: Mon, 18 Sep 2023 05:50:21 +0200 Subject: [PATCH 7/9] Update linux.md --- installation/linux.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/installation/linux.md b/installation/linux.md index d478006df1..e29521fe26 100644 --- a/installation/linux.md +++ b/installation/linux.md @@ -115,7 +115,7 @@ Next, resynchronize the package index: sudo apt-get update ``` -**Installing the latest version** +##### Installing the latest version Now install openHAB with the following command: @@ -130,7 +130,7 @@ If you plan on disconnecting your machine from the internet, then you will want sudo apt-get install openhab-addons ``` -**Prevent automatic upgrade of openHAB** +##### Prevent automatic upgrade of openHAB To prevent unexpected breakage by accidentally updating openHAB it's recommended to only manually upgrade to the newest version. This can be achieved by putting the openHAB package on "hold". @@ -153,7 +153,7 @@ To show the packages on hold run sudo apt-mark showhold ``` -**Installing a specific version** +##### Installing a specific version Installing a specific version is possible by specifing the version that should be installed. From 2eccc465df3733c872910aa63dbe981ec9432c0a Mon Sep 17 00:00:00 2001 From: spacemanspiff2007 <10754716+spacemanspiff2007@users.noreply.github.com> Date: Mon, 18 Sep 2023 06:00:44 +0200 Subject: [PATCH 8/9] Update linux.md --- installation/linux.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/installation/linux.md b/installation/linux.md index e29521fe26..b45247297d 100644 --- a/installation/linux.md +++ b/installation/linux.md @@ -115,7 +115,7 @@ Next, resynchronize the package index: sudo apt-get update ``` -##### Installing the latest version +##### **Installing the latest version** Now install openHAB with the following command: @@ -130,7 +130,7 @@ If you plan on disconnecting your machine from the internet, then you will want sudo apt-get install openhab-addons ``` -##### Prevent automatic upgrade of openHAB +##### **Prevent automatic upgrade of openHAB** To prevent unexpected breakage by accidentally updating openHAB it's recommended to only manually upgrade to the newest version. This can be achieved by putting the openHAB package on "hold". @@ -153,7 +153,7 @@ To show the packages on hold run sudo apt-mark showhold ``` -##### Installing a specific version +##### **Installing a specific version** Installing a specific version is possible by specifing the version that should be installed. From 775553b1cb0905c1b83c4b43727f8a3b9d904a0e Mon Sep 17 00:00:00 2001 From: spacemanspiff2007 <10754716+spacemanspiff2007@users.noreply.github.com> Date: Mon, 18 Sep 2023 06:02:34 +0200 Subject: [PATCH 9/9] Update linux.md --- installation/linux.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/installation/linux.md b/installation/linux.md index b45247297d..e29521fe26 100644 --- a/installation/linux.md +++ b/installation/linux.md @@ -115,7 +115,7 @@ Next, resynchronize the package index: sudo apt-get update ``` -##### **Installing the latest version** +##### Installing the latest version Now install openHAB with the following command: @@ -130,7 +130,7 @@ If you plan on disconnecting your machine from the internet, then you will want sudo apt-get install openhab-addons ``` -##### **Prevent automatic upgrade of openHAB** +##### Prevent automatic upgrade of openHAB To prevent unexpected breakage by accidentally updating openHAB it's recommended to only manually upgrade to the newest version. This can be achieved by putting the openHAB package on "hold". @@ -153,7 +153,7 @@ To show the packages on hold run sudo apt-mark showhold ``` -##### **Installing a specific version** +##### Installing a specific version Installing a specific version is possible by specifing the version that should be installed.