apt returns msg: No package matching...

20 views
Skip to first unread message

Todd Sampson

unread,
Apr 1, 2014, 4:15:04 PM4/1/14
to ansible...@googlegroups.com
The apt module returns:

msg: No package matching 'nypa-comtrade-mod' is available

when I try to install a .deb package that I made.  Here's the playbook:

---
- hosts: server1
  sudo: True
  user: dfr

  remote_user: dfr
  tasks:
  - name: install nypa-comtrade-mod
    apt: update_cache=yes pkg=nypa-comtrade-mod state=installed

If I do the install directly on the managed host, the install works but it does generate this message:

WARNING: The following packages cannot be authenticated!
  nypa-comtrade-mod
Install these packages without verification [y/N]?

My question is, is this most likely causing my error?  If so, the error message is confusing because the package is indeed available.

Nothing gets logged to: /var/log/apt/history.log when I try to install my package.  Normal Ubuntu packages work correctly.

-vvv turns on debug info concerning the ssh authentication and that seems to be working.

Any hints to help me debug this would be appreciated!
Reply all
Reply to author
Forward
0 new messages