furlongm / patchman

Patchman is a Linux Patch Status Monitoring System
http://patchman.openbytes.ie
GNU General Public License v3.0
362 stars 78 forks source link

error installing patchman client #373

Closed razaahmed closed 2 years ago

razaahmed commented 2 years ago

I am getting the following error when installing patchman client. looks like repo source has been changed. I am trying to install it on 20.04.3 LTS (Focal Fossa)"

root@test-server:/etc/apt/sources.list.d# apt-key adv --keyserver keyserver.ubuntu.com --recv-keys 0412F522 Executing: /tmp/apt-key-gpghome.XmJld3Ecae/gpg.1.sh --keyserver keyserver.ubuntu.com --recv-keys 0412F522 gpg: key D30FB02B0412F522: "Marcus Furlong furlongm@gmail.com" not changed gpg: Total number processed: 1 gpg: unchanged: 1 root@lac1-srv-utl01:/etc/apt/sources.list.d# echo "deb https://repo.openbytes.ie/patchman/debian bullseye main" > /etc/apt/sources.list.d/patchman.list root@lac1-srv-utl01:/etc/apt/sources.list.d# apt update Hit:1 http://archive.ubuntu.com/ubuntu focal InRelease Hit:2 http://archive.ubuntu.com/ubuntu focal-updates InRelease Ign:3 https://repo.openbytes.ie/patchman/debian bullseye InRelease Hit:4 http://archive.ubuntu.com/ubuntu focal-backports InRelease Hit:5 http://archive.ubuntu.com/ubuntu focal-security InRelease Err:6 https://repo.openbytes.ie/patchman/debian bullseye Release Certificate verification failed: The certificate is NOT trusted. The certificate issuer is unknown. Could not handshake: Error in the certificate verification. [IP: xxx.xx.xx.xx.xx 443] Reading package lists... Done E: The repository 'https://repo.openbytes.ie/patchman/debian bullseye Release' does not have a Release file. N: Updating from such a repository can't be done securely, and is therefore disabled by default. N: See apt-secure(8) manpage for repository creation and user configuration details. root@testserver:/etc/apt/sources.list.d# apt -y install patchman-client Reading package lists... Done Building dependency tree Reading state information... Done E: Unable to locate package patchman-client

razaahmed commented 2 years ago

the issue is related to corporate proxy

adding the following fixes the issue

touch /etc/apt/apt.conf.d/99verify-peer.conf \ && echo >>/etc/apt/apt.conf.d/99verify-peer.conf "Acquire { https::Verify-Peer false }"