Changes between Version 189 and Version 190 of Download


Ignore:
Timestamp:
2022-06-23T13:26:32+02:00 (4 years ago)
Author:
tbutz@…
Comment:

Switch to signed-by

Legend:

Unmodified
Added
Removed
Modified
  • Download

    v189 v190  
    7777
    7878{{{#!sh
    79 deb https://josm.openstreetmap.de/apt jammy universe
    80 deb https://josm.openstreetmap.de/apt impish universe
    81 deb https://josm.openstreetmap.de/apt hirsute universe
    82 deb https://josm.openstreetmap.de/apt groovy universe
    83 deb https://josm.openstreetmap.de/apt focal universe
    84 deb https://josm.openstreetmap.de/apt eoan universe
    85 deb https://josm.openstreetmap.de/apt disco universe
    86 deb https://josm.openstreetmap.de/apt bionic universe
     79deb [signed-by=/usr/share/keyrings/josm-apt.key] https://josm.openstreetmap.de/apt jammy universe
     80deb [signed-by=/usr/share/keyrings/josm-apt.key] https://josm.openstreetmap.de/apt impish universe
     81deb [signed-by=/usr/share/keyrings/josm-apt.key] https://josm.openstreetmap.de/apt hirsute universe
     82deb [signed-by=/usr/share/keyrings/josm-apt.key] https://josm.openstreetmap.de/apt groovy universe
     83deb [signed-by=/usr/share/keyrings/josm-apt.key] https://josm.openstreetmap.de/apt focal universe
     84deb [signed-by=/usr/share/keyrings/josm-apt.key] https://josm.openstreetmap.de/apt eoan universe
     85deb [signed-by=/usr/share/keyrings/josm-apt.key] https://josm.openstreetmap.de/apt disco universe
     86deb [signed-by=/usr/share/keyrings/josm-apt.key] https://josm.openstreetmap.de/apt bionic universe
    8787
    8888# For other Debian based distributions add:
    89 deb https://josm.openstreetmap.de/apt alldist universe
     89deb [signed-by=/usr/share/keyrings/josm-apt.key] https://josm.openstreetmap.de/apt alldist universe
    9090}}}
    9191
    9292Alternatively, this can be done with the following one-liner in Ubuntu (not for Ubuntu based distributions like Linux Mint):
    9393{{{
    94 echo deb https://josm.openstreetmap.de/apt $(lsb_release -sc) universe | sudo tee /etc/apt/sources.list.d/josm.list > /dev/null
     94echo "deb [signed-by=/usr/share/keyrings/josm-apt.key] https://josm.openstreetmap.de/apt $(lsb_release -sc) universe" | sudo tee /etc/apt/sources.list.d/josm.list > /dev/null
    9595}}}
    9696or for Linux Mint:
    9797{{{
    98 echo deb https://josm.openstreetmap.de/apt $(grep ^DISTRIB_CODENAME= /etc/upstream-release/lsb-release| awk -F = '{print $(2)}') universe | sudo tee /etc/apt/sources.list.d/josm.list > /dev/null
     98echo "deb [signed-by=/usr/share/keyrings/josm-apt.key] https://josm.openstreetmap.de/apt $(grep ^DISTRIB_CODENAME= /etc/upstream-release/lsb-release| awk -F = '{print $(2)}') universe" | sudo tee /etc/apt/sources.list.d/josm.list > /dev/null
    9999}}}
    100100
     
    102102### below did not work on all systems
    103103and add the following line:
    104 `deb https://josm.openstreetmap.de/apt VERSION universe`
    105 }}}
    106 
    107 Download and register the [/josm-apt.key public key]:
    108 {{{#!sh
    109 wget -q https://josm.openstreetmap.de/josm-apt.key -O- | sudo apt-key add -
     104`deb [signed-by=/usr/share/keyrings/josm-apt.key] https://josm.openstreetmap.de/apt VERSION universe`
     105}}}
     106
     107Download the [/josm-apt.key public key]:
     108{{{#!sh
     109sudo wget -O /usr/share/keyrings/josm-apt.key https://josm.openstreetmap.de/josm-apt.key
    110110}}}
    111111