This discussion has been locked. The information referenced herein may be inaccurate due to age, software updates, or external references.
You can no longer post new replies to this discussion. If you have a similar question you can start a new discussion in this forum.

Linux SAM Apt Repo

FormerMember
FormerMember

Seeing this following error which is breaking Chef automation:

root@pncsolarvd10:/etc/apt/sources.list.d# apt-get install swiagent

Reading package lists... Done

Building dependency tree      

Reading state information... Done

The following packages were automatically installed and are no longer required:

  bc git git-core git-man libarchive13 libconfig-tiny-perl liberror-perl

  libgssglue1 libldb1 liblzo2-2 libmath-calc-units-perl

  libmodule-implementation-perl libmodule-runtime-perl libnagios-plugin-perl

  libnet-snmp-perl libnettle4 libntdb1 libparams-classify-perl

  libparams-validate-perl libsmbclient libsnmp-base libsnmp30 libtalloc2

  libtevent0 libtirpc1 libtry-tiny-perl libwbclient0 nagios-nrpe-server

  nagios-plugins nagios-plugins-basic nagios-plugins-common

  nagios-plugins-standard nagios-snmp-plugins python-crypto python-ldb

  python-ntdb python-samba python-talloc python-tdb rpcbind samba-common

  samba-common-bin samba-libs smbclient snmp

Use 'apt-get autoremove' to remove them.

The following NEW packages will be installed:

  swiagent

0 upgraded, 1 newly installed, 0 to remove and 66 not upgraded.

Need to get 10.6 MB of archives.

After this operation, 0 B of additional disk space will be used.

WARNING: The following packages cannot be authenticated!

  swiagent

Install these packages without verification? [y/N] n

E: Some packages could not be authenticated

root@pncsolarvd10:/etc/apt/sources.list.d#

Any idea why this is flagged as untrusted?

  • FormerMember
    0 FormerMember

    I just looked over the docs and it doesn't seem like the standard installer directions provide the APT signing key used:

    bash -c 'D=ubuntu-14;P=/Orion/AgentManagement/LinuxPackageRepository.ashx?path=; dt(){ DTA=(wget curl);A=(--tries=1\ --no-check-certificate\ --read-timeout=30\ -O --insecure\ --retry\ 1\ -o); for((i=0;i<${#DTA[@]};i++));do which ${DTA[$i]}&>/dev/null&&export DT="${DTA[$i]} ${A[$i]}"&&return;done;>&2 echo "Cannot find any download tool (${DTA[*]}). Alternative URLs cannot be checked so all of them will be left enabled.";export DT=true;};dt;x(){ U=(http://10.x.x.x);for u in ${U[*]};do >&2 echo -n "Checking $u "; if ${DT} /dev/null $u/ &>/dev/null;then >&2 echo "O.K."; else echo -n "# "; >&2 echo "unreachable";fi;echo "deb ${u}${P} ${D} swiagent";done;};export X=$(x);if [ -z "$X" ]; then echo Cannot find accessible URL; exit 1; fi; echo "URL check finished, installing repository. You may be prompted for root password."; su -c "echo \"$X\" > /etc/apt/sources.list.d/swiagent-${D}.list; echo \"Repository for SolarWinds agent was added. To install agent switch to root and use following commands:\"; echo \"  apt-get update; apt-get install swiagent\""'

    Is that signing public key available somewhere?