瀏覽代碼

Fix docs

master
Ray Burgemeestre 10 月之前
父節點
當前提交
5e923b74dc
共有 1 個檔案被更改,包括 18 行新增2 行删除
  1. +18
    -2
      apt-publisher/README

+ 18
- 2
apt-publisher/README 查看文件

First did instructions in --> INIT.TXT First did instructions in --> INIT.TXT


THEN, this is new:

gpg --output public.pgp --export 83345E54

// optional I guess; gpg --keyring ./public.pgp --no-default-keyring --export -a > public.asc

we need that public.pgp file!! let's upload it to somewhere, such as:

https://cppse.nl/public.pgp !!


Then make sure you have an "empty" repo. Then make sure you have an "empty" repo.


reprepro -b /repo remove bionic whatever # if needed reprepro -b /repo remove bionic whatever # if needed
Usage after all this: Usage after all this:


# install key # install key
sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys 5CE16B7B
## THIS NO LONGER WORKS sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys 5CE16B7B


# install repo # install repo
sudo add-apt-repository "deb https://cppse.nl/repo/ $(lsb_release -cs) main"
## THIS NO LONGER WORKS sudo add-apt-repository "deb https://cppse.nl/repo/ $(lsb_release -cs) main"

# NEW APPROACH:
curl -qs https://cppse.nl/public.pgp | sudo tee /etc/apt/keyrings/public.pgp
echo "deb [arch=amd64 signed-by=/etc/apt/keyrings/public.pgp] https://cppse.nl/repo/ $(lsb_release -cs) main" | sudo tee -a /etc/apt/sources.list



# enjoy # enjoy
sudo apt-get install whatever sudo apt-get install whatever

Loading…
取消
儲存