Package bahmni-certs-1.0-36.noarch.rpm is not signed

Hi, I’m trying to install Bahmni in a machine with a fresh installed CentOS 6.6. Everything works until the scripts reachs the Bahmni-certs installation, it throws a message indicating that the rpm is not signed and the installation finishes and doesn’t work.

I have tryed the command yum install bahmni-certs but I have the same result.

How can I avoid this error?

Thanks in advance for any help

This is a copy of the errors in my console:


Dependencies Resolved

================================================================================ Package Arch Version Repository Size

Installing: bahmni-certs noarch 1.0-36 bintray–bahmni-rpm 6.3 k

Transaction Summary

Install 1 Package(s)

Total download size: 6.3 k Installed size: 8.4 k Downloading Packages: bahmni-certs-1.0-36.noarch.rpm | 6.3 kB 00:00

Package bahmni-certs-1.0-36.noarch.rpm is not signed error reading information on service openmrs: No such file or directory error reading information on service openerp: No such file or directory error reading information on service bahmni-lab: No such file or directory error reading information on service bahmni-erp-connect: No such file or directory error reading information on service bahmni-reports: No such file or directory

Hi, We never faced this issue. Can you check the output of cat /etc/yum.repos.d/bahmni.repo. It must be because if the above file has gpgcheck=1 in it. If it is, change it to gpgcheck=0.

@aj.jaswanth Hi i’m also facing same issue check below error, I have checked in ‘/etc/yum.repos.d’ path i found one repo file name is —> bintray-bahmni-rpm.repo and its content check Repo details below, Kindly help to overcome this issues

------------Error Package bahmni-certs-1.0-36.noarch.rpm is not signed error reading information on service openmrs: No such file or directory error reading information on service openerp: No such file or directory error reading information on service bahmni-lab: No such file or directory error reading information on service bahmni-erp-connect: No such file or directory error reading information on service bahmni-reports: No such file or directory

------Repo details [root@localhost yum.repos.d]# cat bintray-bahmni-rpm.repo #bintray–bahmni-rpm - packages by from Bintray [bintray–bahmni-rpm] name=bintray–bahmni-rpm baseurl=http://dl.bintray.com/bahmni/rpm repo_gpgcheck=0 enabled=1

Thanks! Changing gpgcheck to 0 made the magic! Now finally I’ll be testing Bahmni! Thanks again for your help. Regards, German

Hi @german2209,

It is good that your issue is solved. Just for additional information can you send the output of cat /etc/yum.conf. Just to understand why the problem occurred.

Thanks,

Here is the output:

[root@vmi61623 ~]# cat /etc/yum.conf
[main]
cachedir=/var/cache/yum/$basearch/$releasever
keepcache=0
debuglevel=2
logfile=/var/log/yum.log
exactarch=1
obsoletes=1
gpgcheck=0
plugins=1
installonly_limit=5
bugtracker_url=
http://bugs.centos.org/set_project.php?project_id=19&ref=http://bugs.centos.org/bug_report_page.php?category=yum
distroverpkg=centos-release

#  This is the default, if you make this bigger yum won't see if the metadata
# is newer on the remote and so you'll "gain" the bandwidth of not having to
# download the new metadata and "pay" for it by yum not having correct
# information.
#  It is esp. important, to have correct metadata, for distributions like
# Fedora which don't keep old packages around. If you don't like this checking
# interupting your command line usage, it's much better to have something
# manually check the metadata once an hour (yum-updatesd will do this).
# metadata_expire=90m

# PUT YOUR REPOS HERE OR IN separate files named file.repo
# in /etc/yum.repos.d
[root@vmi61623 ~]#

Hi Muneer, you have to change the configuration in the file /etc/yum.conf as follows:

[main] cachedir=/var/cache/yum/$basearch/$releasever keepcache=0 debuglevel=2 logfile=/var/log/yum.log exactarch=1 obsoletes=1 gpgcheck=0 plugins=1 installonly_limit=5 bugtracker_url= http://bugs.centos.org/set_project.php?project_id=19&ref=http://$ distroverpkg=centos-release

And /etc/yum.conf/yum.repos.d/bintray-bahmni-rpm.repo must be like this:

#bintray–bahmni-rpm - packages by from Bintray [bintray–bahmni-rpm] name=bintray–bahmni-rpm baseurl=http://dl.bintray.com/bahmni/rpm repo_gpgcheck=0 enabled=1