# ./hooks/install
dpkg-query: package 'python3-pip' is not installed and no information is available
Use dpkg --info (= dpkg-deb --info) to examine archive files,
and dpkg --contents (= dpkg-deb --contents) to list their contents.
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Unable to locate package python3-pip
Also added charm-rabbitmq- server, where this error is more clear. Rabbitmq-server fails on: https:/ /github. com/openstack/ charm-rabbitmq- server/ blob/master/ hooks/install# L9 because it runs a "dpkg" command before a successful execution of "apt update" on the container. Install eventually fails with:
# ./hooks/install
dpkg-query: package 'python3-pip' is not installed and no information is available
Use dpkg --info (= dpkg-deb --info) to examine archive files,
and dpkg --contents (= dpkg-deb --contents) to list their contents.
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Unable to locate package python3-pip