View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0001471 | bareos-core | installer / packages | public | 2022-07-13 11:39 | 2022-07-28 09:27 |
Reporter | amodia | Assigned To | bruno-at-bareos | ||
Priority | normal | Severity | tweak | Reproducibility | N/A |
Status | resolved | Resolution | fixed | ||
OS | Debian 11 | ||||
Product Version | 21.1.3 | ||||
Summary | 0001471: Shell example script for Bareos installation on Debian / Ubuntu uses deprecated "apt-key" | ||||
Description | Using the script raises the warning: "apt-key is deprecated". In order to correct this, it is suggested to change --- # add package key wget -q $URL/Release.key -O- | apt-key add - --- to +++ # add package key wget -q $URL/Release.key -O- | gpg --dearmor -o /usr/share/keyrings/bareos.gpg sed -i -e 's#deb #deb [signed-by=/usr/share/keyrings/bareos.gpg] #' /etc/apt/sources.list.d/bareos.list +++ | ||||
Tags | No tags attached. | ||||
Would this be valid for any version of Debian/ubuntu used (deb 9, and ubuntu 18.04) ? | |
We appreciate any effort made to make our software better. This would be a nice improvement. Testing on old systems seems ok, checking how much effort to change the code and handle the update/upgrade process on user installation + documentation changes. |
|
Adding public reference of the why apt-key should be changed and how, https://askubuntu.com/questions/1286545/what-commands-exactly-should-replace-the-deprecated-apt-key/1307181#1307181 Maybe changing to Deb822 .sources files is the way to go. |
|
I ran into this issue on the update from Bareos 20 to 21. So I can't comment on earlier versions. My "solution" was the first that worked. Any solution that is better, more compatible and/or requires less effort is appreciated. |
|
Changes applied to future documentation commit c08b56c1a PR1203 |
|
Follow status in PR1203 https://github.com/bareos/bareos/pull/1203 | |
Date Modified | Username | Field | Change |
---|---|---|---|
2022-07-13 11:39 | amodia | New Issue | |
2022-07-14 10:09 | bruno-at-bareos | Note Added: 0004665 | |
2022-07-14 10:44 | bruno-at-bareos | Assigned To | => bruno-at-bareos |
2022-07-14 10:44 | bruno-at-bareos | Status | new => acknowledged |
2022-07-14 10:44 | bruno-at-bareos | Note Added: 0004666 | |
2022-07-14 11:01 | bruno-at-bareos | Note Added: 0004667 | |
2022-07-14 13:06 | amodia | Note Added: 0004669 | |
2022-07-28 09:26 | bruno-at-bareos | Note Added: 0004695 | |
2022-07-28 09:27 | bruno-at-bareos | Status | acknowledged => resolved |
2022-07-28 09:27 | bruno-at-bareos | Resolution | open => fixed |
2022-07-28 09:27 | bruno-at-bareos | Note Added: 0004696 |