Changes between Version 3 and Version 4 of Ticket #22148


Ignore:
Timestamp:
2022-06-19T19:51:33+02:00 (4 years ago)
Author:
skyper
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #22148 – Description

    v3 v4  
    66
    77----
     8I only tested below on plain Debian, please, recheck on Ubuntu.
    89
    910* The command to remove the key from `/etc/apt/trusted.gpg` and `/etc/apt/trusted.gpg.d/` is something like
    10 
    1111{{{
    1212#!sh
    13 sudo apt-key del $(apt-key finger | grep -B1  "<josm-dev@openstreetmap.org>"| sed '$d' | cut -b 48-51,53-57)
     13sudo apt-key del $(apt-key list | grep -B1  "<josm-dev@openstreetmap.org>" | sed '$d' | cut -b 48-51,53-57)
    1414}}}
     15* the key should be added to a local directory
     16{{{
     17#!sh
     18sudo mkdir /usr/local/share/keyrings
     19wget -q https://josm.openstreetmap.de/josm-apt.key -O- | sudo gpg --dearmor > /usr/local/share/keyrings/josm.gpg
     20}}}
     21* the path to the gpg key file needs to be added to the source.list entry:
     22{{{
     23#!sh
     24sudo echo deb [signed-by=/usr/local/share/keyrings/josm.gpg] https://josm.openstreetmap.de/apt $(lsb_release -sc) universe | sudo tee /etc/apt/sources.list.d/josm.list > /dev/null
     25}}}