Page 1 of 1

[SOLVED] Install gedit, medium without key error message

PostPosted: Mar 23rd, '17, 20:30
by hankivy
I tried to install gedit on my Mageia 5 system. The result was a warning / error message, "Medium without key".
Do you have any advice on my issues? :?:
Both the MCC software install and following CLI install got the same messages.
Here is the install attempt on the command line.
[hank@HIvyTower ~]$ sudo urpmi gedit
To satisfy dependencies, the following packages are going to be installed:
Package Version Release Arch
(medium "local_rpms")
gedit 3.14.3 1.mga5 x86_64
lib64peas-gtk-gir1.0 1.12.1 3.mga5 x86_64
13MB of additional disk space will be used.
2.2MB of packages will be retrieved.
Proceed with the installation of the 2 packages? (Y/n) y


The following packages have bad signatures:
/bulk/RPMS/gedit-3.14.3-1.mga5.x86_64.rpm: Medium without key (OK (RSA/SHA1, Wed 04 Feb 2015 09:29:15 AM CST, Key ID b742fa8b80420f66))
/bulk/RPMS/lib64peas-gtk-gir1.0-1.12.1-3.mga5.x86_64.rpm: Medium without key (OK (RSA/SHA1, Thu 16 Oct 2014 06:43:53 PM CDT, Key ID b742fa8b80420f66))
Do you want to continue installation ? (y/N) n
[hank@HIvyTower ~]$

Re: Install gedit, medium without key error message

PostPosted: Mar 24th, '17, 00:40
by doktor5000
This is pretty self-explanatory.
hankivy wrote:(medium "local_rpms")
[...]
The following packages have bad signatures:
/bulk/RPMS/gedit-3.14.3-1.mga5.x86_64.rpm: Medium without key (OK (RSA/SHA1, Wed 04 Feb 2015 09:29:15 AM CST, Key ID b742fa8b80420f66))
/bulk/RPMS/lib64peas-gtk-gir1.0-1.12.1-3.mga5.x86_64.rpm: Medium without key (OK (RSA/SHA1, Thu 16 Oct 2014 06:43:53 PM CDT, Key ID b742fa8b80420f66))

urpmi expects signed packages, if you don't want to sign your locally built packages, then you have to disable key checking for that repo.
Not sure if you can disable key checking via MCC => Manage Software => Configure Media => Options => Configure Keys
Maybe it's already sufficient if you use
Code: Select all
urpmi --no-verify-rpm gedit
or you may need to add no-verify-rpm as option in /etc/urpmi/urpmi.cfg for your local repo.

Re: Install gedit, medium without key error message

PostPosted: Mar 24th, '17, 20:19
by hankivy
My apologies. You are correct. I shot myself in my systems foot. :oops:

I had copied the Mageia 5 RPMs from a release DVD to my hard drive, and added it as another software medium in "/bulk/..." on my hard drive. It did not have the signatures with it.

My solution was to disable the medium in the "Configure media sources for install and update" window in the Mageia Control Center.

Thank you for your usual professional skill, and courtesy.

I am good to go. :D