Fedora Linux Support Community & Resources Center

Go Back   FedoraForum.org > Fedora 17/18 > Using Fedora
FedoraForum Search

Forgot Password? Join Us!

Using Fedora General support for current versions. Ask questions about Fedora and it's software that do not belong in any other forum.

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 16th August 2010, 10:10 PM
blnlx's Avatar
blnlx Offline
Registered User
 
Join Date: Jan 2010
Location: The Netherlands
Age: 41
Posts: 100
linuxfedorafirefox
Question How to sign a package when installing with yum

When I use YUM to install ICAClient it ends with the following message "Package ICAClient-11.100-1.i386.rpm is not signed" (see the code below). However, when using browser (Nautilus) to start installation of the same ICAClient-11.100-1.i386.rpm it completes with success (see the image below).

This happens when installing with YUM from the CLI:
Code:
[root@nc6000 boris]# yum install /mnt/temp/DAT/software/linux/INSTALL/ICA/ICAClient-11.100-1.i386.rpm 
Loaded plugins: downloadonly, fastestmirror, presto, refresh-packagekit, remove-with-leaves, security, show-leaves, verify
Loading mirror speeds from cached hostfile
 * fedora: mirror.leaseweb.com
 * rpmfusion-free: mirror01.th.ifl.net
 * rpmfusion-free-updates: mirror01.th.ifl.net
 * rpmfusion-nonfree: mirror01.th.ifl.net
 * rpmfusion-nonfree-updates: mirror01.th.ifl.net
 * updates: mirror.leaseweb.com
Setting up Install Process
Examining /mnt/temp/DAT/software/linux/INSTALL/ICA/ICAClient-11.100-1.i386.rpm: ICAClient-11.100-1.i386
Marking /mnt/temp/DAT/software/linux/INSTALL/ICA/ICAClient-11.100-1.i386.rpm to be installed
Resolving Dependencies
--> Running transaction check
---> Package ICAClient.i386 0:11.100-1 set to be installed
--> Processing Dependency: libXaw.so.7 for package: ICAClient-11.100-1.i386
--> Processing Dependency: libXm.so.4 for package: ICAClient-11.100-1.i386
--> Running transaction check
---> Package libXaw.i686 0:1.0.6-4.fc12 set to be installed
---> Package openmotif.i686 0:2.3.3-1.fc13 set to be installed
--> Finished Dependency Resolution

Dependencies Resolved

==========================================================================================================================
 Package                  Arch                Version                       Repository                               Size
==========================================================================================================================
Installing:
 ICAClient                i386                11.100-1                      /ICAClient-11.100-1.i386                6.6 M
Installing for dependencies:
 libXaw                   i686                1.0.6-4.fc12                  fedora                                  169 k
 openmotif                i686                2.3.3-1.fc13                  rpmfusion-nonfree                       1.2 M

Transaction Summary
==========================================================================================================================
Install       3 Package(s)

Total size: 7.9 M
Total download size: 1.4 M
Installed size: 10 M
Is this ok [y/N]: y
Downloading Packages:
Setting up and reading Presto delta metadata
Processing delta metadata
Package(s) data still to download: 1.4 M
(1/2): libXaw-1.0.6-4.fc12.i686.rpm                                                                | 169 kB     00:00     
(2/2): openmotif-2.3.3-1.fc13.i686.rpm                                                             | 1.2 MB     00:03     
--------------------------------------------------------------------------------------------------------------------------
Total                                                                                     365 kB/s | 1.4 MB     00:03     


Package ICAClient-11.100-1.i386.rpm is not signed
[root@nc6000 boris]#
This is the result when installing from the file browser:


Can someone explain to me what is happening here?
I prefer using CLI when installing packages. Which options can be use to sign a package during installation with YUM?
__________________
Fedora17.GNOME@Dell_Latitude_E6410
Fedora14.GNOME@HP_Compaq_DC7100
Reply With Quote
  #2  
Old 16th August 2010, 10:31 PM
leigh123linux's Avatar
leigh123linux Offline
Retired Administrator
 
Join Date: Oct 2006
Posts: 21,509
linuxfedorafirefox
Re: How to sign a package when installing with yum

Override it

Code:
yum install --nogpgcheck /mnt/temp/DAT/software/linux/INSTALL/ICA/ICAClient-11.100-1.i386.rpm
Reply With Quote
  #3  
Old 17th August 2010, 12:25 PM
blnlx's Avatar
blnlx Offline
Registered User
 
Join Date: Jan 2010
Location: The Netherlands
Age: 41
Posts: 100
linuxfedorafirefox
Thumbs up Re: How to sign a package when installing with yum

It works. This is exactly what I was looking for.
Thanks a lot!
__________________
Fedora17.GNOME@Dell_Latitude_E6410
Fedora14.GNOME@HP_Compaq_DC7100
Reply With Quote
  #4  
Old 17th August 2010, 07:34 PM
assen Offline
Registered User
 
Join Date: Oct 2008
Posts: 492
linuxfedorafirefox
Re: How to sign a package when installing with yum

Hi,

An RPM package can be signed (i.e. have the digital signature of its builder) or not signed. By default, on Fedora yum will refuse to install a package which is not signed - that's why you have to override it with "--nogpgcheck".

Some other applications can deal with RPM packages without calling yum, so they can install any package without complaining if it's not signed.

WWell,
Reply With Quote
  #5  
Old 22nd August 2010, 01:32 PM
blnlx's Avatar
blnlx Offline
Registered User
 
Join Date: Jan 2010
Location: The Netherlands
Age: 41
Posts: 100
linuxfedorafirefox
Re: How to sign a package when installing with yum

Thank you for the explanation.
__________________
Fedora17.GNOME@Dell_Latitude_E6410
Fedora14.GNOME@HP_Compaq_DC7100
Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
installing gsl package asadmehmud EOL (End Of Life) Versions 6 16th July 2010 09:02 PM
Installing XEN package TenaciousG Installation and Live Media 0 21st September 2007 03:15 AM
installing a package ekdya Installation and Live Media 1 22nd September 2006 06:05 AM


Current GMT-time: 21:58 (Monday, 20-05-2013)

TopSubscribe to XML RSS for all Threads in all ForumsFedoraForumDotOrg Archive
logo

All trademarks, and forum posts in this site are property of their respective owner(s).
FedoraForum.org is privately owned and is not directly sponsored by the Fedora Project or Red Hat, Inc.

Privacy Policy | Term of Use | Posting Guidelines | Archive | Contact Us | Founding Members

Powered by vBulletin® Copyright ©2000 - 2012, vBulletin Solutions, Inc.

FedoraForum is Powered by RedHat