View Issue Details

IDProjectCategoryView StatusLast Update
0001471bareos-coreinstaller / packagespublic2022-07-28 09:27
Reporteramodia Assigned Tobruno-at-bareos  
PrioritynormalSeveritytweakReproducibilityN/A
Status resolvedResolutionfixed 
OSDebian 11 
Product Version21.1.3 
Summary0001471: Shell example script for Bareos installation on Debian / Ubuntu uses deprecated "apt-key"
DescriptionUsing 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
+++
TagsNo tags attached.

Activities

bruno-at-bareos

bruno-at-bareos

2022-07-14 10:09

manager   ~0004665

Would this be valid for any version of Debian/ubuntu used (deb 9, and ubuntu 18.04) ?
bruno-at-bareos

bruno-at-bareos

2022-07-14 10:44

manager   ~0004666

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.
bruno-at-bareos

bruno-at-bareos

2022-07-14 11:01

manager   ~0004667

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.
amodia

amodia

2022-07-14 13:06

reporter   ~0004669

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.
bruno-at-bareos

bruno-at-bareos

2022-07-28 09:26

manager   ~0004695

Changes applied to future documentation
commit c08b56c1a
PR1203
bruno-at-bareos

bruno-at-bareos

2022-07-28 09:27

manager   ~0004696

Follow status in PR1203 https://github.com/bareos/bareos/pull/1203

Issue History

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