The following error occurs while installing Trial CDP Private Cloud Base
gpg: can't open '/usr/share/doc/cloudera-manager-repository/cloudera-cm5.key': No such file or directory
dpkg: error processing package cloudera-manager-repository (--install):
It is an ubuntu 20.4 environment and running inside Docker.
Below is the full error log.
------------------------------------------------
(Reading database ... 7900 files and directories currently installed.)
Preparing to unpack .../cloudera-manager-repository_7.4.4_all.deb ...
Warning: The prerm maintainerscript of the package cloudera-manager-repository
Warning: seems to use apt-key (provided by apt) without depending on gnupg or gnupg2.
Warning: This will BREAK in the future and should be fixed by the package maintainer(s).
Note: Check first if apt-key functionality is needed at all - it probably isn't!
OK
Unpacking cloudera-manager-repository (7.4.4) over (7.4.4) ...
Setting up cloudera-manager-repository (7.4.4) ...
Warning: The postinst maintainerscript of the package cloudera-manager-repository
Warning: seems to use apt-key (provided by apt) without depending on gnupg or gnupg2.
Warning: This will BREAK in the future and should be fixed by the package maintainer(s).
Note: Check first if apt-key functionality is needed at all - it probably isn't!
Warning: apt-key should not be used in scripts (called from postinst maintainerscript of the package cloudera-manager-repository)
gpg: can't open '/usr/share/doc/cloudera-manager-repository/cloudera-cm5.key': No such file or directory
dpkg: error processing package cloudera-manager-repository (--install):
installed cloudera-manager-repository package post-installation script subprocess returned error exit status 2
Errors were encountered while processing:
cloudera-manager-repository
cat: for: No such file or directory
cat: details: No such file or directory