debian upstream-package v.1.0.2

master
Sergey G. Brester 2023-02-28 11:26:15 +01:00
parent 98ae7252fe
commit b82f859ef6
1 changed files with 8 additions and 8 deletions

@ -17,18 +17,18 @@ This upstream package is very similar the package maintaining for the latest deb
<details><summary>Read more ...</summary>
To install the deb-package manually following steps are necessary (here is an example for 0.10.6):
To install the deb-package manually following steps are necessary (here is an example for [1.0.2](https://github.com/fail2ban/fail2ban/releases/tag/1.0.2)):
```bash
cd /tmp/
# 1) download deb package and signature:
wget https://github.com/fail2ban/fail2ban/releases/download/0.10.6/fail2ban_0.10.6-1.upstream1_all.deb \
https://github.com/fail2ban/fail2ban/releases/download/0.10.6/fail2ban_0.10.6-1.upstream1_all.deb.asc
wget -O fail2ban.deb https://github.com/fail2ban/fail2ban/releases/download/1.0.2/fail2ban_1.0.2-1.upstream1_all.deb
wget -O fail2ban.deb.asc https://github.com/fail2ban/fail2ban/releases/download/1.0.2/fail2ban_1.0.2-1.upstream1_all.deb.asc
# 2) check signature (if you want to be sure file is unmodified):
gpg --verify fail2ban_0.10.6-1~upstream1_all.deb.asc fail2ban_0.10.6-1~upstream1_all.deb
gpg --verify fail2ban.deb.asc fail2ban.deb
# 3) view details of the package:
dpkg -I fail2ban_0.10.6-1.upstream1_all.deb
dpkg -I fail2ban.deb
# 4) to ensure the upgrade run gentler (protocol of previous version may be incompatible), stop fail2ban before install:
# using service:
@ -37,13 +37,13 @@ sudo service fail2ban stop
sudo fail2ban-client stop
# 5a) either install package using dpkg (standalone package, don't regard dependencies):
sudo dpkg -i fail2ban_0.10.6-1.upstream1_all.deb
sudo dpkg -i fail2ban.deb
# if the package introduces some "broken" dependencies (I don't think so in case of fail2ban which has few dependencies),
# to fix the unmet dependency issue, run this:
sudo apt -f install
# 5b) alternatively install package using gdebi (that will take care of installation of dependencies):
sudo gdebi fail2ban_0.10.6-1.upstream1_all.deb
sudo gdebi fail2ban.deb
# if you want to check anyway whether there are some broken packages and fix them automatically, you can run:
sudo apt -f install
```
@ -60,7 +60,7 @@ Manual install/upgrade is very similar to aforementioned [testing of standalone
<details><summary>Read more ...</summary>
Firstly download fail2ban from [releases](https://github.com/fail2ban/fail2ban/releases) or from [source](https://github.com/fail2ban/fail2ban) (select branch 0.10, 0.11 or master and click "clone or download" button) and unpack it (or clone it with git) into some temporary directory (e. g. `/tmp/f2b`).
Firstly download fail2ban from [releases](https://github.com/fail2ban/fail2ban/releases) or from [source](https://github.com/fail2ban/fail2ban) (select branch master or 0.10, 0.11 and click "clone or download" button) and unpack it (or clone it with git) into some temporary directory (e. g. `/tmp/f2b`).
In order to install it, you have to execute several of following commands as root (or sudoer), so you can start shell as root (e. g. `sudo -s`) or use `sudo` before corresponding command that expecting administrator permissions.